Yet another lts-foo FLAVOUR cut

ubuntu/trusty
Adam Conrad 10 years ago
parent 90df19ceae
commit 638fa1b0b9

2
debian/changelog vendored

@ -1,4 +1,4 @@
livecd-rootfs (2.208.2) UNRELEASED; urgency=medium livecd-rootfs (2.208.2~ppa3) trusty; urgency=medium
[ Colin Watson ] [ Colin Watson ]
* If EXTRA_PPAS is set in the environment (as a space-separated sequence * If EXTRA_PPAS is set in the environment (as a space-separated sequence

@ -358,6 +358,7 @@ done
NUMFLAVOURS="$(set -- $LB_LINUX_FLAVOURS; echo $#)" NUMFLAVOURS="$(set -- $LB_LINUX_FLAVOURS; echo $#)"
if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then
# only one kernel flavour # only one kernel flavour
FLAVOUR=${LB_LINUX_FLAVOURS%%-lts-*}
if [ -e "binary/$INITFS/vmlinuz" ]; then if [ -e "binary/$INITFS/vmlinuz" ]; then
ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel" ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel"
else else

Loading…
Cancel
Save