bootc: Move install configuration here

Prep for dropping it out of upstream.
This commit is contained in:
Colin Walters committed 2023-10-14 14:46:38 -04:00
1 parent eb2e67263c
commit f84eba9267
1 file changed
+9 -1
+9 -1
View File
@@ -13,10 +13,18 @@ exclude-packages:
# the kernel package.
- kernel-debug-core
# rpm-ostree can be an alias for bootc, we want to enable that here.
postprocess:
# rpm-ostree can be an alias for bootc, we want to enable that here.
- |
#!/usr/bin/env bash
if test ! -x /usr/bin/bootc && test -x /usr/bin/rpm-ostree; then
ln -sr /usr/bin/{rpm-ostree,bootc}
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