tools-musl/catalyst: add missing variants of amd64 and i686
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
67fb1ee6fd
commit
abfefda263
31 changed files with 115 additions and 12 deletions
15
tools-musl/catalyst/portage.amd64.hardened/bashrc
Normal file
15
tools-musl/catalyst/portage.amd64.hardened/bashrc
Normal 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
|
||||
}
|
2
tools-musl/catalyst/portage.amd64.hardened/env/libintl.conf
vendored
Normal file
2
tools-musl/catalyst/portage.amd64.hardened/env/libintl.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS="-Wl,-lintl"
|
||||
LDFLAGS="-lintl"
|
1
tools-musl/catalyst/portage.amd64.hardened/env/parallel.conf
vendored
Normal file
1
tools-musl/catalyst/portage.amd64.hardened/env/parallel.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
MAKEOPTS=-j1
|
|
@ -0,0 +1 @@
|
|||
/usr/portage/profiles/hardened/linux/musl/amd64
|
9
tools-musl/catalyst/portage.amd64.hardened/package.env
Normal file
9
tools-musl/catalyst/portage.amd64.hardened/package.env
Normal 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
|
|
@ -0,0 +1,2 @@
|
|||
=sys-libs/musl-1.1.0 ~*
|
||||
=sys-apps/getent-0 ~*
|
3
tools-musl/catalyst/portage.amd64.hardened/package.mask
Normal file
3
tools-musl/catalyst/portage.amd64.hardened/package.mask
Normal file
|
@ -0,0 +1,3 @@
|
|||
>sys-devel/gcc-4.7.3-r99
|
||||
sys-apps/systemd
|
||||
sys-fs/udev
|
|
@ -0,0 +1 @@
|
|||
=dev-libs/openssl-1.0.1g-r99::hardened-dev
|
1
tools-musl/catalyst/portage.amd64.hardened/package.use
Normal file
1
tools-musl/catalyst/portage.amd64.hardened/package.use
Normal file
|
@ -0,0 +1 @@
|
|||
sys-libs/musl nls
|
|
@ -1,15 +1,15 @@
|
|||
post_src_install() {
|
||||
[[ $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
|
||||
cat > "${D}"/usr/etc/${arch%so.1}path <<EOF
|
||||
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/x86_64-gentoo-linux-musl/4.7.3
|
||||
/usr/x86_64-gentoo-linux-musl/lib
|
||||
/usr/lib/gcc/${CHOST}/4.7.3
|
||||
/usr/${CHOST}/lib
|
||||
/usr/games/lib
|
||||
EOF
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
hardened
|
15
tools-musl/catalyst/portage.i686.hardened/bashrc
Normal file
15
tools-musl/catalyst/portage.i686.hardened/bashrc
Normal 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
|
||||
}
|
2
tools-musl/catalyst/portage.i686.hardened/env/libintl.conf
vendored
Normal file
2
tools-musl/catalyst/portage.i686.hardened/env/libintl.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS="-Wl,-lintl"
|
||||
LDFLAGS="-lintl"
|
1
tools-musl/catalyst/portage.i686.hardened/env/parallel.conf
vendored
Normal file
1
tools-musl/catalyst/portage.i686.hardened/env/parallel.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
MAKEOPTS=-j1
|
|
@ -0,0 +1 @@
|
|||
/usr/portage/profiles/hardened/linux/musl/x86
|
9
tools-musl/catalyst/portage.i686.hardened/package.env
Normal file
9
tools-musl/catalyst/portage.i686.hardened/package.env
Normal 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
|
|
@ -0,0 +1,2 @@
|
|||
=sys-libs/musl-1.1.0 ~*
|
||||
=sys-apps/getent-0 ~*
|
3
tools-musl/catalyst/portage.i686.hardened/package.mask
Normal file
3
tools-musl/catalyst/portage.i686.hardened/package.mask
Normal file
|
@ -0,0 +1,3 @@
|
|||
>sys-devel/gcc-4.7.3-r99
|
||||
sys-apps/systemd
|
||||
sys-fs/udev
|
1
tools-musl/catalyst/portage.i686.hardened/package.unmask
Normal file
1
tools-musl/catalyst/portage.i686.hardened/package.unmask
Normal file
|
@ -0,0 +1 @@
|
|||
=dev-libs/openssl-1.0.1g-r99::hardened-dev
|
1
tools-musl/catalyst/portage.i686.hardened/package.use
Normal file
1
tools-musl/catalyst/portage.i686.hardened/package.use
Normal file
|
@ -0,0 +1 @@
|
|||
sys-libs/musl nls
|
15
tools-musl/catalyst/portage.i686.vanilla/bashrc
Normal file
15
tools-musl/catalyst/portage.i686.vanilla/bashrc
Normal 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
|
||||
}
|
2
tools-musl/catalyst/portage.i686.vanilla/env/libintl.conf
vendored
Normal file
2
tools-musl/catalyst/portage.i686.vanilla/env/libintl.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
CFLAGS="-Wl,-lintl"
|
||||
LDFLAGS="-lintl"
|
1
tools-musl/catalyst/portage.i686.vanilla/env/parallel.conf
vendored
Normal file
1
tools-musl/catalyst/portage.i686.vanilla/env/parallel.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
MAKEOPTS=-j1
|
|
@ -0,0 +1 @@
|
|||
/usr/portage/profiles/hardened/linux/musl/x86
|
|
@ -0,0 +1 @@
|
|||
hardened
|
9
tools-musl/catalyst/portage.i686.vanilla/package.env
Normal file
9
tools-musl/catalyst/portage.i686.vanilla/package.env
Normal 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
|
|
@ -0,0 +1,2 @@
|
|||
=sys-libs/musl-1.1.0 ~*
|
||||
=sys-apps/getent-0 ~*
|
3
tools-musl/catalyst/portage.i686.vanilla/package.mask
Normal file
3
tools-musl/catalyst/portage.i686.vanilla/package.mask
Normal file
|
@ -0,0 +1,3 @@
|
|||
>sys-devel/gcc-4.7.3-r99
|
||||
sys-apps/systemd
|
||||
sys-fs/udev
|
1
tools-musl/catalyst/portage.i686.vanilla/package.unmask
Normal file
1
tools-musl/catalyst/portage.i686.vanilla/package.unmask
Normal file
|
@ -0,0 +1 @@
|
|||
=dev-libs/openssl-1.0.1g-r99::hardened-dev
|
1
tools-musl/catalyst/portage.i686.vanilla/package.use
Normal file
1
tools-musl/catalyst/portage.i686.vanilla/package.use
Normal file
|
@ -0,0 +1 @@
|
|||
sys-libs/musl nls
|
|
@ -106,18 +106,14 @@ main() {
|
|||
|
||||
catalyst -s current | tee -a zzz.log >snapshot.log 2>snapshot.err
|
||||
|
||||
# for arch in amd64 i686; do
|
||||
# for flavor in hardened vanilla; do
|
||||
for arch in amd64; do
|
||||
for flavor in vanilla; do
|
||||
for arch in amd64 i686; do
|
||||
for flavor in hardened vanilla; do
|
||||
prepare_confs ${arch} ${flavor}
|
||||
done
|
||||
done
|
||||
|
||||
# for arch in amd64 i686; do
|
||||
# for flavor in hardened vanilla; do
|
||||
for arch in amd64; do
|
||||
for flavor in vanilla; do
|
||||
for arch in amd64 i686; do
|
||||
for flavor in hardened vanilla; do
|
||||
do_stages ${arch} ${flavor}
|
||||
ret=$?
|
||||
if [[ $? == 1 ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue