Move loong merged-usr builds to separate build types

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2022-11-23 22:42:17 +01:00
parent 216dea7382
commit f45dc8ad27
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A
3 changed files with 13 additions and 11 deletions

View file

@ -25,7 +25,7 @@ SET_systemd_mu_SPECS="stage1-systemd-mu.spec stage3-systemd-mu.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do
for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/mergedusr" ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
@ -42,16 +42,18 @@ post_build() {
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
case ${spec} in
stage3-openrc.spec)
upload stage3-loong-openrc-${TIMESTAMP}*.xz*
upload stage3-loong-openrc-${TIMESTAMP}.xz*
;;
stage3-systemd.spec)
upload stage3-loong-systemd-${TIMESTAMP}*.xz*
upload stage3-loong-systemd-${TIMESTAMP}.xz*
;;
esac
popd >/dev/null
pushd "${BUILD_SRCDIR_BASE}/builds/mergedusr" >/dev/null
case ${spec} in
stage3-systemd-mu.spec)
upload stage3-loong-systemd-mergedusr-${TIMESTAMP}*.xz*
;;
*)
echo "Finished ${spec}"
upload stage3-loong-systemd-mergedusr-${TIMESTAMP}.xz*
;;
esac
popd >/dev/null