summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-11 20:45:59 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-11 20:45:59 +0100
commitb9b08594fc21f4ec8f1c2cfd05502fdf923a493a (patch)
treeaab5bda1b66780e24f5d04724fece607b482e29f
parent2956293319328adb8fd21e6a85a4b95ce6667594 (diff)
downloadbootstrap32-b9b08594fc21f4ec8f1c2cfd05502fdf923a493a.tar.xz
building for thin-provisioning-tools
-rwxr-xr-xbuild_stage3.sh19
-rw-r--r--i486-stage3/boost/DESCR4
-rw-r--r--i486-stage3/libaio/DESCR4
3 files changed, 12 insertions, 15 deletions
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