subiquity: make subiqutiy_config.mount optional

Remove wants from local-fs.target, add wants from the uuid device instead.

Tested by applying these changes from pre-pivot-root by modifying
/root files in place whilst booting with break=bottom.
snap-tool-base-none
Dimitri John Ledkov 6 years ago
parent cd6a85cfde
commit 37d9b77b95
No known key found for this signature in database
GPG Key ID: E8E84908F903AFB5

@ -45,6 +45,7 @@ mkdir -p "$INSTALLER_ROOT/etc/systemd/system/$DEVICE_UNIT_NAME.d"
cat > "$INSTALLER_ROOT/etc/systemd/system/$DEVICE_UNIT_NAME.d/override.conf" <<EOF cat > "$INSTALLER_ROOT/etc/systemd/system/$DEVICE_UNIT_NAME.d/override.conf" <<EOF
[Unit] [Unit]
JobRunningTimeoutSec=0s JobRunningTimeoutSec=0s
Wants=subiquity_config.mount
EOF EOF
# Prepare installer layer. # Prepare installer layer.

Loading…
Cancel
Save