Add m68k musl build

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2023-07-21 21:16:39 +02:00
parent 614f1d09e9
commit 0b6c63cb26
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A
3 changed files with 32 additions and 1 deletions

View file

@ -11,6 +11,7 @@ SPECS_DIR=${REPO_DIR}/releases/specs-qemu/m68k
EMAIL_SUBJECT_PREPEND="[m68k-qemu-auto]"
SETS="
musl
openrc
systemd
systemd_mu
@ -19,11 +20,12 @@ SETS="
SET_openrc_SPECS="stage1-openrc.spec stage3-openrc.spec"
SET_systemd_SPECS="stage1-systemd.spec stage3-systemd.spec"
SET_systemd_mu_SPECS="stage1-systemd-mu.spec stage3-systemd-mu.spec"
SET_musl_SPECS="stage1-musl.spec stage3-musl.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/mergedusr" ; do
for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/mergedusr" "${BUILD_SRCDIR_BASE}/builds/musl" ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
@ -53,6 +55,11 @@ post_build() {
upload stage3-m68k-systemd-mergedusr-${TIMESTAMP}*.xz*
popd >/dev/null
;;
stage3-musl.spec)
pushd "${BUILD_SRCDIR_BASE}/builds/musl" >/dev/null
upload stage3-m68k_musl-${TIMESTAMP}*.xz*
popd >/dev/null
;;
*)
echo "Finished ${spec}"
;;