tools-musl: fix make.profile sym link
This commit is contained in:
parent
28a816ab8d
commit
d1fd40ee74
2 changed files with 2 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
/usr/portage/profiles/hardened/linux/musl/amd64
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue