Activate musl-hardened set
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
506c8f79a5
commit
3be1f70b59
1 changed files with 12 additions and 4 deletions
|
@ -12,12 +12,11 @@ SPECS_DIR=${REPO_DIR}/releases/specs/amd64/musl
|
||||||
|
|
||||||
SETS="
|
SETS="
|
||||||
vanilla
|
vanilla
|
||||||
|
hardened
|
||||||
"
|
"
|
||||||
# hardened
|
|
||||||
# vanilla_systemd
|
|
||||||
# hardened_systemd
|
|
||||||
|
|
||||||
SET_vanilla_SPECS="stage1.spec stage2.spec stage3.spec"
|
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
|
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/amd64
|
||||||
|
|
||||||
|
@ -25,7 +24,7 @@ EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
|
||||||
|
|
||||||
update_symlinks() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# 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
|
pushd "${d}" >/dev/null || exit
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
|
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
|
||||||
|
@ -56,6 +55,15 @@ post_build() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
popd >/dev/null || exit
|
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:
|
# vim:ft=sh:
|
||||||
|
|
Loading…
Add table
Reference in a new issue