s390x: enable systemd stages

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2022-05-25 13:35:08 +02:00
parent a624a66b9d
commit 6f46d57fa4
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206
6 changed files with 37 additions and 11 deletions

View file

@ -4,13 +4,14 @@
UPLOAD_USER=s390
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/s390/s390x
SUBARCH=`grep subarch $SPECS_DIR/stage1.spec | awk '{print $2}'`
SUBARCH=s390x
SETS="default netboot"
SETS="openrc systemd"
SET_default_SPECS="stage1.spec stage3.spec"
SET_openrc_SPECS="stage1-openrc.spec stage3-openrc.spec"
SET_openrc_OPTIONAL_SPECS="netboot/netboot.spec"
SET_netboot_SPECS="netboot/netboot.spec"
SET_systemd_SPECS="stage1-systemd.spec stage3-systemd.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/s390
@ -38,8 +39,11 @@ post_build() {
mv netboot2-s390x-${TIMESTAMP}/kernels/misc/netboot64.igz netboot2-s390x-${TIMESTAMP}/netboot-s390x-initramfs-${TIMESTAMP}
upload netboot2-s390x-${TIMESTAMP}/netboot*
;;
stage3.spec)
upload stage3-${SUBARCH}-*${TIMESTAMP}*.tar.xz*
stage3-openrc.spec)
upload stage3-${SUBARCH}-openrc-${TIMESTAMP}.tar.xz*
;;
stage3-systemd.spec)
upload stage3-${SUBARCH}-systemd-${TIMESTAMP}.tar.xz*
;;
*)
echo "Finished ${spec}"