[neon/neon/livecd-rootfs/Neon/release] /: fix: Revert removal of unminimize call in server builds (LP: #2069828)

Philip Roche null at kde.org
Thu Jul 11 11:54:01 BST 2024


Git commit 62a80ac00a30654cf627a21fac6ac275e72b8343 by Philip Roche.
Committed on 24/06/2024 at 16:26.
Pushed by carlosdem into branch 'Neon/release'.

fix: Revert removal of unminimize call in server builds (LP: #2069828)

There was a change made by me in https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466388
as part of LP: #2066905 to remove references to LXD in the unminimize scripts
but I also removed the calls to `unminimize` in error.

This still needs to run but without any references to LXD which no longer
needs to be `unminimized` via snap installation.

(cherry picked from commit f574fc8200d8a4c7837288c5d2aa1e515137bb55)

M  +6    -0    debian/changelog
M  +4    -0    live-build/ubuntu-server/hooks/01-unminimize.chroot_early

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

diff --git a/debian/changelog b/debian/changelog
index 8cf7a408..bdbe1170 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+livecd-rootfs (24.04.73) UNRELEASED; urgency=medium
+
+  * Revert removal of unminimize call in server builds (LP: #2069828)
+
+ -- Philip Roche <phil.roche at canonical.com>  Mon, 24 Jun 2024 14:24:52 +0100
+
 livecd-rootfs (24.04.72) UNRELEASED; urgency=medium
 
   * riscv64: use earlycon=sbi on command line (LP: #2068739)
diff --git a/live-build/ubuntu-server/hooks/01-unminimize.chroot_early b/live-build/ubuntu-server/hooks/01-unminimize.chroot_early
index 6ed92bb7..be786ab8 100755
--- a/live-build/ubuntu-server/hooks/01-unminimize.chroot_early
+++ b/live-build/ubuntu-server/hooks/01-unminimize.chroot_early
@@ -10,6 +10,10 @@ case ${PASS} in
         ;;
 esac
 
+# Run the unminimize script to re-install packages with all dpkg filters removed and install packages
+# removed as part of minimization
+yes | /usr/local/sbin/unminimize
+
 # Fix up missing recommends.  Other non-layered flavors handle this in
 # live-build/auto/build, but we need to do it here.  Also, there are
 # additional recommends missing from server-minimal that wouldn't be



More information about the Neon-commits mailing list