From 89c91c8593b8aba4a727bf7ba303e3d8baa2ee21 Mon Sep 17 00:00:00 2001
From: CloudBuilder <cloud-image-builders@lists.canonical.com>
Date: Mon, 16 Mar 2020 16:18:21 +0000
Subject: [PATCH] Imported 2.655

No reason for CPC update specified.
---
 debian/changelog      | 8 ++++++++
 live-build/auto/build | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7f7ea25f..12684083 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+livecd-rootfs (2.655) focal; urgency=medium
+
+  * minimized: reinstall packages one by one, instead of all of them
+    together, as otherwise apt fails to immediately configure libc6:amd64
+    & libgcc-s1. LP: #1867607
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Mon, 16 Mar 2020 10:42:35 +0000
+
 livecd-rootfs (2.654) focal; urgency=medium
 
   * Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on
diff --git a/live-build/auto/build b/live-build/auto/build
index 1a398e57..2ec77b86 100755
--- a/live-build/auto/build
+++ b/live-build/auto/build
@@ -171,7 +171,7 @@ path-include=/usr/share/doc/*/changelog.Debian.*
 EOF
 
 		# Remove docs installed by bootstrap
-		Chroot chroot dpkg-query -f '${binary:Package}\n' -W | Chroot chroot xargs apt-get install --reinstall
+		Chroot chroot dpkg-query -f '${binary:Package}\n' -W | Chroot chroot xargs -L1 apt-get install --reinstall
 
                 # Add unminimizer script which restores default image behavior
                 mkdir -p chroot/usr/local/sbin