From be7fa6ab9f2560c70dd3f4672939aa2b3b2cd3d9 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 3 Dec 2014 18:16:22 +0100 Subject: [PATCH] Added bash --- tools/mktools | 1 + tools/prepchroot | 3 ++- tools/satellites/bash.sat | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tools/satellites/bash.sat diff --git a/tools/mktools b/tools/mktools index f00594f..ce5c344 100755 --- a/tools/mktools +++ b/tools/mktools @@ -56,6 +56,7 @@ astrobuild "gcc-2" # Utilities astrobuild "busybox" +astrobuild "bash" astrobuild "make" astrobuild "perl" astrobuild "openssl" diff --git a/tools/prepchroot b/tools/prepchroot index 4f411f5..1440661 100755 --- a/tools/prepchroot +++ b/tools/prepchroot @@ -25,10 +25,11 @@ mknod -m 666 "$rocket/dev/null" c 1 3 2> /dev/null || true echo "Creating directories" install -dm755 "$rocket/root" -mkdir -p "$rocket/etc/ssl" "$rocket/bin" "$rocket/usr/pkg" +mkdir -p "$rocket/etc/ssl" "$rocket/bin" "$rocket/usr/pkg" "$rocket/usr/sat" echo "Moving temporary things into place" ln -sf /tools/bin/sh "$rocket/bin/sh" +ln -sf /tools/bin/bash "$rocket/bin/bash" ln -sf /tools/lib/ssl/certs "$rocket/etc/ssl/certs" echo "Creating users and groups" diff --git a/tools/satellites/bash.sat b/tools/satellites/bash.sat new file mode 100644 index 0000000..337725a --- /dev/null +++ b/tools/satellites/bash.sat @@ -0,0 +1,12 @@ +name=bash +version=4.3.30 + +dlextract "http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ + "a27b3ee9be83bd3ba448c0ff52b28447" + +cd "$name-$version" + +./configure --prefix=/tools --without-bash-malloc +make; make DESTDIR="$dir_install" install + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: