[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 0.43-52-gfb4c1ed
Andreas Beckmann
debian at abeckmann.de
Thu May 17 18:53:17 UTC 2012
The following commit has been merged in the master 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
--
piatti.debian.org configuration files
More information about the Piuparts-commits
mailing list