[oe-commits] org.oe.dev bash: fix postinst to not touch host system
hrw commit
oe at amethyst.openembedded.net
Tue Apr 8 11:55:48 UTC 2008
bash: fix postinst to not touch host system
Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: 72ed47cb3e3e54df519ae32565228a30cce8b8a6
ViewMTN: http://monotone.openembedded.org/revision/info/72ed47cb3e3e54df519ae32565228a30cce8b8a6
Files:
1
packages/bash/bash.inc
packages/bash/bash_3.0.bb
packages/bash/bash_3.2.bb
Diffs:
#
# mt diff -r742f9c7dfea51febbf223da19320b6b5c3f9cfd3 -r72ed47cb3e3e54df519ae32565228a30cce8b8a6
#
#
#
# patch "packages/bash/bash.inc"
# from [bf00237c2f502119d09ac1aef2d72c87b26adae2]
# to [c7397201014de3cb47c54cc11eab2fb64058dc02]
#
# patch "packages/bash/bash_3.0.bb"
# from [a144ffb9fe330926ad4418e417a6c166ca2d26d2]
# to [a8cbd9f528543fa43f70dbc8e2f010addf0dce4c]
#
# patch "packages/bash/bash_3.2.bb"
# from [b786439963d9345c6f91c3e915166fb710c7dce9]
# to [5c5ba49d876e934fc3e8dbfb4ec613ed8fe34a15]
#
============================================================
--- packages/bash/bash.inc bf00237c2f502119d09ac1aef2d72c87b26adae2
+++ packages/bash/bash.inc c7397201014de3cb47c54cc11eab2fb64058dc02
@@ -20,7 +20,7 @@ pkg_postinst () {
}
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
}
============================================================
--- packages/bash/bash_3.0.bb a144ffb9fe330926ad4418e417a6c166ca2d26d2
+++ packages/bash/bash_3.0.bb a8cbd9f528543fa43f70dbc8e2f010addf0dce4c
@@ -1,5 +1,5 @@ require bash.inc
require bash.inc
-PR = "r8"
+PR = "r9"
SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
file://bash-3.0-fixes.patch;patch=1 \
============================================================
--- packages/bash/bash_3.2.bb b786439963d9345c6f91c3e915166fb710c7dce9
+++ packages/bash/bash_3.2.bb 5c5ba49d876e934fc3e8dbfb4ec613ed8fe34a15
@@ -1,5 +1,5 @@ require bash.inc
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}
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 \
"
More information about the Openembedded-commits
mailing list