bootc-base-images/tier-1/bootc-file-ownership.service

14 lines
340 B
SYSTEMD

[Unit]
Description=Bootc system migration file ownership sync
# This helps verify that we're running in a bootc/ostree based target.
ConditionPathIsMountPoint=/sysroot
RequiresMountsFor=/boot
After=network.target
[Service]
ExecStart=/usr/libexec/bootc-file-ownership
# So we can temporarily remount the sysroot writable
MountFlags=slave