aboutsummaryrefslogtreecommitdiffstats
path: root/update-modules
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-04 14:16:21 +0000
committerPhil Blundell <philb@gnu.org>2004-07-04 14:16:21 +0000
commitb0a1879f91d062e0cf763f1380b80ddc5446cb52 (patch)
tree52f223d7c9f07b9c5a7834588fef459e03e3292e /update-modules
parent5abdcf5b3df201622ffa824fa0d5af8a6402afe4 (diff)
downloadopenembedded-b0a1879f91d062e0cf763f1380b80ddc5446cb52.tar.gz
add postinst
BKrev: 40e81135Fwd7PWH4FLSBaCroKGWJog
Diffstat (limited to 'update-modules')
-rw-r--r--update-modules/update-modules_1.0.oe18
1 files changed, 18 insertions, 0 deletions
diff --git a/update-modules/update-modules_1.0.oe b/update-modules/update-modules_1.0.oe
index e69de29bb2..1ea2f4e520 100644
--- a/update-modules/update-modules_1.0.oe
+++ b/update-modules/update-modules_1.0.oe
@@ -0,0 +1,18 @@
+DESCRIPTION = "Script to manage module configuration files"
+PACKAGE_ARCH = "all"
+PR = "r1"
+
+SRC_URI = "file://update-modules"
+
+pkg_postinst() {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+update-modules
+}
+
+do_install() {
+ install -d ${D}${sbindir}
+ install ${WORKDIR}/update-modules ${D}${sbindir}
+}
+