mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
Although the request flavour to install is oem-20.04, it really is called just oem on disk. Override the flavour name from oem-20.04 to oem when renaming built artefacts. This also means that ubuntu-cdimage needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'.
This commit is contained in:
parent
7520a60019
commit
db0c7d68f2
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
livecd-rootfs (2.640) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Although the request flavour to install is oem-20.04, it really is
|
||||||
|
called just oem on disk. Override the flavour name from oem-20.04 to
|
||||||
|
oem when renaming built artefacts. This also means that ubuntu-cdimage
|
||||||
|
needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'.
|
||||||
|
|
||||||
|
-- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 30 Jan 2020 11:10:37 +0000
|
||||||
|
|
||||||
livecd-rootfs (2.639) focal; urgency=medium
|
livecd-rootfs (2.639) focal; urgency=medium
|
||||||
|
|
||||||
* On s390x subiquity:
|
* On s390x subiquity:
|
||||||
|
@ -819,10 +819,14 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do
|
|||||||
if [ -z "$LB_LINUX_FLAVOURS" ] || [ "$LB_LINUX_FLAVOURS" = "none" ]; then
|
if [ -z "$LB_LINUX_FLAVOURS" ] || [ "$LB_LINUX_FLAVOURS" = "none" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ "$FLAVOUR" = "virtual" ]; then
|
case $FLAVOUR in
|
||||||
# The virtual kernel is named generic in /boot
|
virtual)
|
||||||
FLAVOUR="generic"
|
FLAVOUR="generic"
|
||||||
fi
|
;;
|
||||||
|
oem-*)
|
||||||
|
FLAVOUR="oem"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | (fgrep -v .efi || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
|
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | (fgrep -v .efi || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
|
||||||
if [ -z "$KVERS" ]; then
|
if [ -z "$KVERS" ]; then
|
||||||
if [ -e "binary/$INITFS/vmlinuz" ]; then
|
if [ -e "binary/$INITFS/vmlinuz" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user