mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-06 15:51:48 +00:00
Do not mount result, on top of lowerdir, appears to fail in
disco. Should unblock building server-live images in disco.
This commit is contained in:
commit
a5a7a0be8d
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.545) UNRELEASED; urgency=medium
|
||||
|
||||
* Do not mount result, on top of lowerdir, appears to fail in
|
||||
disco. Should unblock building server-live images in disco.
|
||||
|
||||
-- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 09 Nov 2018 22:13:49 +0000
|
||||
|
||||
livecd-rootfs (2.544) disco; urgency=medium
|
||||
|
||||
[ Steve Langasek ]
|
||||
|
@ -40,7 +40,7 @@ mkdir -p "$OVERLAY_REGION_ROOT"
|
||||
|
||||
# RACK is on top of the regular squashfs
|
||||
|
||||
mount_overlay "$SQUASH_ROOT/" "$OVERLAY_RACK_ROOT/" "$RACK_ROOT/" "RACK"
|
||||
mount_overlay "$SQUASH_ROOT/" "$OVERLAY_RACK_ROOT/" "$RACK_ROOT/"
|
||||
|
||||
setup_mountpoint $RACK_ROOT
|
||||
env DEBIAN_FRONTEND=noninteractive chroot $RACK_ROOT apt-get -y install maas-rack-controller
|
||||
@ -54,7 +54,7 @@ umount "$RACK_ROOT"
|
||||
|
||||
# Full MAAS (Region) is on top of the rack
|
||||
# in overlayfs lowerdir are mounted right to left, colon separated
|
||||
mount_overlay "$OVERLAY_RACK_ROOT/:$SQUASH_ROOT/" "$OVERLAY_REGION_ROOT/" "$REGION_ROOT/" "REGION"
|
||||
mount_overlay "$OVERLAY_RACK_ROOT/:$SQUASH_ROOT/" "$OVERLAY_REGION_ROOT/" "$REGION_ROOT/"
|
||||
|
||||
setup_mountpoint $REGION_ROOT
|
||||
|
||||
|
@ -24,15 +24,17 @@ fi
|
||||
. config/functions
|
||||
. config/common
|
||||
|
||||
SQUASH_ROOT=binary/boot/squashfs.dir
|
||||
OVERLAY_ROOT=binary/overlay
|
||||
BOTTOM_ROOT=binary/boot/squashfs.dir
|
||||
SQUASH_ROOT=binary/boot/squashfs-installer.dir
|
||||
OVERLAY_ROOT=binary/overlay-installer
|
||||
|
||||
mkdir -p "$SQUASH_ROOT"
|
||||
mkdir -p "$OVERLAY_ROOT"
|
||||
|
||||
# Create an installer squashfs layer
|
||||
mount_overlay "$SQUASH_ROOT/" "$OVERLAY_ROOT/" "$SQUASH_ROOT/"
|
||||
mount_overlay "$BOTTOM_ROOT/" "$OVERLAY_ROOT/" "$SQUASH_ROOT/"
|
||||
|
||||
setup_mountpoint binary/boot/squashfs.dir
|
||||
setup_mountpoint $SQUASH_ROOT
|
||||
|
||||
# Override JobRunningTimeoutSec to 0s on the .device unit that
|
||||
# subiquity_config.mount depends on to avoid a 5s delay on switching
|
||||
|
Loading…
x
Reference in New Issue
Block a user