Activate musl-hardened set

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2021-05-02 04:26:50 +02:00
parent 506c8f79a5
commit 3be1f70b59
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206

View file

@ -12,12 +12,11 @@ SPECS_DIR=${REPO_DIR}/releases/specs/amd64/musl
SETS="
vanilla
hardened
"
# hardened
# vanilla_systemd
# hardened_systemd
SET_vanilla_SPECS="stage1.spec stage2.spec stage3.spec"
SET_hardened_SPECS="stage1-hardened.spec stage2-hardened.spec stage3-hardened.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/amd64
@ -25,7 +24,7 @@ EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
update_symlinks() {
# Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/musl ; do
for d in ${BUILD_SRCDIR_BASE}/builds/{musl,musl-hardened} ; do
pushd "${d}" >/dev/null || exit
shopt -s extglob
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
@ -56,6 +55,15 @@ post_build() {
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/musl-hardened >/dev/null || exit
UPLOAD_DEST=${BUILD_DESTDIR_BASE}
case ${spec} in
stage3.spec)
upload stage3-amd64-musl-hardened-${TIMESTAMP}.tar.xz*
;;
esac
popd >/dev/null || exit
}
# vim:ft=sh: