Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ Before=ostree-prepare-root.service ignition-remount-sysroot.service
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/run/sysroot.env
ExecStart=/usr/sbin/ignition-ostree-mount-sysroot
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ Before=ostree-prepare-root.service
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/run/sysroot.env
ExecStart=/usr/sbin/ignition-ostree-mount-sysroot
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ set -euo pipefail
# In the future this will be augmented with a check for whether
# or not we've reprovisioned the rootfs, since we don't want to
# force on prjquota there.
rootpath="${ROOT_DEVICE_PATH:-/dev/disk/by-label/root}"

# If root is on a multipath device, we use that one.
# this link is created by our own udev rule.
rootpath=/dev/disk/by-label/root
if ! [ -b "${rootpath}" ]; then
echo "ignition-ostree-mount-sysroot: Failed to find ${rootpath}" 1>&2
exit 1
Expand Down