-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image download fails with a EOF error #240
Comments
Workaround: Remove the previously downloaded file from B2G directory: find . -name update-cm-7.1.0-GalaxyS2-signed.zip -ok mv {} \tmp ; |
I tried but cannot reproduce this issue. |
You can uncomment this line to remove the image after extracting. |
You can reproduce the problem by interrupting the wget download process. This can help either due to network failures or lost bits. |
OK, it will be fixed by joneschrisg/android_device_samsung_galaxys2#25 |
The following part of code can re-factored by simplying using 'wget -c' . This enables us to continue partial downloaded files and also check if the images was already downloaded. echo Downloading CyanogenMod image $CM_IMAGE ... |
It looks great with 'wget -c'. Would you send a pull request? |
443 KB/s (23320 bytes in 0.051s)
Pulling "ODEAnim.zip"
2901 KB/s (4305404 bytes in 1.449s)
Downloading CyanogenMod image update-cm-7.1.0-GalaxyS2-signed.zip ...
Image update-cm-7.1.0-GalaxyS2-signed.zip exists, skip downloading
[update-cm-7.1.0-GalaxyS2-signed.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of update-cm-7.1.0-GalaxyS2-signed.zip or
update-cm-7.1.0-GalaxyS2-signed.zip.zip, and cannot find update-cm-7.1.0-GalaxyS2-signed.zip.ZIP, period.
Copying "libaudiopolicy.so"
cp: cannot stat `cm_root/system/lib/libaudiopolicy.so': No such file or directory
OK
The text was updated successfully, but these errors were encountered: