2016-08-22 0:53 GMT+08:00 Aleksey Zolotov <
myx...@gmail.com>:
>
> In my case it's not about free space on disk issue, but issue about source downloading. I've downloaded manifest ok, but "repo sync" stack on few repos. I can see that it have downloaded about 22Gb and most of all downloaded repos are AOSP repos, not x86 part (from sourceforge). I have an "while sync error -> start sync again and again" script and it work few days in a row without success. So I can conclude that source downloading instruction is not correct right now, cause it's doesn't lead to result no matter how long I try.
The instruction is correct.
You just need to be more patient.
Use the command to sync x86 projects only
and don't do parallel sync (-j1):
x86="
build
kernel
art
bionic
bootable/newinstaller
device/generic/common
device/generic/firmware
device/generic/x86
device/generic/x86_64
external/alsa-lib
external/alsa-utils
external/bluetooth/bluez
external/bluetooth/glib
external/bluetooth/sbc
external/busybox
external/drm_gralloc
external/drm_hwcomposer
external/e2fsprogs
external/eject
external/exfat
external/ffmpeg
external/googleanalytics
external/koush/Superuser
external/koush/Widgets
external/libdrm
external/libpciaccess
external/libtruezip
external/llvm
external/mesa
external/ntfs-3g
external/parted
external/s2tc
external/stagefright-plugins
external/toybox
external/v86d
frameworks/av
frameworks/base
frameworks/native
hardware/broadcom/wlan
hardware/gps
hardware/intel/audio_media
hardware/intel/libsensors
hardware/libaudio
hardware/libcamera
hardware/libhardware
hardware/libhardware_legacy
hardware/liblights
hardware/libsensors
hardware/ril
hardware/x86power
packages/apps/Bluetooth
packages/apps/CMFileManager
packages/apps/Eleven
packages/apps/Launcher3
packages/apps/Settings
packages/apps/TSCalibration2
packages/services/Analytics
system/core
system/extras
system/vold"
It just took me less than 6min to complete the sync:
cwhuang@icm05:~/git/marshmallow-x86$ time repo sync -j1 $x86
fatal: read error: Connection reset by peer
fatal: read error: Connection reset by peer
Fetching project platform/art
Fetching projects: 3% (2/60) Fetching project platform/bionic
Fetching projects: 5% (3/60) Fetching project platform/build
Fetching projects: 6% (4/60) Fetching project device/generic/common
Fetching projects: 8% (5/60) Fetching project device/generic/firmware
Fetching projects: 10% (6/60) Fetching project device/generic/x86
Fetching projects: 11% (7/60) Fetching project device/generic/x86_64
Fetching projects: 13% (8/60) Fetching project platform/external/alsa-lib
Fetching projects: 15% (9/60) Fetching project platform/external/alsa-utils
Fetching projects: 16% (10/60) Fetching project
platform/external/bluetooth/bluez
Fetching projects: 18% (11/60) Fetching project
platform/external/bluetooth/glib
Fetching projects: 20% (12/60) Fetching project
platform/external/bluetooth/sbc
Fetching projects: 21% (13/60) Fetching project platform/external/busybox
fatal: read error: Connection reset by peer
Fetching projects: 23% (14/60) Fetching project platform/external/drm_gralloc
Fetching projects: 25% (15/60) Fetching project
platform/external/drm_hwcomposer
Fetching projects: 26% (16/60) Fetching project platform/external/e2fsprogs
fatal: read error: Connection reset by peer
Fetching projects: 28% (17/60) Fetching project platform/external/eject
Fetching projects: 30% (18/60) Fetching project platform/external/exfat
Fetching projects: 31% (19/60) Fetching project platform/external/ffmpeg
Fetching projects: 33% (20/60) Fetching project
platform/external/googleanalytics
From git://
gitscm.sf.net/gitroot/android-x86/platform/external/googleanalytics
+ 7b3ad13...1d27a6e marshmallow-x86 -> x86/marshmallow-x86 (forced update)
Fetching projects: 35% (21/60) Fetching project
platform/external/koush/Superuser
fatal: read error: Connection reset by peer
Fetching projects: 36% (22/60) Fetching project
platform/external/koush/Widgets
Fetching projects: 38% (23/60) Fetching project platform/external/libdrm
From git://
gitscm.sf.net/gitroot/android-x86/platform/external/libdrm
+ 3de6ca2...0a9b7a3 marshmallow-x86 -> x86/marshmallow-x86 (forced update)
Fetching projects: 40% (24/60) Fetching project platform/external/libpciaccess
Fetching projects: 41% (25/60) Fetching project platform/external/libtruezip
Fetching projects: 43% (26/60) Fetching project platform/external/llvm
Fetching projects: 45% (27/60) Fetching project platform/external/mesa
From git://
gitscm.sf.net/gitroot/android-x86/platform/external/mesa
+ d35c093...c3bb2e3 marshmallow-x86 -> x86/marshmallow-x86 (forced update)
Fetching projects: 46% (28/60) Fetching project platform/external/ntfs-3g
Fetching projects: 48% (29/60) Fetching project platform/external/parted
Fetching projects: 50% (30/60) Fetching project platform/external/s2tc
Fetching projects: 51% (31/60) Fetching project
platform/external/stagefright-plugins
Fetching projects: 53% (32/60) Fetching project platform/external/toybox
fatal: read error: Connection reset by peer
Fetching projects: 55% (33/60) Fetching project platform/external/v86d
Fetching projects: 56% (34/60) Fetching project platform/frameworks/av
Fetching projects: 58% (35/60) Fetching project platform/frameworks/base
Fetching projects: 60% (36/60) Fetching project platform/frameworks/native
Fetching projects: 61% (37/60) Fetching project
platform/hardware/broadcom/wlan
Fetching projects: 63% (38/60) Fetching project platform/hardware/gps
Fetching projects: 65% (39/60) Fetching project
platform/hardware/intel/audio_media
Fetching projects: 66% (40/60) Fetching project
platform/hardware/intel/libsensors
Fetching projects: 68% (41/60) Fetching project platform/hardware/libaudio
fatal: read error: Connection reset by peer
Fetching projects: 70% (42/60) Fetching project platform/hardware/libcamera
Fetching projects: 71% (43/60) Fetching project platform/hardware/libhardware
Fetching projects: 73% (44/60) Fetching project
platform/hardware/libhardware_legacy
Fetching projects: 75% (45/60) Fetching project platform/hardware/liblights
Fetching projects: 76% (46/60) Fetching project platform/hardware/libsensors
From git://
gitscm.sf.net/gitroot/android-x86/platform/hardware/libsensors
083a638..ac738e6 marshmallow-x86 -> x86/marshmallow-x86
Fetching projects: 78% (47/60) Fetching project platform/hardware/ril
Fetching projects: 80% (48/60) Fetching project platform/hardware/x86power
Fetching projects: 81% (49/60) Fetching project kernel/common
Fetching projects: 83% (50/60) Fetching project
platform/packages/apps/Bluetooth
Fetching projects: 85% (51/60) Fetching project
platform/packages/apps/CMFileManager
Fetching projects: 86% (52/60) Fetching project platform/packages/apps/Eleven
Fetching projects: 88% (53/60) Fetching project
platform/packages/apps/Launcher3
Fetching projects: 90% (54/60) Fetching project
platform/packages/apps/Settings
Fetching projects: 91% (55/60) Fetching project
platform/packages/apps/TSCalibration2
Fetching projects: 93% (56/60) Fetching project
platform/packages/services/Analytics
Fetching projects: 95% (57/60) Fetching project platform/system/core
Fetching projects: 96% (58/60) Fetching project platform/system/extras
Fetching projects: 98% (59/60) Fetching project platform/system/vold
Fetching projects: 100% (60/60) Fetching project platform/bootable/newinstaller
Fetching projects: 100% (60/60), done.
real 5m44.670s
user 0m1.236s
sys 0m1.383s