tools-musl: use the new musl profiles
This commit is contained in:
parent
b7ec6e6805
commit
7df1231920
2 changed files with 20 additions and 6 deletions
|
@ -20,9 +20,9 @@ prepare_confs() {
|
||||||
[[ "${arch}" == "amd64" ]] && tarch="x86_64"
|
[[ "${arch}" == "amd64" ]] && tarch="x86_64"
|
||||||
|
|
||||||
local profile=${flavor}
|
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}:" \
|
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
|
||||||
-e "s:CSTAGE:${cstage}:g" \
|
-e "s:CSTAGE:${cstage}:g" \
|
||||||
-e "s:PSTAGE:${pstage}:g" \
|
-e "s:PSTAGE:${pstage}:g" \
|
||||||
|
@ -61,10 +61,12 @@ main() {
|
||||||
# if catalyst is using snapcache, bug #519656
|
# if catalyst is using snapcache, bug #519656
|
||||||
for arch in amd64 i686; do
|
for arch in amd64 i686; do
|
||||||
for flavor in hardened vanilla; do
|
for flavor in hardened vanilla; do
|
||||||
(
|
do_stages ${arch} ${flavor}
|
||||||
do_stages ${arch} ${flavor}
|
[[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
||||||
[[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
# (
|
||||||
) &
|
# do_stages ${arch} ${flavor}
|
||||||
|
# [[ $? == 1 ]] && echo "FAILURE at ${arch} ${flavor} " | tee zzz.log
|
||||||
|
# ) &
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
12
tools-musl/stage.conf.template
Normal file
12
tools-musl/stage.conf.template
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
subarch: SARCH
|
||||||
|
target: CSTAGE
|
||||||
|
version_stamp: musl-FLAVOR
|
||||||
|
rel_type: musl/FLAVOR/SARCH
|
||||||
|
profile: default/linux/PARCH/17.0/muslPROFILE
|
||||||
|
snapshot: current
|
||||||
|
source_subpath: musl/FLAVOR/SARCH/PSTAGE-SARCH-musl-FLAVOR
|
||||||
|
chost: TARCH-gentoo-linux-musl
|
||||||
|
cflags: -O2 -pipe
|
||||||
|
cxxflags: -O2 -pipe
|
||||||
|
portage_confdir: MYCATALYST/portage.SARCH.FLAVOR
|
||||||
|
portage_overlay: /var/lib/layman/musl
|
Loading…
Add table
Reference in a new issue