Yet another lts-foo FLAVOUR cut

This commit is contained in:
Adam Conrad 2015-02-02 06:21:03 -07:00
parent 90df19ceae
commit 638fa1b0b9
2 changed files with 2 additions and 1 deletions

2
debian/changelog vendored
View File

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

View File

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