growpart: Add `ConditionPathExists=/usr/bin/growpart`
Hopefully eventually this gets rewritten in not-shell-script and put somewhere saner. For now, avoid failing if people have trimmed their images. The growpart problem only comes with bootc-image-builder and cloud environments anyways, it's not something we hit with Anaconda installs or `bootc install to-filesystem`, so we can avoid this. Closes: https://gitlab.com/fedora/bootc/base-images/-/issues/34 Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
b44ea1ace5
commit
06fddc9007
|
|
@ -6,6 +6,8 @@ Documentation=https://gitlab.com/fedora/bootc/docs
|
|||
ConditionVirtualization=vm
|
||||
# This helps verify that we're running in a bootc/ostree based target.
|
||||
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.
|
||||
DefaultDependencies=no
|
||||
Requires=sysinit.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue