ostree/ostree-readonly-sysroot-migration.service
Sayan Paul b56ecb6717 fix: Enable sysroot ro migration on installation
Added check to start service only for rpm-ostree build

Resolves: rhbz#2167344

Signed-off-by: Sayan Paul <saypaul@redhat.com>
2023-02-14 20:16:05 +05:30

16 lines
398 B
Desktop File

[Unit]
Description=Read-Only Sysroot Migration
Documentation=https://ostreedev.github.io/ostree
ConditionPathExists=!/var/lib/.ostree-readonly-sysroot
ConditionPathExists=/run/ostree-booted
RequiresMountsFor=/sysroot /boot
ConditionPathIsReadWrite=/sysroot
[Service]
Type=oneshot
ExecStart=/usr/libexec/ostree-readonly-sysroot-migration
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target