Separate out common tasks between two builds

This commit is contained in:
2026-03-12 14:32:54 +09:00
parent 13111c5203
commit 52588956a9
5 changed files with 119 additions and 201 deletions

12
build_files/common/setup.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -ouex pipefail
# Copy System Files onto root
rsync -rvK /ctx/sys_files/ /
# Copy cosign.pub key into the right location
mkdir -p /etc/pki/containers
cp /ctx/cosign.pub /etc/pki/containers/davejansen.pub
./packages.sh