Merge branch 'pr/install-manifests' into 'main'

Install bootc-base-imagectl in Pungi path

Closes #44

See merge request fedora/bootc/base-images!201
This commit is contained in:
Colin Walters (Red Hat) 2025-06-09 20:48:27 +00:00
commit 6afae06962
2 changed files with 12 additions and 1 deletions

View file

@ -2,5 +2,6 @@
# will be removed in the future.
releasever: 42
repos:
- fedora-devel
- fedora
- fedora-updates
include: fedora-bootc.yaml

View file

@ -0,0 +1,10 @@
#!/bin/bash
set -xeuo pipefail
# This is used in the legacy Pungi path. It won't get run in the
# container-native path since install-manifests doesn't copy this script itself
# into usr/share/doc.
target_rootfs=$(pwd)
cd "$RPMOSTREE_WORKDIR"
./install-manifests "$target_rootfs"/usr/share/doc/bootc-base-imagectl/manifests
install -m 0755 -t "$target_rootfs"/usr/libexec bootc-base-imagectl