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.
sil2100/backport-datasource-raspi3
Dimitri John Ledkov 6 years ago
parent 9b624ab187
commit fef6023ce5

@ -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