[neon/neon/livecd-rootfs/Neon/release] /: Manually blacklist DKMS modules for Ubuntu Studio builds (LP: #1983521).

Simon Quigley null at kde.org
Tue Aug 9 15:48:28 BST 2022


Git commit ce9549372aaf041a663673caf45f4dff10158116 by Simon Quigley.
Committed on 04/08/2022 at 00:15.
Pushed by jriddell into branch 'Neon/release'.

Manually blacklist DKMS modules for Ubuntu Studio builds (LP: #1983521).

M  +6    -0    debian/changelog
M  +12   -0    live-build/auto/config

https://invent.kde.org/neon/neon/livecd-rootfs/commit/ce9549372aaf041a663673caf45f4dff10158116

diff --git a/debian/changelog b/debian/changelog
index 138a94f3..996a5d97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+livecd-rootfs (2.765.8) jammy; urgency=medium
+
+  * Manually blacklist DKMS modules for Ubuntu Studio builds (LP: #1983521).
+
+ -- Simon Quigley <tsimonq2 at ubuntu.com>  Wed, 03 Aug 2022 18:46:23 -0500
+
 livecd-rootfs (2.765.7) jammy; urgency=medium
 
   * Install wpasupplicant by default as for now, most of the RISC-V boards
diff --git a/live-build/auto/config b/live-build/auto/config
index 862bb55c..8e594f9c 100755
--- a/live-build/auto/config
+++ b/live-build/auto/config
@@ -1297,6 +1297,18 @@ 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
+fi
+chmod +x config/hooks/100-ubuntustudio-dkms.chroot
+
 if $BINARY_REMOVE_LINUX; then
 	cat > config/binary_rootfs/excludes << EOF
 boot/vmlinu?-*



More information about the Neon-commits mailing list