Skip to content

Commit 937d488

Browse files
committed
wip
1 parent 907a8cc commit 937d488

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

examples/bootc-bls/Containerfile.cocl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ if [[ "$(grep -c "VARIANT=\"CoreOS\"" /etc/os-release)" -eq 1 ]]; then
7676
dnf clean all
7777
fi
7878

79+
# sed -i "s/42.20250901.3.0/42.20250901.3.1/g" /usr/lib/os-release
80+
7981
# Rebuild the initramfs to get bootc-initramfs-setup & our other dracut modules
8082
kver=$(cd /usr/lib/modules && echo *)
8183
dracut -vf --install "/etc/passwd /etc/group" /usr/lib/modules/$kver/initramfs.img $kver

examples/bootc-bls/build-fcos-bls-cocl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
export FROM="quay.io/fedora/fedora-coreos:42.20250901.3.0"
44
export TAG="quay.io/fedora/fedora-coreos-bls-cocl:42.20250901.3.0"
5+
# export TAG="quay.io/fedora/fedora-coreos-bls-cocl:42.20250901.3.1"
56
export CONTAINERFILE="Containerfile.cocl"
67
export EXTRA="extra-cocl"
78
exec ./build-bootc-bls

examples/bootc-bls/build-fcos-uki

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
export FROM="quay.io/fedora/fedora-coreos-bls:42.20250901.3.0"
44
export TAG="quay.io/fedora/fedora-coreos-uki:42.20250901.3.0"
5+
export ADDONS="--uki-addon ignition.addon.efi"
56
exec ./build-bootc-uki

examples/bootc-bls/build-fcos-uki-cocl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
export FROM="quay.io/fedora/fedora-coreos-bls-cocl:42.20250901.3.0"
44
export TAG="quay.io/fedora/fedora-coreos-uki-cocl:42.20250901.3.0"
5+
# export FROM="quay.io/fedora/fedora-coreos-bls-cocl:42.20250901.3.1"
6+
# export TAG="quay.io/fedora/fedora-coreos-uki-cocl:42.20250901.3.1"
7+
export ADDONS="--uki-addon ignition.addon.efi"
58
exec ./build-bootc-uki

examples/to-filesystem-uki.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -euxo pipefail
55
IMAGE="${IMAGE:-quay.io/fedora/fedora-bootc-uki:42}"
66
TARGET="${TARGET:-quay.io/fedora/fedora-bootc-uki:42}"
77
DISKIMAGE="${DISKIMAGE:-test-filesystem-uki.img}"
8+
ADDONS="${ADDONS:-}"
89

910
umount -R ./mnt || true
1011
losetup --detach-all || true
@@ -53,6 +54,7 @@ podman run --rm --net=host --privileged --pid=host \
5354
--bootloader=systemd \
5455
--source-imgref "containers-storage:$IMAGE" \
5556
--target-imgref "${TARGET}" \
57+
"${ADDONS}" \
5658
/var/mnt
5759

5860
# --uki-addon-permanent=btrfs \

0 commit comments

Comments
 (0)