diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-21 20:48:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-22 10:21:35 +0100 |
commit | 5882ef6974e0230f831dcc0394959a688ab2fc33 (patch) | |
tree | 485555f2c5b98517446bafb633dbf0c9c60f8094 /meta | |
parent | 879584465735152258d9c2d410d5943ee75dd686 (diff) | |
download | poky-master-next.tar.gz |
Revert "kmod: upgrade from 31 to 32"master-next
This reverts commit ef43c26f3b7020c39d38767206ee97eba0a4e2dc.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_31.bb (renamed from meta/recipes-kernel/kmod/kmod_32.bb) | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_32.bb b/meta/recipes-kernel/kmod/kmod_31.bb index 1235bc1bf8..718a5565b4 100644 --- a/meta/recipes-kernel/kmod/kmod_32.bb +++ b/meta/recipes-kernel/kmod/kmod_31.bb | |||
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | |||
15 | " | 15 | " |
16 | inherit autotools bash-completion gtk-doc pkgconfig manpages update-alternatives | 16 | inherit autotools bash-completion gtk-doc pkgconfig manpages update-alternatives |
17 | 17 | ||
18 | SRCREV = "41faa59711742c1476d59985011ee0f27ed91d30" | 18 | SRCREV = "aff617ea871d0568cc491bd116c0be1e857463bb" |
19 | 19 | ||
20 | SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;branch=master;protocol=https \ | 20 | SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;branch=master;protocol=https \ |
21 | file://depmod-search.conf \ | 21 | file://depmod-search.conf \ |
@@ -50,6 +50,12 @@ EXTRA_OECONF += "--bindir=${base_bindir} --sbindir=${base_sbindir}" | |||
50 | 50 | ||
51 | do_install:append () { | 51 | do_install:append () { |
52 | install -dm755 ${D}${base_bindir} | 52 | install -dm755 ${D}${base_bindir} |
53 | install -dm755 ${D}${base_sbindir} | ||
54 | # add symlinks to kmod | ||
55 | ln -rs ${D}${base_bindir}/kmod ${D}${base_bindir}/lsmod | ||
56 | for tool in insmod rmmod depmod modinfo modprobe; do | ||
57 | ln -rs ${D}${base_bindir}/kmod ${D}${base_sbindir}/${tool} | ||
58 | done | ||
53 | # configuration directories | 59 | # configuration directories |
54 | install -dm755 ${D}${nonarch_base_libdir}/depmod.d | 60 | install -dm755 ${D}${nonarch_base_libdir}/depmod.d |
55 | install -dm755 ${D}${nonarch_base_libdir}/modprobe.d | 61 | install -dm755 ${D}${nonarch_base_libdir}/modprobe.d |
@@ -65,14 +71,16 @@ do_install:append () { | |||
65 | 71 | ||
66 | ALTERNATIVE_PRIORITY = "70" | 72 | ALTERNATIVE_PRIORITY = "70" |
67 | 73 | ||
68 | ALTERNATIVE:kmod = "insmod modprobe rmmod modinfo lsmod depmod" | 74 | ALTERNATIVE:kmod = "insmod modprobe rmmod modinfo bin-lsmod lsmod depmod" |
69 | 75 | ||
70 | ALTERNATIVE_LINK_NAME[depmod] = "${base_bindir}/depmod" | 76 | ALTERNATIVE_LINK_NAME[depmod] = "${base_sbindir}/depmod" |
71 | ALTERNATIVE_LINK_NAME[insmod] = "${base_bindir}/insmod" | 77 | ALTERNATIVE_LINK_NAME[insmod] = "${base_sbindir}/insmod" |
72 | ALTERNATIVE_LINK_NAME[modprobe] = "${base_bindir}/modprobe" | 78 | ALTERNATIVE_LINK_NAME[modprobe] = "${base_sbindir}/modprobe" |
73 | ALTERNATIVE_LINK_NAME[rmmod] = "${base_bindir}/rmmod" | 79 | ALTERNATIVE_LINK_NAME[rmmod] = "${base_sbindir}/rmmod" |
74 | ALTERNATIVE_LINK_NAME[modinfo] = "${base_bindir}/modinfo" | 80 | ALTERNATIVE_LINK_NAME[modinfo] = "${base_sbindir}/modinfo" |
75 | ALTERNATIVE_LINK_NAME[lsmod] = "${base_bindir}/lsmod" | 81 | ALTERNATIVE_LINK_NAME[bin-lsmod] = "${base_bindir}/lsmod" |
82 | ALTERNATIVE_LINK_NAME[lsmod] = "${base_sbindir}/lsmod" | ||
83 | ALTERNATIVE_TARGET[lsmod] = "${base_bindir}/lsmod.${BPN}" | ||
76 | 84 | ||
77 | PACKAGES =+ "libkmod" | 85 | PACKAGES =+ "libkmod" |
78 | FILES:libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" | 86 | FILES:libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" |