diff --git a/tools-musl/portage/make.profile b/tools-musl/portage/make.profile deleted file mode 120000 index 37eb3578..00000000 --- a/tools-musl/portage/make.profile +++ /dev/null @@ -1 +0,0 @@ -/usr/portage/profiles/hardened/linux/musl/amd64 \ No newline at end of file diff --git a/tools-musl/run.sh b/tools-musl/run.sh index 83a8103c..ba1324da 100755 --- a/tools-musl/run.sh +++ b/tools-musl/run.sh @@ -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 }