tools-musl/catalyst: add missing variants of amd64 and i686

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Felix Janda 2014-05-23 21:48:58 +02:00 committed by Anthony G. Basile
parent 67fb1ee6fd
commit abfefda263
31 changed files with 115 additions and 12 deletions

View file

@ -0,0 +1,15 @@
post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.3
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -0,0 +1,2 @@
CFLAGS="-Wl,-lintl"
LDFLAGS="-lintl"

View file

@ -0,0 +1 @@
MAKEOPTS=-j1

View file

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

View file

@ -0,0 +1,9 @@
dev-libs/glib libintl.conf
dev-libs/libelf libintl.conf
sys-apps/attr libintl.conf
sys-apps/kbd libintl.conf
sys-apps/man-db parallel.conf
sys-apps/net-tools libintl.conf
sys-fs/e2fsprogs libintl.conf
sys-fs/eudev libintl.conf
sys-process/procps libintl.conf

View file

@ -0,0 +1,2 @@
=sys-libs/musl-1.1.0 ~*
=sys-apps/getent-0 ~*

View file

@ -0,0 +1,3 @@
>sys-devel/gcc-4.7.3-r99
sys-apps/systemd
sys-fs/udev

View file

@ -0,0 +1 @@
=dev-libs/openssl-1.0.1g-r99::hardened-dev

View file

@ -0,0 +1 @@
sys-libs/musl nls

View file

@ -1,15 +1,15 @@
post_src_install() { post_src_install() {
[[ $PN != musl ]] && return 0 [[ $PN != musl ]] && return 0
local arch=$(basename "${D}"/lib/ld-musl-*.so.1) local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${arch%so.1}path <<EOF cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib /lib
/usr/lib /usr/lib
/usr/local/lib /usr/local/lib
/usr/lib/opengl/xorg-x11/lib /usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/x86_64-gentoo-linux-musl/4.7.3 /usr/lib/gcc/${CHOST}/4.7.3
/usr/x86_64-gentoo-linux-musl/lib /usr/${CHOST}/lib
/usr/games/lib /usr/games/lib
EOF EOF
} }

View file

@ -0,0 +1 @@
hardened

View file

@ -0,0 +1,15 @@
post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.3
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -0,0 +1,2 @@
CFLAGS="-Wl,-lintl"
LDFLAGS="-lintl"

View file

@ -0,0 +1 @@
MAKEOPTS=-j1

View file

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

View file

@ -0,0 +1,9 @@
dev-libs/glib libintl.conf
dev-libs/libelf libintl.conf
sys-apps/attr libintl.conf
sys-apps/kbd libintl.conf
sys-apps/man-db parallel.conf
sys-apps/net-tools libintl.conf
sys-fs/e2fsprogs libintl.conf
sys-fs/eudev libintl.conf
sys-process/procps libintl.conf

View file

@ -0,0 +1,2 @@
=sys-libs/musl-1.1.0 ~*
=sys-apps/getent-0 ~*

View file

@ -0,0 +1,3 @@
>sys-devel/gcc-4.7.3-r99
sys-apps/systemd
sys-fs/udev

View file

@ -0,0 +1 @@
=dev-libs/openssl-1.0.1g-r99::hardened-dev

View file

@ -0,0 +1 @@
sys-libs/musl nls

View file

@ -0,0 +1,15 @@
post_src_install() {
[[ $PN != musl ]] && return 0
local LDSO_ARCH=$(basename "${D}"/lib/ld-musl-*.so.1)
mkdir "${D}"/usr/etc
cat > "${D}"/usr/etc/${LDSO_ARCH%so.1}path <<EOF
/lib
/usr/lib
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/${CHOST}/4.7.3
/usr/${CHOST}/lib
/usr/games/lib
EOF
}

View file

@ -0,0 +1,2 @@
CFLAGS="-Wl,-lintl"
LDFLAGS="-lintl"

View file

@ -0,0 +1 @@
MAKEOPTS=-j1

View file

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

View file

@ -0,0 +1 @@
hardened

View file

@ -0,0 +1,9 @@
dev-libs/glib libintl.conf
dev-libs/libelf libintl.conf
sys-apps/attr libintl.conf
sys-apps/kbd libintl.conf
sys-apps/man-db parallel.conf
sys-apps/net-tools libintl.conf
sys-fs/e2fsprogs libintl.conf
sys-fs/eudev libintl.conf
sys-process/procps libintl.conf

View file

@ -0,0 +1,2 @@
=sys-libs/musl-1.1.0 ~*
=sys-apps/getent-0 ~*

View file

@ -0,0 +1,3 @@
>sys-devel/gcc-4.7.3-r99
sys-apps/systemd
sys-fs/udev

View file

@ -0,0 +1 @@
=dev-libs/openssl-1.0.1g-r99::hardened-dev

View file

@ -0,0 +1 @@
sys-libs/musl nls

View file

@ -106,18 +106,14 @@ main() {
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
# for arch in amd64 i686; do for arch in amd64 i686; do
# for flavor in hardened vanilla; do for flavor in hardened vanilla; do
for arch in amd64; do
for flavor in vanilla; do
prepare_confs ${arch} ${flavor} prepare_confs ${arch} ${flavor}
done done
done done
# for arch in amd64 i686; do for arch in amd64 i686; do
# for flavor in hardened vanilla; do for flavor in hardened vanilla; do
for arch in amd64; do
for flavor in vanilla; do
do_stages ${arch} ${flavor} do_stages ${arch} ${flavor}
ret=$? ret=$?
if [[ $? == 1 ]]; then if [[ $? == 1 ]]; then