mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-09 09:51:30 +00:00
Hack seeding of linux kernel in ubuntustudio/focal
ubuntustudio-default-settings in focal release has a Recommends to this kernel, which makes it impossible to update the kernel later on, since we would install the -updates and release kernel, which isn't allowed and causes FTBFS. Hack out the focal-release kernel and let the rest of the build process pull in the right one. LP: #1884915
This commit is contained in:
parent
e611dfc1c4
commit
54508e6583
@ -688,6 +688,23 @@ case $PROJECT in
|
|||||||
|
|
||||||
ubuntustudio-dvd)
|
ubuntustudio-dvd)
|
||||||
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-fonts ubuntustudio-graphics ubuntustudio-video ubuntustudio-publishing ubuntustudio-photography
|
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-fonts ubuntustudio-graphics ubuntustudio-video ubuntustudio-publishing ubuntustudio-photography
|
||||||
|
case $SUITE in
|
||||||
|
focal)
|
||||||
|
# ubuntustudio-default-settings in focal
|
||||||
|
# release has a Recommends to this kernel,
|
||||||
|
# which makes it impossible to update the
|
||||||
|
# kernel later on, since we would install the
|
||||||
|
# -updates and release kernel, which isn't
|
||||||
|
# allowed and causes the squashfs to fail to
|
||||||
|
# build. Hack out the focal-release kernel and
|
||||||
|
# let the rest of the build process pull in the
|
||||||
|
# right one. (See right below.)
|
||||||
|
for package in linux-lowlatency linux-image-lowlatency linux-headers-lowlatency linux-image-5.4.0-26-lowlatency linux-headers-5.4.0-26-lowlatency; do
|
||||||
|
sed -i "s/$/ -a --not -XFPackage ${package}/" \
|
||||||
|
"config/package-lists/livecd-rootfs.list.chroot_install"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
COMPONENTS='main restricted universe multiverse'
|
COMPONENTS='main restricted universe multiverse'
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
amd64|i386) KERNEL_FLAVOURS=lowlatency ;;
|
amd64|i386) KERNEL_FLAVOURS=lowlatency ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user