bootc: Move install configuration here

Prep for dropping it out of upstream.
This commit is contained in:
Colin Walters 2023-10-14 14:42:30 -04:00
parent eb2e67263c
commit f84eba9267
1 changed files with 9 additions and 1 deletions

View File

@ -13,10 +13,18 @@ exclude-packages:
# the kernel package. # the kernel package.
- kernel-debug-core - kernel-debug-core
# rpm-ostree can be an alias for bootc, we want to enable that here.
postprocess: postprocess:
# rpm-ostree can be an alias for bootc, we want to enable that here.
- | - |
#!/usr/bin/env bash #!/usr/bin/env bash
if test ! -x /usr/bin/bootc && test -x /usr/bin/rpm-ostree; then if test ! -x /usr/bin/bootc && test -x /usr/bin/rpm-ostree; then
ln -sr /usr/bin/{rpm-ostree,bootc} ln -sr /usr/bin/{rpm-ostree,bootc}
fi fi
# XFS is our default filesystem
- |
#!/usr/bin/env bash
mkdir -p /usr/lib/bootc/install/
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
EOF