commit:     1e54abd4ff6ee07517d3e666f0d18fe85c95e951
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  5 22:57:04 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul  5 22:57:04 2021 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=1e54abd4

x86: Add specs and catalyst-auto job for musl

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 releases/specs/x86/musl/stage1.spec  | 14 ++++++++++++++
 releases/specs/x86/musl/stage2.spec  | 12 ++++++++++++
 releases/specs/x86/musl/stage3.spec  | 11 +++++++++++
 tools/catalyst-auto-x86-demeter.conf | 11 +++++++++++
 4 files changed, 48 insertions(+)

diff --git a/releases/specs/x86/musl/stage1.spec 
b/releases/specs/x86/musl/stage1.spec
new file mode 100644
index 00000000..7c15b0ce
--- /dev/null
+++ b/releases/specs/x86/musl/stage1.spec
@@ -0,0 +1,14 @@
+subarch: i686
+target: stage1
+version_stamp: musl-@TIMESTAMP@
+rel_type: musl
+profile: default/linux/x86/17.0/musl
+snapshot: @TIMESTAMP@
+source_subpath: musl/stage3-i686-musl-latest
+chost: i686-gentoo-linux-musl
+portage_confdir: @REPO_DIR@/releases/portage/stages-musl
+portage_overlay: /root/musl
+portage_prefix: releng
+update_seed: yes
+update_seed_command: --update --deep --newuse @world
+compression_mode: pixz_x

diff --git a/releases/specs/x86/musl/stage2.spec 
b/releases/specs/x86/musl/stage2.spec
new file mode 100644
index 00000000..cb5c5fff
--- /dev/null
+++ b/releases/specs/x86/musl/stage2.spec
@@ -0,0 +1,12 @@
+subarch: i686
+target: stage2
+version_stamp: musl-@TIMESTAMP@
+rel_type: musl
+profile: default/linux/x86/17.0/musl
+snapshot: @TIMESTAMP@
+source_subpath: musl/stage1-i686-musl-@TIMESTAMP@
+chost: i686-gentoo-linux-musl
+portage_confdir: @REPO_DIR@/releases/portage/stages-musl
+portage_overlay: /root/musl
+portage_prefix: releng
+compression_mode: pixz_x

diff --git a/releases/specs/x86/musl/stage3.spec 
b/releases/specs/x86/musl/stage3.spec
new file mode 100644
index 00000000..bb32f043
--- /dev/null
+++ b/releases/specs/x86/musl/stage3.spec
@@ -0,0 +1,11 @@
+subarch: i686
+target: stage3
+version_stamp: musl-@TIMESTAMP@
+rel_type: musl
+profile: default/linux/x86/17.0/musl
+snapshot: @TIMESTAMP@
+source_subpath: musl/stage2-i686-musl-@TIMESTAMP@
+portage_confdir: @REPO_DIR@/releases/portage/stages-musl
+portage_overlay: /root/musl
+portage_prefix: releng
+compression_mode: pixz_x

diff --git a/tools/catalyst-auto-x86-demeter.conf 
b/tools/catalyst-auto-x86-demeter.conf
index 98c2d131..f8ad498f 100644
--- a/tools/catalyst-auto-x86-demeter.conf
+++ b/tools/catalyst-auto-x86-demeter.conf
@@ -12,6 +12,7 @@ EMAIL_SUBJECT_PREPEND="[x86-auto]"
 SPECS_DIR=${REPO_DIR}/releases/specs/x86
 
 SETS="
+       musl
        i486_openrc
        i686_openrc
        i686_systemd
@@ -27,6 +28,8 @@ SET_i686_systemd_SPECS="i686/stage1-systemd.spec 
i686/stage2-systemd.spec i686/s
 SET_hardened_openrc_SPECS="hardened/stage1-openrc.spec 
hardened/stage2-openrc.spec hardened/stage3-openrc.spec"
 SET_hardened_openrc_OPTIONAL_SPECS="hardened/admincd-stage1-openrc.spec 
hardened/admincd-stage2-openrc.spec"
 
+SET_musl_SPECS="musl/stage1.spec musl/stage2.spec musl/stage3.spec"
+
 KCONFIG_DIR=${REPO_DIR}/releases/kconfig/x86
 
 EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
@@ -84,6 +87,14 @@ post_build() {
                ;;
        esac
        popd >/dev/null || exit
+
+       pushd ${BUILD_SRCDIR_BASE}/builds/musl >/dev/null || exit
+       case ${spec} in
+       musl/stage3.spec)
+               upload stage3-i686-musl-${TIMESTAMP}.tar.xz*
+               ;;
+       esac
+       popd >/dev/null || exit
 }
 
 # vim:ft=sh:

Reply via email to