s390: Add systemd stage builds

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2022-05-22 23:42:58 +02:00
parent 3e184dc0f7
commit f8cae81a43
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206
3 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,12 @@
subarch: s390
version_stamp: systemd-@TIMESTAMP@
target: stage1
rel_type: default
profile: default/linux/s390/17.0/systemd
snapshot: @TIMESTAMP@
source_subpath: default/stage3-s390-systemd-latest
update_seed: yes
update_seed_command: --update --deep --newuse @world
compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/stages
pkgcache_path: /var/tmp/catalyst/packages/default/stage1-s390

View file

@ -0,0 +1,10 @@
subarch: s390
version_stamp: systemd-@TIMESTAMP@
target: stage3
rel_type: default
profile: default/linux/s390/17.0/systemd
snapshot: @TIMESTAMP@
source_subpath: default/stage1-s390-systemd-@TIMESTAMP@
compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/stages
pkgcache_path: /var/tmp/catalyst/packages/default/stage3-s390

View file

@ -6,11 +6,13 @@ UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/s390/s390
SUBARCH=`grep subarch $SPECS_DIR/stage1.spec | awk '{print $2}'`
SETS="openrc"
SETS="openrc systemd"
SET_openrc_SPECS="stage1-openrc.spec stage3-openrc.spec"
SET_openrc_OPTIONAL_SPECS="netboot/netboot.spec"
SET_systemd_SPECS="stage1-systemd.spec stage3-systemd.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/s390
update_symlinks() {
@ -40,6 +42,9 @@ post_build() {
stage3-openrc.spec)
upload stage3-${SUBARCH}-openrc-${TIMESTAMP}.tar.xz*
;;
stage3-systemd.spec)
upload stage3-${SUBARCH}-systemd-${TIMESTAMP}.tar.xz*
;;
*)
echo "Finished ${spec}"
;;