Merge branch 'condition-growpart' into 'main'

growpart: Add `ConditionPathExists=/usr/bin/growpart`

See merge request fedora/bootc/base-images!79
This commit is contained in:
Colin Walters (Red Hat) 2025-01-14 15:49:13 +00:00
commit 578e95fe81
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ Documentation=https://gitlab.com/fedora/bootc/docs
ConditionVirtualization=vm ConditionVirtualization=vm
# This helps verify that we're running in a bootc/ostree based target. # This helps verify that we're running in a bootc/ostree based target.
ConditionPathIsMountPoint=/sysroot ConditionPathIsMountPoint=/sysroot
# For someone making a smaller image, assume they have this handled.
ConditionPathExists=/usr/bin/growpart
# We want to run before any e.g. large container images might be pulled. # We want to run before any e.g. large container images might be pulled.
DefaultDependencies=no DefaultDependencies=no
Requires=sysinit.target Requires=sysinit.target