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-31 00:48:14 +0000
commit69a8ff0894bb1bbc66268f73a7358b748e6e493f (patch)
tree6478661df49086c22bd2a5eac6bc01fcf800a02f
parent9549347464c3515ecee0a123cc4e0dac9d2d6c7c (diff)
downloaddefinitions-69a8ff0894bb1bbc66268f73a7358b748e6e493f.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 ecd77b12..f9a51e09 100644
--- a/strata/build-essential.morph
+++ b/strata/build-essential.morph
@@ -192,6 +192,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
@@ -208,6 +215,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"