b56ecb6717
Added check to start service only for rpm-ostree build Resolves: rhbz#2167344 Signed-off-by: Sayan Paul <saypaul@redhat.com>
16 lines
398 B
Desktop File
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
|