diff options
author | Anders Darander <anders@chargestorm.se> | 2011-07-01 15:07:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:34:17 +0100 |
commit | c878cb8ba7df1f6295c98f23ed617a311d0222eb (patch) | |
tree | e69d657b7a109e4020d8c48eea5e9d1218c7fcf9 /meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb | |
parent | 586ccf2a3f80cafe7a55e58da4f5121935d9a23f (diff) | |
download | poky-c878cb8ba7df1f6295c98f23ed617a311d0222eb.tar.gz |
modules-init-tools(-cross): update to 3.16
Update to get support for Linux 3.0.
Delete the ignore_arch_directory.patch (as it does not apply to 3.16).
(From OE-Core rev: 773fc8fc45224e37d442d927ed28d50680fb954c)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb')
-rw-r--r-- | meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb b/meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb deleted file mode 100644 index 3d7c287092..0000000000 --- a/meta/recipes-kernel/module-init-tools/module-init-tools_3.12.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | require module-init-tools.inc | ||
2 | PR = "r1" | ||
3 | |||
4 | # autotools set prefix to /usr, however we want them in /bin and /sbin | ||
5 | bindir = "/bin" | ||
6 | sbindir = "/sbin" | ||
7 | |||
8 | do_install() { | ||
9 | autotools_do_install | ||
10 | for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do | ||
11 | mv ${D}/$f ${D}/$f.26 | ||
12 | done | ||
13 | } | ||
14 | |||
15 | pkg_postinst_module-init-tools() { | ||
16 | for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/modinfo; do | ||
17 | bn=`basename $f` | ||
18 | update-alternatives --install /$f $bn /$f.26 60 | ||
19 | done | ||
20 | update-alternatives --install /bin/lsmod bin-lsmod /bin/lsmod.26 60 | ||
21 | update-alternatives --install /sbin/lsmod lsmod /bin/lsmod.26 60 | ||
22 | } | ||
23 | |||
24 | pkg_prerm_module-init-tools() { | ||
25 | for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/modinfo; do | ||
26 | bn=`basename $f` | ||
27 | update-alternatives --remove $bn /$f.26 | ||
28 | done | ||
29 | update-alternatives --remove bin-lsmod /bin/lsmod.26 | ||
30 | update-alternatives --remove lsmod /bin/lsmod.26 | ||
31 | } | ||
32 | |||
33 | pkg_postinst_module-init-tools-depmod() { | ||
34 | update-alternatives --install /sbin/depmod depmod /sbin/depmod.26 60 | ||
35 | } | ||
36 | |||
37 | pkg_prerm_module-init-tools-depmod() { | ||
38 | update-alternatives --remove depmod /sbin/depmod.26 | ||
39 | } | ||
40 | |||
41 | SRC_URI[md5sum] = "8b2257ce9abef74c4a44d825d23140f3" | ||
42 | SRC_URI[sha256sum] = "d012ab07ea26721467a85a775f34747c1c8897e37f16bec5317d8a72ef8b4f17" | ||