diff --git a/debian/changelog b/debian/changelog index b5754b81..d0ec2696 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +livecd-rootfs (1.114) UNRELEASED; urgency=low + + * make sure STRIP_VMLINUZ=no is set for omap, also change the code to only + use the case statement for matching subarches instead of adding an extra + check. + * fix the comment for STRIP_VMLINUZ to reflect reality. + + -- Oliver Grawert Tue, 20 Apr 2010 13:16:16 +0200 + livecd-rootfs (1.113) lucid; urgency=low * fix typo diff --git a/livecd.sh b/livecd.sh index 11387dc5..4a4b9d1b 100755 --- a/livecd.sh +++ b/livecd.sh @@ -316,6 +316,14 @@ link_in_boot = $link_in_boot mkdir -p ${ROOT}proc mount -tproc none ${ROOT}proc + # this indicates whether or not to keep /boot/vmlinuz; the default is to + # strip it from the livefs as ubiquity >= 1.9.4 copies the kernel from the + # CD root (/casper/vmlinuz) to the target if it doesn't find one on the + # livefs, allowing us to save space; however some subarches use the uImage + # format in casper/ so we would end up with no vmlinuz file in /boot at the + # end. Not stripping it in the first place from /boot saves us from that. + STRIP_VMLINUZ=yes + case $TARGETARCH+$SUBARCH in powerpc+ps3) mkdir -p ${ROOT}spu;; @@ -338,24 +346,16 @@ link_in_boot = $link_in_boot ;; dove) LIST="$LIST linux-dove" + STRIP_VMLINUZ=no ;; omap) LIST="$LIST linux-omap" + STRIP_VMLINUZ=no ;; esac;; *) echo "Unknown architecture: no kernel."; exit 1;; esac - # this indicates whether or not to keep /boot/vmlinuz; the default is to - # strip it from the livefs as ubiquity >= 1.9.4 copies the kernel from the - # CD root (/casper/vmlinuz) to the target if it doesn't find one on the - # livefs, allowing us to save space; however some subarches use the uImage - # format and wouldn't save any space so the stripping doesn't make sense - STRIP_VMLINUZ=yes - if [ "$TARGETARCH" = "armel" ] && [ "$SUBARCH" = "dove" ]; then - STRIP_VMLINUZ=no - fi - for x in $EXCLUDE; do LIST="$(without_package "$x" "$LIST")" done