Backport fix for LP: #1938414

desktop-preinstalled-fixes
Łukasz 'sil2100' Zemczak 3 years ago
parent 6568c5fa29
commit c3ebdc6f66

7
debian/changelog vendored

@ -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 * Do not set the password for the installer user via cloud-init as subiquity
can now do this itself. (LP: #1933523) can now do this itself. (LP: #1933523)
-- Brian Murray <brian@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@ubuntu.com> Thu, 29 Jul 2021 11:05:58 +0200
livecd-rootfs (2.664.24) focal; urgency=medium livecd-rootfs (2.664.24) focal; urgency=medium

@ -102,6 +102,7 @@ setup_mountpoint() {
fi fi
mount --rbind /dev "$mountpoint/dev" mount --rbind /dev "$mountpoint/dev"
mount --make-rslave "$mountpoint/dev"
mount proc-live -t proc "$mountpoint/proc" mount proc-live -t proc "$mountpoint/proc"
mount sysfs-live -t sysfs "$mountpoint/sys" mount sysfs-live -t sysfs "$mountpoint/sys"
mount securityfs -t securityfs "$mountpoint/sys/kernel/security" mount securityfs -t securityfs "$mountpoint/sys/kernel/security"

Loading…
Cancel
Save