Install bootc-base-imagectl in Pungi path
Right now, one can't use the official fedora-bootc images for the custom base image flow because it doesn't actually ship `bootc-base-imagectl`. This will be fixed by the move to Konflux, but it's not clear when that will happen. Given how trivial it is to do, let's just ship it in the image for now. Closes: https://gitlab.com/fedora/bootc/base-images/-/issues/44
This commit is contained in:
parent
fa9f15e87e
commit
39a631218f
1 changed files with 10 additions and 0 deletions
10
finalize.d/01-pungi-install-manifests.sh
Executable file
10
finalize.d/01-pungi-install-manifests.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue