Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error while rebuilding the ISO #106

Closed
elacheche opened this issue Jul 18, 2015 · 2 comments
Closed

Error while rebuilding the ISO #106

elacheche opened this issue Jul 18, 2015 · 2 comments

Comments

@elacheche
Copy link

When I use sudo customizer -r I get the following output:

* Rebuilding ISO...
  => Checking
  => Doing sanity checks
  => Gathering information
  => Cleaning up
  => Updating initramfs
update-initramfs: Generating /boot/initrd.img-3.13.0-58-generic
  => Copying boot files
  => Extracting casper UUID
gzip: d.img-3.13.0-58-generic.gz: No such file or directory
cpio: premature end of archive
* SUBPROCESS: Command '/usr/sbin/chroot /home/anis/Sabily/Customizer/workDir/FileSystem zcat d.img-3.13.0-58-generic |  cpio --quiet -id conf/uuid.conf' returned non-zero exit status 1

Why it's looking for the wrong file?

@fluxer
Copy link
Collaborator

fluxer commented Jul 20, 2015

Because str.lstrip("") behaves like like str.replace("", "") except on per-character bases rather than just replacing the whole string, see https://docs.python.org/2/library/stdtypes.html#str.lstrip for more details along with the commit reference bellow.

fluxer pushed a commit that referenced this issue Jul 20, 2015
@elacheche
Copy link
Author

Amazing! I was trying to understand that line to fix the problem :) Thank you fix fixing it :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants