add stage4 musl config

This commit is contained in:
Your Name 2017-01-02 03:35:11 +00:00 committed by Matthew Thode
parent 9144c990bf
commit 274837a3d1
No known key found for this signature in database
GPG key ID: 64A37BEAAE19A4E8
7 changed files with 264 additions and 0 deletions

5
tools-musl/run-stage4.sh Executable file
View file

@ -0,0 +1,5 @@
MUSL_DIR="$( cd "$( dirname ${BASH_SOURCE[0]} )" && pwd )"
cp "${MUSL_DIR}"/stage4-hardened-amd64.spec "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec
sed -i "s|@REPO_DIR@|${MUSL_DIR}|g" "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec
catalyst -f "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec | tee -a "${MUSL_DIR}"/zzz.log