diff options
| author | Khem Raj <raj.khem@gmail.com> | 2012-01-31 00:34:28 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-07 16:42:47 +0100 |
| commit | 884c7c6eee8e6116c1a9b9ebb0e07c1e103895fb (patch) | |
| tree | 1e3f720de51c6b71db1f24cf0dac8ce1a94afb68 /meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb | |
| parent | bc2c2fe1f6d9952aa7f6de2a461011238568e341 (diff) | |
| download | poky-884c7c6eee8e6116c1a9b9ebb0e07c1e103895fb.tar.gz | |
module-init-tools: Delete
Since its provided by kmod
(From OE-Core rev: 27bc204010b9dccb30847d7b3216f8b1e106f64e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb')
| -rw-r--r-- | meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb b/meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb deleted file mode 100644 index 0248b464c1..0000000000 --- a/meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | require module-init-tools.inc | ||
| 2 | PR = "r0" | ||
| 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] = "bc44832c6e41707b8447e2847d2019f5" | ||
| 42 | SRC_URI[sha256sum] = "e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b" | ||
