ignition/ignition-mount-initrd-fstab.service
Ignaz Forster 8d1e6666f1 - Update to version 2.6.0
- Update to version 2.5.0
  * Dropped 0003-Disable-resetting-UUID.patch (upstream moved the
    functionality into the CoreOS configuration.
  * Added ignition-enable-network.sh /
    ignition-enable-network.service:
    Implemented ignition-fetch-offline feature to only start
    networking if required
- Update to version 2.4.1
- Update to version 2.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=49
2020-08-10 09:28:19 +00:00

23 lines
778 B
Desktop File

[Unit]
Description=Mount initrd fstab entries for Ignition
DefaultDependencies=false
Before=ignition-complete.target
# Make sure ExecStop= runs before we switch root
Before=initrd-switch-root.target
After=initrd-root-fs.target
After=ignition-remount-sysroot.service
# Run only after Ignition's mount stage - mount points configured by Ignition
# itself will be skipped below, just mount the rest.
Requires=ignition-mount.service
After=ignition-mount.service
Before=ignition-files.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c 'eval $(awk '"'"'$4 ~ /x-initrd.mount/ {print "if ! findmnt /sysroot" $2 " >/dev/null; then mount -t " $3 " -o " $4 " " $1 " /sysroot" $2 "; fi;" }'"'"' /sysroot/etc/fstab)'
ExecStop=/usr/bin/umount -a -O "x-initrd.mount"