tools-uclibc: changes for the new 17.0 profiles for amd64 and x86

This commit is contained in:
Anthony G. Basile 2018-10-08 15:29:51 -04:00
parent e5191fea09
commit 173c8438ab
9 changed files with 13 additions and 5 deletions

View file

@ -0,0 +1 @@
sys-devel/gcc -sanitize

View file

@ -0,0 +1 @@
sys-libs/gdbm berkdb

View file

@ -0,0 +1 @@
app-arch/gzip pic

View file

@ -0,0 +1 @@
sys-devel/gcc -sanitize

View file

@ -0,0 +1 @@
sys-libs/gdbm berkdb

View file

@ -0,0 +1 @@
app-arch/gzip pic

View file

@ -29,6 +29,7 @@ prepare_confs() {
-e "s:PSTAGE:${pstage}:g" \
-e "s:SARCH:${arch}:g" \
-e "s:PARCH:${parch}:g" \
-e "s:TARCHPROFILE:/${tarch}${profile}:g" \
-e "s:TARCH:${tarch}:g" \
-e "s:gentoo-linux-uclibc:unknown-linux-uclibceabi${float}:" \
-e "s:FLAVOR:${flavor}:g" \

View file

@ -20,17 +20,18 @@ 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" \
-e "s:SARCH:${arch}:g" \
-e "s:PARCH:${parch}:g" \
-e "s:TARCHPROFILE:${profile}:g" \
-e "s:TARCH:${tarch}:g" \
-e "s:gentoo-linux-uclibc:unknown-linux-uclibc:" \
-e "s:FLAVOR:${flavor}:g" \
-e "s:PROFILE:${profile}:g" \
-e "s:MYCATALYST:$(pwd):g" \
> stage${s}-${arch}-uclibc-${flavor}.conf
done
@ -42,7 +43,7 @@ prepare_confs() {
main() {
>zzz.log
undo_grsec
# undo_grsec
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err

View file

@ -2,7 +2,7 @@ subarch: SARCH
target: CSTAGE
version_stamp: uclibc-FLAVOR
rel_type: uclibc/FLAVOR/SARCH
profile: default/linux/PARCH/17.0/uclibc/TARCHPROFILE
profile: default/linux/PARCH/17.0/uclibcTARCHPROFILE
snapshot: current
source_subpath: uclibc/FLAVOR/SARCH/PSTAGE-SARCH-uclibc-FLAVOR
chost: TARCH-gentoo-linux-uclibc