summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-28 16:26:11 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-28 17:29:04 +0000
commitebeb34dea6fb72664b72cfb4b4e4ad4eb131e693 (patch)
treed54ed30bcfc5c1452a0777617fb53ccff2314c6a
parent57e96acb46a276ac21e6b7946b6d52b617aba8ac (diff)
downloaddefinitions-ebeb34dea6fb72664b72cfb4b4e4ad4eb131e693.tar.gz
Add fake-bash before eglibc
-rw-r--r--strata/build-essential.morph8
-rw-r--r--strata/build-essential/fake-bash.morph4
2 files changed, 12 insertions, 0 deletions
diff --git a/strata/build-essential.morph b/strata/build-essential.morph
index 7886b610..90ccdd22 100644
--- a/strata/build-essential.morph
+++ b/strata/build-essential.morph
@@ -193,6 +193,13 @@ chunks:
- stage2-linux-api-headers
- stage2-make
- stage2-reset-specs
+- name: fake-bash
+ morph: strata/build-essential/fake-bash.morph
+ repo: upstream:bash
+ ref: 3590145af6f1c9fa321dff231f69ae696e7e740b
+ unpetrify-ref: baserock/bash-4.3-patch-27
+ build-depends:
+ - stage2-busybox
- name: eglibc
morph: strata/build-essential/eglibc.morph
repo: upstream:eglibc2
@@ -209,6 +216,7 @@ chunks:
- stage2-make
- stage2-reset-specs
- linux-api-headers
+ - fake-bash
artifacts:
eglibc-gconv: build-essential-runtime
eglibc-libs: build-essential-minimal
diff --git a/strata/build-essential/fake-bash.morph b/strata/build-essential/fake-bash.morph
new file mode 100644
index 00000000..9e360f90
--- /dev/null
+++ b/strata/build-essential/fake-bash.morph
@@ -0,0 +1,4 @@
+name: fake-bash
+kind: chunk
+install-commands:
+- printf '#!/bin/sh\nexec /bin/sh "$@"\n' | install -D /proc/self/fd/0 -m 755 "$DESTDIR$PREFIX/bin/bash"