[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#394301: make-live: Problems with multiple initrd images

Package: live-package
Version: 0.99.10-1
Severity: important

When somehow there are multiple initrd images generated, in particular when
update-initramfs decided that a backup should be made, the command to move the
image into the isolinux directory fails.  The command is in
/usr/share/make-live/scripts/21image.sh, lines 224, 228, 237 and 240 (for
several situations).  The lines all look like this one:

mv "${LIVE_CHROOT}"/boot/initrd.img-* "${LIVE_ROOT}"/binary/isolinux/initrd.gz

The problem is that when there is more than one file which matches the
pattern, mv gets more than two arguments and wants the last one to be a
directory.  Obviously it isn't, so it breaks with a "not a directory" error.

I've seen this happen when updating the initrd from my hook script (creating a
backup).  The obvious workaround is to remove the backup.  The reason I've set
the severity to important is that it also happened when trying to build an
etch image (flavour minimal).  In that case I didn't do any related things in
the hook script.  Making an unstable image instead solved the problem.


I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20061020/3f53d5d7/attachment.pgp

Reply to: