summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-21 16:19:39 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-21 16:57:55 +0000
commitd73b84188db1559f501b74ad9811d19a2a780f66 (patch)
tree5bb81d99e2db7365114fcd6deca1e5d8c496dc82
parent05938faf98bdf359ed595241a4b8516f24c0bb5e (diff)
downloaddefinitions-d73b84188db1559f501b74ad9811d19a2a780f66.tar.gz
use fake bash instead of the real one
-rw-r--r--strata/build-essential/stage2-bash.morph6
1 files changed, 1 insertions, 5 deletions
diff --git a/strata/build-essential/stage2-bash.morph b/strata/build-essential/stage2-bash.morph
index 70fbdab0..c7996072 100644
--- a/strata/build-essential/stage2-bash.morph
+++ b/strata/build-essential/stage2-bash.morph
@@ -1,8 +1,4 @@
name: stage2-bash
kind: chunk
-configure-commands:
-- ./configure --prefix="$PREFIX" --bindir="$PREFIX"/bin --without-bash-malloc
-build-commands:
-- make
install-commands:
-- make DESTDIR="$DESTDIR" install
+- printf '#!/bin/sh\nexec /bin/sh "$@"\n' | install -D /proc/self/fd/0 -m 755 "$DESTDIR$PREFIX/bin/bash"