diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-04-08 11:37:24 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-04-08 11:37:24 +0000 |
commit | 4be80e6cb623332400ef6c72f05b82dabbfdd5a2 (patch) | |
tree | 0ebf08acae3f72e5b934ee2845a8bd6fa9c3779c | |
parent | 16ed4baa80bcacf274161af82ab3f5c05e435a9a (diff) |
bash: fix postinst to not touch host system
-rw-r--r-- | packages/bash/bash.inc | 6 | ||||
-rw-r--r-- | packages/bash/bash_3.0.bb | 2 | ||||
-rw-r--r-- | packages/bash/bash_3.2.bb | 10 |
3 files changed, 13 insertions, 5 deletions
diff --git a/packages/bash/bash.inc b/packages/bash/bash.inc index 80aedfa1c8..b67e8bbe39 100644 --- a/packages/bash/bash.inc +++ b/packages/bash/bash.inc @@ -20,7 +20,7 @@ do_configure () { } pkg_postinst () { - touch ${sysconfdir}/shells - grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells - grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells + touch $D${sysconfdir}/shells + grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells + grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells } diff --git a/packages/bash/bash_3.0.bb b/packages/bash/bash_3.0.bb index b4fb26a60f..babb70493e 100644 --- a/packages/bash/bash_3.0.bb +++ b/packages/bash/bash_3.0.bb @@ -1,5 +1,5 @@ require bash.inc -PR = "r8" +PR = "r9" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ file://bash-3.0-fixes.patch;patch=1 \ diff --git a/packages/bash/bash_3.2.bb b/packages/bash/bash_3.2.bb index f4eeff7d66..95c1a73a5d 100644 --- a/packages/bash/bash_3.2.bb +++ b/packages/bash/bash_3.2.bb @@ -1,5 +1,5 @@ require bash.inc -PR = "r2" +PR = "r3" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-001;patch=1;pnum=0 \ @@ -27,4 +27,12 @@ SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-023;patch=1;pnum=0 \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-024;patch=1;pnum=0 \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-025;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-026;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-027;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-028;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-029;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-030;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-031;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-032;patch=1;pnum=0 \ + http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-033;patch=1;pnum=0 \ " |