Add loong systemd merged-usr build

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2022-11-16 22:48:47 +01:00
parent c5e8ae2dda
commit 6a55a8d80a
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A
3 changed files with 38 additions and 4 deletions

View file

@ -13,11 +13,15 @@ EMAIL_SUBJECT_PREPEND="[loong-qemu-auto]"
SETS="
openrc
systemd
systemd_mu
"
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"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
@ -34,14 +38,20 @@ update_symlinks() {
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
case ${spec} in
stage3*.spec)
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
upload stage3-loong-$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
popd >/dev/null
stage3-openrc.spec)
upload stage3-loong-openrc-${TIMESTAMP}*.xz*
;;
stage3-systemd.spec)
upload stage3-loong-systemd-${TIMESTAMP}*.xz*
;;
stage3-systemd-mu.spec)
upload stage3-loong-systemd-mergedusr-${TIMESTAMP}*.xz*
;;
*)
echo "Finished ${spec}"
;;
esac
popd >/dev/null
}