tools-musl: fix make.profile sym link

This commit is contained in:
Anthony G. Basile 2014-02-18 21:00:59 +00:00
parent 28a816ab8d
commit d1fd40ee74
2 changed files with 2 additions and 1 deletions

View file

@ -1 +0,0 @@
/usr/portage/profiles/hardened/linux/musl/amd64

View file

@ -22,8 +22,10 @@ prepare_etc () {
if [[ "$MY_ARCH" == "amd64" ]]; then
sed -i "s/ALTARCH/${ALTARCH}/" "${ROOTFS}"/etc/portage/make.conf
ln -sf ../../usr/portage/profiles/hardened/linux/musl/amd64 "${ROOTFS}"/etc/portage/make.profile
elif [[ "$MY_ARCH" == "i686" ]]; then
sed -i "s/ALTARCH/${MY_ARCH}/" "${ROOTFS}"/etc/portage/make.conf
ln -sf ../../usr/portage/profiles/hardened/linux/musl/x86 "${ROOTFS}"/etc/portage/make.profile
fi
}