[oe-commits] Sebastian Spaeth : bootchart-lite: Use mkdir rather than install in postinst.

git version control git at git.openembedded.org
Fri Nov 27 14:18:48 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 5b7e82c4c29e50776afb95b821a80a6c01fc19f5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5b7e82c4c29e50776afb95b821a80a6c01fc19f5

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Fri Nov 27 10:55:03 2009 +0100

bootchart-lite: Use mkdir rather than install in postinst.

* install is part of coreutils which might not be installed.
* As this is a -lite image it might not make sense to pull in coreutils just to create a dir.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 recipes/bootchart-lite/bootchart-lite_svn.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/bootchart-lite/bootchart-lite_svn.bb b/recipes/bootchart-lite/bootchart-lite_svn.bb
index 2220560..1368c92 100644
--- a/recipes/bootchart-lite/bootchart-lite_svn.bb
+++ b/recipes/bootchart-lite/bootchart-lite_svn.bb
@@ -12,7 +12,7 @@ S = "${WORKDIR}/trunk"
 inherit autotools
 
 pkg_postinst_${PN} () {
-	install -d /etc/bootchart-lite
+	mkdir /etc/bootchart-lite
 }
 
 pkg_postrm_${PN} () {





More information about the Openembedded-commits mailing list