tools-musl: use the new musl profiles

This commit is contained in:
Anthony G. Basile 2018-03-02 11:24:52 -05:00
parent b7ec6e6805
commit 7df1231920
2 changed files with 20 additions and 6 deletions

View file

@ -20,9 +20,9 @@ prepare_confs() {
[[ "${arch}" == "amd64" ]] && tarch="x86_64"
local profile=${flavor}
[[ "${flavor}" == "vanilla" ]] && profile="default"
[[ "${flavor}" == "vanilla" ]] && profile="" || profile="/hardened"
cat stage-all.conf.template | \
cat stage.conf.template | \
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
-e "s:CSTAGE:${cstage}:g" \
-e "s:PSTAGE:${pstage}:g" \
@ -61,10 +61,12 @@ main() {
# if catalyst is using snapcache, bug #519656
for arch in amd64 i686; do
for flavor in hardened vanilla; do
(
do_stages ${arch} ${flavor}
[[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
) &
do_stages ${arch} ${flavor}
[[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
# (
# do_stages ${arch} ${flavor}
# [[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
# ) &
done
done
}