From b9b08594fc21f4ec8f1c2cfd05502fdf923a493a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 11 Mar 2018 20:45:59 +0100 Subject: building for thin-provisioning-tools --- build_stage3.sh | 19 ++++--------------- i486-stage3/boost/DESCR | 4 ++++ i486-stage3/libaio/DESCR | 4 ++++ 3 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 i486-stage3/boost/DESCR create mode 100644 i486-stage3/libaio/DESCR diff --git a/build_stage3.sh b/build_stage3.sh index c4bf30e..77e1991 100755 --- a/build_stage3.sh +++ b/build_stage3.sh @@ -73,6 +73,7 @@ mkinitcpio-busybox mkinitcpio glib2 pkg-config ldns openssh zip nspr gyp nss +libaio boost " # gyp used for mozilla sub certs, continue to use shim? @@ -105,28 +106,16 @@ zip nspr gyp nss #~ " #~ #TODO after nasm: syslinux -# stage3 (from compute_dependencies.sh) -#~ cryptsetup: device-mapper popt libutil-linux - -# ldns/unbound-cyrcle -#~ dnssec-anchors: requires unbound -#~ unbound: ldns - -# the systemd knot - # lvm knot # lvm2, device-mapper: systemd, thin-povisioning-tools #~ thin-provisioning-tools: expat gcc-libs libaio boost -# libaio -# stack smashing and nostdlib? -# compat-0_1.c:(.text+0xaf): undefined reference to `__stack_chk_fail_local' -# boost: we can build a non-python version -# cryptsetup: device-mapper +# boost: # error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS" +# => now we really need the toolchain with POSIX threads +#~ cryptsetup: device-mapper popt libutil-linux #~ base cryptsetup #~ base device-mapper #~ base lvm2 -#~ base for p in $PACKAGES; do "$SCRIPT_DIR/build_stage3_package.sh" "$p" || exit 1 diff --git a/i486-stage3/boost/DESCR b/i486-stage3/boost/DESCR new file mode 100644 index 0000000..75d98b7 --- /dev/null +++ b/i486-stage3/boost/DESCR @@ -0,0 +1,4 @@ +# no openmpi, no numpy +sed -i "/makedepends=/s/'openmpi'//" PKGBUILD +sed -i "/makedepends=/s/'python-numpy'//" PKGBUILD +sed -i "/makedepends=/s/'python2-numpy'//" PKGBUILD diff --git a/i486-stage3/libaio/DESCR b/i486-stage3/libaio/DESCR new file mode 100644 index 0000000..7eb306d --- /dev/null +++ b/i486-stage3/libaio/DESCR @@ -0,0 +1,4 @@ +# see also FS32#30 +# compat-0_1.c:(.text+0xaf): undefined reference to `__stack_chk_fail_local' +sed -i 's/\(CFLAGS=.*\)/#\1/' PKGBUILD +sed -i 's@make$@CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fno-stack-protector" make@' PKGBUILD -- cgit v1.2.3-54-g00ecf