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

Please unblock live-package



Hi,

live-package in etch has a serious bug: if the initrd.img is rebuild
during image generation in the chroot, it fails to copy it because it
cannot handle more than one initrd.img (this is due to 100% crap code
and is fixed by a completely new rewrite of the whole thing).

However, for etch, there is a simple workaround to just remove those
backup files, which I applied on 0.99.14-2. Please unblock it, debdiff
is attached.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/
diff -u live-package-0.99.14/debian/changelog live-package-0.99.14/debian/changelog
--- live-package-0.99.14/debian/changelog
+++ live-package-0.99.14/debian/changelog
@@ -1,3 +1,9 @@
+live-package (0.99.14-2) unstable; urgency=high
+
+  * Adding workaround for initrd backup files (Closes: #404314).
+
+ -- Daniel Baumann <daniel@debian.org>  Thu,  4 Jan 2007 20:52:00 +0100
+
 live-package (0.99.14-1) unstable; urgency=medium
 
   * New upstream release:
only in patch2:
unchanged:
--- live-package-0.99.14.orig/src/scripts/21image.sh
+++ live-package-0.99.14/src/scripts/21image.sh
@@ -215,6 +215,9 @@
 
 Linuximage ()
 {
+	# Removing initrd backup files
+	rm -f "${LIVE_CHROOT}"/boot/initrd*bak*
+
 	case "${1}" in
 		iso)
 			# Copy linux-image

Reply to: