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-11-11 18:34:03 +0000
commit3d4ee90374202dcd02cdd2770831ecfff77091b7 (patch)
tree7fc23d9049645319dec3ee5aa353cad152592dd7
parentf31a410c1f2ee5f21a69be85c20b0af1fb5a1726 (diff)
downloaddefinitions-3d4ee90374202dcd02cdd2770831ecfff77091b7.tar.gz
Add stage2-fake-bash before eglibc
This change is to prepare the transition to glibc since the latter is going to need bash to build.
-rw-r--r--strata/build-essential.morph10
-rw-r--r--strata/build-essential/stage2-fake-bash.morph4
2 files changed, 14 insertions, 0 deletions
diff --git a/strata/build-essential.morph b/strata/build-essential.morph
index a23aca93..35ceaed9 100644
--- a/strata/build-essential.morph
+++ b/strata/build-essential.morph
@@ -121,6 +121,15 @@ chunks:
- stage2-eglibc
build-mode: bootstrap
prefix: /tools
+- name: stage2-fake-bash
+ morph: strata/build-essential/stage2-fake-bash.morph
+ repo: upstream:bash
+ ref: 3590145af6f1c9fa321dff231f69ae696e7e740b
+ unpetrify-ref: baserock/bash-4.3-patch-27
+ build-depends:
+ - stage2-busybox
+ build-mode: bootstrap
+ prefix: /tools
- name: stage2-fhs-dirs
morph: strata/build-essential/stage2-fhs-dirs.morph
repo: baserock:baserock/fhs-dirs
@@ -201,6 +210,7 @@ chunks:
build-depends:
- stage2-binutils
- stage2-busybox
+ - stage2-fake-bash
- stage2-eglibc
- stage2-fhs-dirs
- stage2-gawk
diff --git a/strata/build-essential/stage2-fake-bash.morph b/strata/build-essential/stage2-fake-bash.morph
new file mode 100644
index 00000000..021fd366
--- /dev/null
+++ b/strata/build-essential/stage2-fake-bash.morph
@@ -0,0 +1,4 @@
+name: stage2-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"