From 6047e223191198173a4e2c0b5fd06a65914aab60 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Wed, 20 Nov 2024 15:42:35 +0530 Subject: [PATCH] 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. --- live-build/auto/config | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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"