Add bootc to eln

To do this though add a `distro` variable we can use to differentiate
between stream9 vs not-stream9 for now.

bootc exists now in eln since
- https://pagure.io/pungi-fedora/pull-request/1217
- https://github.com/minimization/content-resolver-input/pull/1006
This commit is contained in:
Colin Walters committed 2023-11-01 15:20:20 -04:00
1 parent e988155b2f
commit 05f8c0f10c
7 files changed
+16 -12

No files matched your search

+1 -11
View File
@@ -1,11 +1,7 @@
include:
- ostree.yaml
# The bootc components.
packages:
- systemd
# For now this will be shipped in rpm-ostree; TODO fix this by shipping a separate epackage
# - bootc
- bootc
# Required by bootc install today, though we'll likely switch bootc to use a Rust crate instead of sgdisk
- gdisk xfsprogs e2fsprogs dosfstools
@@ -16,12 +12,6 @@ exclude-packages:
- kernel-debug-core
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
+5 -1
View File
@@ -49,8 +49,12 @@ remove-from-packages:
# https://bugzilla.redhat.com/show_bug.cgi?id=2105177
- [dbus-common, /usr/lib/sysusers.d/dbus.conf]
conditional-include:
- if: distro != "stream9"
include: bootc.yaml
include:
- bootc.yaml
- ostree.yaml
- initramfs.yaml
packages: