diff options
Diffstat (limited to 'openembedded/packages/update-modules/update-modules_1.0.bb')
-rw-r--r-- | openembedded/packages/update-modules/update-modules_1.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/openembedded/packages/update-modules/update-modules_1.0.bb b/openembedded/packages/update-modules/update-modules_1.0.bb new file mode 100644 index 0000000000..297b1bf7b0 --- /dev/null +++ b/openembedded/packages/update-modules/update-modules_1.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "Script to manage module configuration files" | ||
3 | LICENSE = "GPLv2" | ||
4 | PACKAGE_ARCH = "all" | ||
5 | PR = "r3" | ||
6 | |||
7 | SRC_URI = "file://update-modules" | ||
8 | |||
9 | pkg_postinst() { | ||
10 | if [ "x$D" != "x" ]; then | ||
11 | exit 1 | ||
12 | fi | ||
13 | update-modules | ||
14 | /etc/init.d/modutils.sh | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${sbindir} | ||
19 | install ${WORKDIR}/update-modules ${D}${sbindir} | ||
20 | } | ||