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

@ -0,0 +1,13 @@
subarch: loong
version_stamp: systemd-mergedusr-@TIMESTAMP@
target: stage1
rel_type: default
profile: default/linux/loong/22.0/la64v100/lp64d/systemd/merged-usr
snapshot: @TIMESTAMP@
source_subpath: default/stage3-loong-systemd-mergedusr-latest
compression_mode: pixz
update_seed: no
update_seed_command: -uDN @world
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng
interpreter: /usr/bin/qemu-loongarch64

View file

@ -0,0 +1,11 @@
subarch: loong
version_stamp: systemd-mergedusr-@TIMESTAMP@
target: stage3
rel_type: default
profile: default/linux/loong/22.0/la64v100/lp64d/systemd/merged-usr
snapshot: @TIMESTAMP@
source_subpath: default/stage1-loong-systemd-mergedusr-@TIMESTAMP@
compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng
interpreter: /usr/bin/qemu-loongarch64

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
}