mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
Override JobRunningTimeoutSec to 0s on the .device unit that
subiquity_config.mount depends on to avoid a 5s delay on switching to a new VT when there is no device there (LP: #1750117)
This commit is contained in:
parent
f054c56bec
commit
d1b26ce330
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.504) UNRELEASED; urgency=medium
|
||||
|
||||
* Override JobRunningTimeoutSec to 0s on the .device unit that
|
||||
subiquity_config.mount depends on to avoid a 5s delay on switching to a
|
||||
new VT when there is no device there (LP: #1750117)
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Tue, 20 Feb 2018 12:57:07 +1300
|
||||
|
||||
livecd-rootfs (2.503) bionic; urgency=medium
|
||||
|
||||
* Install linux-signed-generic in the live-server image. (LP: #1749065)
|
||||
|
@ -33,6 +33,18 @@ mount_overlay "$SQUASH_ROOT/" "$OVERLAY_ROOT/" "$SQUASH_ROOT/"
|
||||
|
||||
setup_mountpoint binary/boot/squashfs.dir
|
||||
|
||||
# Override JobRunningTimeoutSec to 0s on the .device unit that
|
||||
# subiquity_config.mount depends on to avoid a 5s delay on switching
|
||||
# to a new VT when there is no device there (LP: #1750117).
|
||||
# It would be better to have this in ../includes.binary/overlay but
|
||||
# you can't have backslashes in filenames in bzr branches!
|
||||
DEVICE_UNIT_NAME='dev-disk-by\x2duuid-00c629d6\x2d06ab\x2d4dfd\x2db21e\x2dc3186f34105d.device'
|
||||
mkdir -p "$SQUASH_ROOT/etc/systemd/system/$DEVICE_UNIT_NAME.d"
|
||||
cat > "$SQUASH_ROOT/etc/systemd/system/$DEVICE_UNIT_NAME.d/override.conf" <<EOF
|
||||
[Unit]
|
||||
JobRunningTimeoutSec=0s
|
||||
EOF
|
||||
|
||||
# Prepare installer layer.
|
||||
|
||||
# Install any requirements for the installer, for things we don't want
|
||||
|
Loading…
x
Reference in New Issue
Block a user