[neon/neon/livecd-rootfs/Neon/release] /: Backport fix for LP: #1938414

Łukasz 'sil2100' Zemczak null at kde.org
Mon Aug 23 10:20:36 BST 2021


Git commit c3ebdc6f664c1bfa188c89ee5565c80cd4f4ca2c by Łukasz 'sil2100' Zemczak.
Committed on 29/07/2021 at 09:06.
Pushed by jriddell into branch 'Neon/release'.

Backport fix for LP: #1938414

M  +6    -1    debian/changelog
M  +1    -0    live-build/functions

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

diff --git a/debian/changelog b/debian/changelog
index e4817e4a..0f8f157e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,7 +11,12 @@ livecd-rootfs (2.664.25) UNRELEASED; urgency=medium
   * Do not set the password for the installer user via cloud-init as subiquity
     can now do this itself. (LP: #1933523)
 
- -- Brian Murray <brian at ubuntu.com>  Wed, 28 Jul 2021 13:31:19 -0700
+  [ Łukasz 'sil2100' Zemczak ]
+  * Fix sharing of the /dev tree to make sure we can safely umount the chroot
+    when needed. This fixes local non-livefs-builder image builds.
+    (LP: #1938414)
+
+ -- Łukasz 'sil2100' Zemczak <lukasz.zemczak at ubuntu.com>  Thu, 29 Jul 2021 11:05:58 +0200
 
 livecd-rootfs (2.664.24) focal; urgency=medium
 
diff --git a/live-build/functions b/live-build/functions
index 270ed1dc..d79fa3f1 100644
--- a/live-build/functions
+++ b/live-build/functions
@@ -102,6 +102,7 @@ setup_mountpoint() {
     fi
 
     mount --rbind /dev "$mountpoint/dev"
+    mount --make-rslave "$mountpoint/dev"
     mount proc-live -t proc "$mountpoint/proc"
     mount sysfs-live -t sysfs "$mountpoint/sys"
     mount securityfs -t securityfs "$mountpoint/sys/kernel/security"



More information about the Neon-commits mailing list