mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Another attempt to get images building.
This commit is contained in:
parent
ed89ea74c8
commit
66d8622dc0
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
||||
livecd-rootfs (2.765.49) UNRELEASED; urgency=medium
|
||||
|
||||
* The package-lists for tasks are shell lines, so to remove the unwanted
|
||||
packages, we need to be a bit more creative.
|
||||
* Remove the late hook that was removing v4l2loopback packages - as those
|
||||
are no longer installed in the first place.
|
||||
|
||||
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 10 Sep 2024 12:25:44 +0200
|
||||
|
||||
livecd-rootfs (2.765.48) jammy; urgency=medium
|
||||
|
||||
[ Łukasz 'sil2100' Zemczak ]
|
||||
|
@ -825,9 +825,9 @@ case $PROJECT in
|
||||
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-graphics ubuntustudio-video ubuntustudio-photography
|
||||
# To work around the fact that v4l2loopback-dkms is still pulled in (via tasks) even though no longer present in the seeds
|
||||
# Fixes build failure (LP: #2079803)
|
||||
# We need to do it by hand as we can't use remove_package here
|
||||
sed -i '/v4l2loopback-utils/d' config/package-lists/livecd-rootfs.list.chroot_install
|
||||
sed -i '/v4l2loopback-dkms/d' config/package-lists/livecd-rootfs.list.chroot_install
|
||||
# We need to do it in a very hacky way, as the package-list files contain shell lines to execute to extract the needed
|
||||
# packages. So to filter out the unneeded packages we hack in a sed filter for the respective task.
|
||||
sed -i '/ubuntustudio-video/s/$/ | sed "\/^v4l2loopback-\/d" /' config/package-lists/livecd-rootfs.list.chroot_install
|
||||
COMPONENTS='main restricted universe multiverse'
|
||||
case $ARCH in
|
||||
amd64|i386) KERNEL_FLAVOURS='lowlatency-hwe-22.04' ;;
|
||||
@ -1353,18 +1353,6 @@ exit 0
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ "$PROJECT" = "ubuntustudio-dvd" ]; then
|
||||
cat > config/hooks/100-ubuntustudio-dkms.chroot <<EOF
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
env DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get -y autoremove --purge v4l2loopback-dkms v4l2loopback-utils
|
||||
|
||||
EOF
|
||||
chmod +x config/hooks/100-ubuntustudio-dkms.chroot
|
||||
fi
|
||||
|
||||
if $BINARY_REMOVE_LINUX; then
|
||||
cat > config/binary_rootfs/excludes << EOF
|
||||
boot/vmlinu?-*
|
||||
|
Loading…
x
Reference in New Issue
Block a user