Package: live-package Version: 0.99.14-1 When installing some extra packages, it can happen that initrd.img is generated several times. When that happens, a backup file is created. This isn't a problem in itself, but it breaks the install command
mv "${LIVE_CHROOT}"/boot/initrd.img-* "${LIVE_ROOT}"/binary/isolinux/initrd.gz because the first expression matches to multiple files, which results in an "is not a directory" error. The attached patch fixes the problem by removing any existing backups before doing the move. Thanks, Bas -- 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
diff -ur live-package.orig/src/scripts/21image.sh live-package-0.99.14/src/scripts/21image.sh --- live-package.orig/src/scripts/21image.sh 2006-11-05 17:10:26.000000000 +0100 +++ live-package-0.99.14/src/scripts/21image.sh 2006-12-23 12:17:44.000000000 +0100 @@ -215,6 +215,10 @@ Linuximage () { + if [ "`echo "${LIVE_CHROOT}"/boot/initrd*bak*`" != "${LIVE_CHROOT}/boot/initrd*bak*" ] + then + rm "${LIVE_CHROOT}"/boot/initrd*bak* + fi case "${1}" in iso) # Copy linux-image
signature.asc
Description: Digital signature