[neon/neon/livecd-rootfs/Neon/release] live-build/auto: Introduce unminimize as a package in OCI images (LP: #2078583)

Utkarsh Gupta null at kde.org
Sun Jan 12 06:02:17 GMT 2025


Git commit 6047e223191198173a4e2c0b5fd06a65914aab60 by Utkarsh Gupta.
Committed on 20/11/2024 at 10:13.
Pushed by carlosdem into branch 'Neon/release'.

Introduce unminimize as a package in OCI images (LP: #2078583)

With having unminimize split out from livecd-rootfs, we should
re-introduce it as a package for, at least, Noble so that it's
not seen as a regression. From 24.10 and onward, we're going to
drop it altogether.

M  +12   -1    live-build/auto/config

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

diff --git a/live-build/auto/config b/live-build/auto/config
index 4933d975..1c0234f6 100755
--- a/live-build/auto/config
+++ b/live-build/auto/config
@@ -1082,10 +1082,21 @@ case $PROJECT in
 		esac
 		;;
 
-	ubuntu-base|ubuntu-oci)
+	ubuntu-base)
 		OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
 		;;
 
+	ubuntu-oci)
+		OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
+		if [ "${SUBPROJECT:-}" = minimized ]; then
+			# As unminimize has been spit out from livecd-rootfs into a new
+			# separate pacakge, users have been reporting this as a regression for
+			# Noble. So we'd like to add the unminimize package; cf: LP: #2078583.
+			APT_OPTIONS="${APT_OPTIONS:+$APT_OPTIONS }--no-install-recommends"
+			add_package install unminimize
+		fi
+		;;
+
 	ubuntu-wsl)
 		add_task install minimal ubuntu-wsl
 		OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"



More information about the Neon-commits mailing list