diff options
author | Richard Purdie <richard@openedhand.com> | 2005-09-20 07:04:35 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-09-20 07:04:35 +0000 |
commit | b4a7122cacef647dbec3db5c9ebe1e504a7670df (patch) | |
tree | 006885a1f4e8032062632ee1a091e72c32dd2810 /openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb | |
parent | f9e1d16bfa73a2df5254c63ae1abb6a4bbe0a062 (diff) | |
download | openembedded-core-b4a7122cacef647dbec3db5c9ebe1e504a7670df.tar.gz openembedded-core-b4a7122cacef647dbec3db5c9ebe1e504a7670df.tar.bz2 openembedded-core-b4a7122cacef647dbec3db5c9ebe1e504a7670df.tar.xz openembedded-core-b4a7122cacef647dbec3db5c9ebe1e504a7670df.zip |
Updates against mainline OE
git-svn-id: https://svn.o-hand.com/repos/poky@26 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb')
-rw-r--r-- | openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb b/openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb index 41aea223f..017f288e7 100644 --- a/openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb +++ b/openembedded/packages/module-init-tools/module-init-tools_3.2-pre7.bb @@ -3,7 +3,7 @@ removing kernel modules for Linux (versions 2.5.48 and above). It serves \ the same function that the modutils package serves for Linux 2.4." LICENSE = "GPL" SECTION = "base" -PR = "r0" +PR = "r1" PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod" RDEPENDS_${PN} += "module-init-tools-depmod" @@ -34,18 +34,22 @@ do_install() { pkg_postinst_module-init-tools() { #!/bin/sh -for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo bin/lsmod; do +for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do bn=`basename $f` update-alternatives --install /$f $bn /$f.26 20 done +update-alternatives --install /bin/lsmod bin-lsmod /bin/lsmod.26 60 +update-alternatives --install /sbin/lsmod lsmod /bin/lsmod.26 60 } pkg_prerm_module-init-tools() { #!/bin/sh -for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo bin/lsmod; do +for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do bn=`basename $f` update-alternatives --remove $bn /$f.26 done +update-alternatives --remove bin-lsmod /bin/lsmod.26 +update-alternatives --remove lsmod /bin/lsmod.26 } pkg_postinst_module-init-tools-depmod() { |