[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. f3d478e5f291baaf9e84d1982ca5e2e6b353a232
Andreas Beckmann
debian at abeckmann.de
Sun Apr 1 08:47:48 UTC 2012
The following commit has been merged in the piatti.git branch:
commit 3696cc029cfb74458824d41da66dd337795b10b0
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Mon Feb 20 01:23:27 2012 +0100
enable installation of lenny kernel in chroot
The lenny kernel needs some preseeding to allow installation
without bootloader in a chroot ...
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/org/piuparts.debian.org/etc/scripts/pre_install_exceptions b/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
index b669d0e..a1d772a 100755
--- a/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
+++ b/org/piuparts.debian.org/etc/scripts/pre_install_exceptions
@@ -58,5 +58,14 @@ case $PIUPARTS_OBJECTS in
;;
esac
+# allow lenny kernel image installation in chroot
+if [ "$PIUPARTS_DISTRIBUTION" = "lenny" ]; then
+ for flavor in amd64 openvz-amd64 vserver-amd64 xen-amd64 486 686 686-bigmem openvz-686 vserver-686 vserver-686-bigmem xen-686
+ do
+ echo "linux-image-2.6.26-2-$flavor linux-image-2.6.26-2-$flavor/preinst/bootloader-initrd-2.6.26-2-$flavor boolean false"
+ echo "linux-image-2.6.26-2-$flavor linux-image-2.6.26-2-$flavor/preinst/lilo-initrd-2.6.26-2-$flavor boolean false"
+ done | debconf-set-selections
+fi
+
exit 0
--
piuparts git repository
More information about the Piuparts-commits
mailing list