Always add bootc install config

bootc isn't in C9S yet, but it is in the -dev images.  Add
the install config unconditionally so that `bootc install`
works in the `centos-bootc-dev` image.
This commit is contained in:
Colin Walters 2023-12-08 12:45:00 -05:00
parent ddefbde644
commit dd0a042a17
4 changed files with 12 additions and 10 deletions

10
tier-0/bootc-config.yaml Normal file
View File

@ -0,0 +1,10 @@
# Configuration for bootc
postprocess:
# 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

View File

@ -10,13 +10,3 @@ exclude-packages:
# chosen as the package to satisfy the `kernel-core` dependency from
# the kernel package.
- kernel-debug-core
postprocess:
# 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

View File

@ -55,6 +55,7 @@ conditional-include:
include:
- ostree.yaml
- bootc-config.yaml
- initramfs.yaml
packages:

1
tier-1/bootc-config.yaml Symbolic link
View File

@ -0,0 +1 @@
../tier-0/bootc-config.yaml