diff options
author | Anders Darander <anders@chargestorm.se> | 2011-07-01 15:08:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:34:17 +0100 |
commit | bdfbb1f27e2a8a625e037f63876be2910424c7f0 (patch) | |
tree | 5b27cc97e85136d31a9f4f61b2c594e338f077d6 /meta/recipes-kernel/modutils | |
parent | c878cb8ba7df1f6295c98f23ed617a311d0222eb (diff) | |
download | poky-bdfbb1f27e2a8a625e037f63876be2910424c7f0.tar.gz |
modutils-initscripts: move recipe prior to modutils removal
(From OE-Core rev: 2cdb49b67027663ba9c53eec8e864e909adef0e6)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/modutils')
-rw-r--r-- | meta/recipes-kernel/modutils/files/PD.patch | 8 | ||||
-rwxr-xr-x | meta/recipes-kernel/modutils/files/modutils.sh | 36 | ||||
-rw-r--r-- | meta/recipes-kernel/modutils/modutils-initscripts.bb | 20 |
3 files changed, 0 insertions, 64 deletions
diff --git a/meta/recipes-kernel/modutils/files/PD.patch b/meta/recipes-kernel/modutils/files/PD.patch deleted file mode 100644 index 21ac49cbd8..0000000000 --- a/meta/recipes-kernel/modutils/files/PD.patch +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [licensing] | ||
2 | |||
3 | Index: modutils-initscripts-1.0/LICENSE | ||
4 | =================================================================== | ||
5 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
6 | +++ modutils-initscripts-1.0/LICENSE 2010-12-06 14:26:03.570339002 -0800 | ||
7 | @@ -0,0 +1 @@ | ||
8 | +Public Domain | ||
diff --git a/meta/recipes-kernel/modutils/files/modutils.sh b/meta/recipes-kernel/modutils/files/modutils.sh deleted file mode 100755 index 9049bbb8aa..0000000000 --- a/meta/recipes-kernel/modutils/files/modutils.sh +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: module-init-tools | ||
4 | # Required-Start: | ||
5 | # Required-Stop: | ||
6 | # Should-Start: checkroot | ||
7 | # Should-stop: | ||
8 | # Default-Start: S | ||
9 | # Default-Stop: | ||
10 | # Short-Description: Process /etc/modules. | ||
11 | # Description: Load the modules listed in /etc/modules. | ||
12 | ### END INIT INFO | ||
13 | |||
14 | LOAD_MODULE=modprobe | ||
15 | [ -f /proc/modules ] || exit 0 | ||
16 | [ -f /etc/modules ] || exit 0 | ||
17 | [ -e /sbin/modprobe ] || LOAD_MODULE=insmod | ||
18 | |||
19 | if [ ! -f /lib/modules/`uname -r`/modules.dep ]; then | ||
20 | [ "$VERBOSE" != no ] && echo "Calculating module dependencies ..." | ||
21 | depmod -Ae | ||
22 | fi | ||
23 | |||
24 | [ "$VERBOSE" != no ] && echo -n "Loading modules: " | ||
25 | (cat /etc/modules; echo; ) | | ||
26 | while read module args | ||
27 | do | ||
28 | case "$module" in | ||
29 | \#*|"") continue ;; | ||
30 | esac | ||
31 | [ "$VERBOSE" != no ] && echo -n "$module " | ||
32 | eval "$LOAD_MODULE $module $args >/dev/null 2>&1" | ||
33 | done | ||
34 | [ "$VERBOSE" != no ] && echo | ||
35 | |||
36 | exit 0 | ||
diff --git a/meta/recipes-kernel/modutils/modutils-initscripts.bb b/meta/recipes-kernel/modutils/modutils-initscripts.bb deleted file mode 100644 index 89d38cff45..0000000000 --- a/meta/recipes-kernel/modutils/modutils-initscripts.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "modutils configuration files" | ||
3 | LICENSE = "PD" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7bf87fc37976e93ec66ad84fac58c098" | ||
5 | SRC_URI = "file://modutils.sh \ | ||
6 | file://PD.patch" | ||
7 | PR = "r6" | ||
8 | |||
9 | INITSCRIPT_NAME = "modutils.sh" | ||
10 | INITSCRIPT_PARAMS = "start 4 S ." | ||
11 | |||
12 | inherit update-rc.d | ||
13 | |||
14 | do_compile () { | ||
15 | } | ||
16 | |||
17 | do_install () { | ||
18 | install -d ${D}${sysconfdir}/init.d/ | ||
19 | install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/ | ||
20 | } | ||