kmod: fix installation path of pkgconfig files
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 kmod: fix installation path of pkgconfig files
The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}.
--- meta/recipes-kernel/kmod/kmod_git.bb | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)
meta/recipes-kernel/kmod/kmod_git.bb +8 -2
@@ -3,7 +3,7 @@ require kmod.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" RPROVIDES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
@@ -16,7 +16,8 @@ RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod # autotools set prefix to /usr, however we want them in /bin and /sbin bindir = "${base_bindir}" sbindir = "${base_sbindir}" -libdir = "${base_libdir}" + +EXTRA_OECONF += "--libdir=${base_libdir}" do_install_append () { install -dm755 ${D}${base_bindir}
@@ -34,6 +35,10 @@ do_install_append () { # install depmod.d file for search/ dir install -Dm644 "${WORKDIR}/depmod-search.conf" "${D}${base_libdir}/depmod.d/search.conf" + + # fix pkgconfig installation path + install -dm755 ${D}${libdir} + mv ${D}${base_libdir}/pkgconfig ${D}${libdir} } pkg_postinst_kmod() {
@@ -59,4 +64,5 @@ pkg_prerm_kmod() { PACKAGES =+ "libkmod" FILES_libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" +FILES_${PN}-dev += "${base_libdir}/libkmod*${SOLIBSDEV} ${base_libdir}/*.la" FILES_${PN} += "${base_libdir}/depmod.d ${base_libdir}/modprobe.d"
Signature · 1 line
1.7.2.5
Quoted 3 lines · Otavio Salvador
The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}.
Looks ok to me
Quoted 53 lines
Signed-off-by Otavio Salvador <[email protected]>---
meta/recipes-kernel/kmod/kmod_git.bb | 10 ++++++++--1 files changed, 8 insertions(+), 2 deletions(-)meta/recipes-kernel/kmod/kmod_git.bb +0
-0@@ -3,7 +3,7 @@require kmod.inc
meta/recipes-kernel/kmod/kmod_git.bb +1
-1-PR = "${INC_PR}.1" +PR = "${INC_PR}.2"PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" RPROVIDES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
meta/recipes-kernel/kmod/kmod_git.bb +0
-0@@ -16,7 +16,8 @@ RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod # autotools set prefix to /usr, however we want them in /bin and /sbinbindir = "${base_bindir}"
sbindir = "${base_sbindir}"meta/recipes-kernel/kmod/kmod_git.bb +2
-1-libdir = "${base_libdir}" + +EXTRA_OECONF += "--libdir=${base_libdir}"do_install_append () {
install -dm755 ${D}${base_bindir}meta/recipes-kernel/kmod/kmod_git.bb +0
-0@@ -34,6 +35,10 @@ do_install_append () { # install depmod.d file for search/ dirinstall -Dm644 "
${WORKDIR}/depmod-search.conf" "${D}${base_libdir}/depmod.d/search.conf" +
+ # fix pkgconfig installation path
+ install -dm755 ${D}${libdir}
+ mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
}pkg_postinst_kmod() {
meta/recipes-kernel/kmod/kmod_git.bb +0
-0@@ -59,4 +64,5 @@ pkg_prerm_kmod() {PACKAGES =+ "libkmod"
FILES_libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" +FILES_${PN}-dev += "${base_libdir}/libkmod*${SOLIBSDEV} ${base_libdir}/*.la" FILES_${PN} += "${base_libdir}/depmod.d ${base_libdir}/modprobe.d" --
1.7.2.5_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 6 lines · Khem Raj
Quoted 2 lines · Otavio Salvador
The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}.
Looks ok to me
As discussed on IRC we ought to move the .so file to ${libdir}; I am busy at work fixing other stuff to support gcc 4.7 and cannot work on that now but will look at it later.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Op 15 mei 2012, om 22:39 heeft Otavio Salvador het volgende geschreven:
Quoted 4 lines
The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}.
Signed-off-by Otavio Salvador <[email protected]>
Udev have been broken for a week now, can this please to in ASAP?
Yes. I need this too. Hope it will make it soon.
Quoted 17 lines · Koen Kooi
Op 15 mei 2012, om 22:39 heeft Otavio Salvador het volgende geschreven:
Quoted 4 lines
The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}.
Signed-off-by Otavio Salvador <[email protected]>Acked-by Koen Kooi <[email protected]>Udev have been broken for a week now, can this please to in ASAP?
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core