commit: f8cae81a43e2941377df839c70171b722f0cd902
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 21:42:58 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun May 22 21:42:58 2022 +0000
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=f8cae81a
s390: Add systemd stage builds
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
releases/specs/s390/s390/stage1-systemd.spec | 12 ++++++++++++
releases/specs/s390/s390/stage3-systemd.spec | 10 ++++++++++
tools/catalyst-auto-s390.conf | 7 ++++++-
3 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/releases/specs/s390/s390/stage1-systemd.spec
b/releases/specs/s390/s390/stage1-systemd.spec
new file mode 100644
index 00000000..655c5185
--- /dev/null
+++ b/releases/specs/s390/s390/stage1-systemd.spec
@@ -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
diff --git a/releases/specs/s390/s390/stage3-systemd.spec
b/releases/specs/s390/s390/stage3-systemd.spec
new file mode 100644
index 00000000..6f786d4c
--- /dev/null
+++ b/releases/specs/s390/s390/stage3-systemd.spec
@@ -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
diff --git a/tools/catalyst-auto-s390.conf b/tools/catalyst-auto-s390.conf
index 8722de98..42d49baa 100644
--- a/tools/catalyst-auto-s390.conf
+++ b/tools/catalyst-auto-s390.conf
@@ -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}"
;;