summaryrefslogtreecommitdiffstats
path: root/meta/packages/bash
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-26 09:31:03 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-26 09:31:03 +0000
commit069bb4019f9dd2698f58030a37474afbf2037301 (patch)
tree03b84e57ffe36f386771d238005c20767a528146 /meta/packages/bash
parent513eb4bddf39297ecb3e3f9e2f57fc0d53a786c5 (diff)
downloadpoky-069bb4019f9dd2698f58030a37474afbf2037301.tar.gz
bash: fix postinst to not touch host system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4120 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bash')
-rw-r--r--meta/packages/bash/bash.inc6
-rw-r--r--meta/packages/bash/bash_3.2.bb2
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/bash/bash.inc b/meta/packages/bash/bash.inc
index 80aedfa1c8..b67e8bbe39 100644
--- a/meta/packages/bash/bash.inc
+++ b/meta/packages/bash/bash.inc
@@ -20,7 +20,7 @@ do_configure () {
20} 20}
21 21
22pkg_postinst () { 22pkg_postinst () {
23 touch ${sysconfdir}/shells 23 touch $D${sysconfdir}/shells
24 grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells 24 grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells
25 grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells 25 grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells
26} 26}
diff --git a/meta/packages/bash/bash_3.2.bb b/meta/packages/bash/bash_3.2.bb
index 95c1a73a5d..883df50194 100644
--- a/meta/packages/bash/bash_3.2.bb
+++ b/meta/packages/bash/bash_3.2.bb
@@ -1,5 +1,5 @@
1require bash.inc 1require bash.inc
2PR = "r3" 2PR = "r4"
3 3
4SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ 4SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
5 http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-001;patch=1;pnum=0 \ 5 http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-001;patch=1;pnum=0 \