* [PATCH 1/1] kmod: fix installation path of pkgconfig files [not found] <cover.1337003246.git.otavio@ossystems.com.br> @ 2012-05-14 13:47 ` Otavio Salvador 2012-05-14 14:06 ` Koen Kooi [not found] ` <cover.1337020062.git.otavio@ossystems.com.br> 0 siblings, 2 replies; 14+ messages in thread From: Otavio Salvador @ 2012-05-14 13:47 UTC (permalink / raw) To: openembedded-core The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- meta/recipes-kernel/kmod/kmod_git.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index d9c4d8b..7b4a45a 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb @@ -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" @@ -34,6 +34,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() { -- 1.7.2.5 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-14 13:47 ` [PATCH 1/1] kmod: fix installation path of pkgconfig files Otavio Salvador @ 2012-05-14 14:06 ` Koen Kooi 2012-05-14 15:24 ` Otavio Salvador [not found] ` <cover.1337020062.git.otavio@ossystems.com.br> 1 sibling, 1 reply; 14+ messages in thread From: Koen Kooi @ 2012-05-14 14:06 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Op 14 mei 2012, om 15:47 heeft Otavio Salvador het volgende geschreven: > The pkgconfig files need to be installed in ${libdir} instead of > ${base_libdir}. Thanks for the patch, I was working on something similar :) I talked with the kmod and udev people and they asked why we want kmod libs in /lib instead of /usr/lib. I didn't have an answer to that, does anyone else have a decent one? If not, let's not mess with $prefix and remove all the do_install changes. regards, Koen ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-14 14:06 ` Koen Kooi @ 2012-05-14 15:24 ` Otavio Salvador 2012-05-15 17:55 ` Richard Purdie 0 siblings, 1 reply; 14+ messages in thread From: Otavio Salvador @ 2012-05-14 15:24 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Mon, May 14, 2012 at 11:06 AM, Koen Kooi <koen@dominion.thruhere.net> wrote: > > Op 14 mei 2012, om 15:47 heeft Otavio Salvador het volgende geschreven: > >> The pkgconfig files need to be installed in ${libdir} instead of >> ${base_libdir}. > > Thanks for the patch, I was working on something similar :) I talked with the kmod and udev people and they asked why we want kmod libs in /lib instead of /usr/lib. I didn't have an answer to that, does anyone else have a decent one? If not, let's not mess with $prefix and remove all the do_install changes. OE-Core try to allow the use of /usr in a separated partition so it seems it is a requirement for it to work in initrdless systems. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-14 15:24 ` Otavio Salvador @ 2012-05-15 17:55 ` Richard Purdie 2012-05-15 18:21 ` Koen Kooi 2012-05-15 20:55 ` Khem Raj 0 siblings, 2 replies; 14+ messages in thread From: Richard Purdie @ 2012-05-15 17:55 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Mon, 2012-05-14 at 12:24 -0300, Otavio Salvador wrote: > On Mon, May 14, 2012 at 11:06 AM, Koen Kooi <koen@dominion.thruhere.net> wrote: > > > > Op 14 mei 2012, om 15:47 heeft Otavio Salvador het volgende geschreven: > > > >> The pkgconfig files need to be installed in ${libdir} instead of > >> ${base_libdir}. > > > > Thanks for the patch, I was working on something similar :) I talked > with the kmod and udev people and they asked why we want kmod libs > in /lib instead of /usr/lib. I didn't have an answer to that, does > anyone else have a decent one? If not, let's not mess with $prefix and > remove all the do_install changes. > > OE-Core try to allow the use of /usr in a separated partition so it > seems it is a requirement for it to work in initrdless systems. I've heard requests from people that / be bootable with /usr being mounted later. For something like kmod, there is therefore a case for putting the library in base_libdir, not libdir. Not doing so sounds like a bit of a cop-out from the maintainers. Cheers, Richard ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 17:55 ` Richard Purdie @ 2012-05-15 18:21 ` Koen Kooi 2012-05-15 20:55 ` Khem Raj 1 sibling, 0 replies; 14+ messages in thread From: Koen Kooi @ 2012-05-15 18:21 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Op 15 mei 2012, om 19:55 heeft Richard Purdie het volgende geschreven: > On Mon, 2012-05-14 at 12:24 -0300, Otavio Salvador wrote: >> On Mon, May 14, 2012 at 11:06 AM, Koen Kooi <koen@dominion.thruhere.net> wrote: >>> >>> Op 14 mei 2012, om 15:47 heeft Otavio Salvador het volgende geschreven: >>> >>>> The pkgconfig files need to be installed in ${libdir} instead of >>>> ${base_libdir}. >>> >>> Thanks for the patch, I was working on something similar :) I talked >> with the kmod and udev people and they asked why we want kmod libs >> in /lib instead of /usr/lib. I didn't have an answer to that, does >> anyone else have a decent one? If not, let's not mess with $prefix and >> remove all the do_install changes. >> >> OE-Core try to allow the use of /usr in a separated partition so it >> seems it is a requirement for it to work in initrdless systems. > > I've heard requests from people that / be bootable with /usr being > mounted later. For something like kmod, there is therefore a case for > putting the library in base_libdir, not libdir. Not doing so sounds like > a bit of a cop-out from the maintainers. Good luck with booting a split /usr without udev. Can we *please* get the .pc in the right place so udev builds before trying to fix pie-in-the-sky things like split /usr? ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 17:55 ` Richard Purdie 2012-05-15 18:21 ` Koen Kooi @ 2012-05-15 20:55 ` Khem Raj 2012-05-15 21:00 ` Otavio Salvador 1 sibling, 1 reply; 14+ messages in thread From: Khem Raj @ 2012-05-15 20:55 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, May 15, 2012 at 10:55 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > > I've heard requests from people that / be bootable with /usr being > mounted later. For something like kmod, there is therefore a case for > putting the library in base_libdir, not libdir. Not doing so sounds like > a bit of a cop-out from the maintainers. I think this should not be made so mandatory in OE-Core IMO since none of modern systems would do something like that. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 20:55 ` Khem Raj @ 2012-05-15 21:00 ` Otavio Salvador 0 siblings, 0 replies; 14+ messages in thread From: Otavio Salvador @ 2012-05-15 21:00 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, May 15, 2012 at 5:55 PM, Khem Raj <raj.khem@gmail.com> wrote: > I think this should not be made so mandatory in OE-Core IMO since none of modern > systems would do something like that. I agree with you Khem; I think that systems that require this ought to use a initramfs or initrd image for it. I see no it as not worth to support it and the amount of hassle to support it is not worth it. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <cover.1337020062.git.otavio@ossystems.com.br>]
* [PATCH 1/1] kmod: fix installation path of pkgconfig files [not found] ` <cover.1337020062.git.otavio@ossystems.com.br> @ 2012-05-14 18:30 ` Otavio Salvador 2012-05-14 18:36 ` Otavio Salvador 0 siblings, 1 reply; 14+ messages in thread From: Otavio Salvador @ 2012-05-14 18:30 UTC (permalink / raw) To: openembedded-core The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- meta/recipes-kernel/kmod/kmod_git.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index d9c4d8b..a4a284e 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb @@ -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" @@ -34,6 +34,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() { -- 1.7.2.5 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-14 18:30 ` Otavio Salvador @ 2012-05-14 18:36 ` Otavio Salvador 0 siblings, 0 replies; 14+ messages in thread From: Otavio Salvador @ 2012-05-14 18:36 UTC (permalink / raw) To: openembedded-core On Mon, May 14, 2012 at 3:30 PM, Otavio Salvador <otavio@ossystems.com.br> wrote: > The pkgconfig files need to be installed in ${libdir} instead of > ${base_libdir}. > > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> This patch is near but still doesn't work as expected. I am working on that. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <cover.1337114347.git.otavio@ossystems.com.br>]
* [PATCH 1/1] kmod: fix installation path of pkgconfig files [not found] <cover.1337114347.git.otavio@ossystems.com.br> @ 2012-05-15 20:39 ` Otavio Salvador 2012-05-15 20:58 ` Khem Raj 2012-05-17 7:48 ` Koen Kooi 0 siblings, 2 replies; 14+ messages in thread From: Otavio Salvador @ 2012-05-15 20:39 UTC (permalink / raw) To: openembedded-core The pkgconfig files need to be installed in ${libdir} instead of ${base_libdir}. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- meta/recipes-kernel/kmod/kmod_git.bb | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index d9c4d8b..11dfe57 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb @@ -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" -- 1.7.2.5 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 20:39 ` Otavio Salvador @ 2012-05-15 20:58 ` Khem Raj 2012-05-15 21:05 ` Otavio Salvador 2012-05-17 7:48 ` Koen Kooi 1 sibling, 1 reply; 14+ messages in thread From: Khem Raj @ 2012-05-15 20:58 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, May 15, 2012 at 1:39 PM, Otavio Salvador <otavio@ossystems.com.br> wrote: > The pkgconfig files need to be installed in ${libdir} instead of > ${base_libdir}. > Looks ok to me > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> > --- > meta/recipes-kernel/kmod/kmod_git.bb | 10 ++++++++-- > 1 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb > index d9c4d8b..11dfe57 100644 > --- a/meta/recipes-kernel/kmod/kmod_git.bb > +++ b/meta/recipes-kernel/kmod/kmod_git.bb > @@ -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" > -- > 1.7.2.5 > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 20:58 ` Khem Raj @ 2012-05-15 21:05 ` Otavio Salvador 0 siblings, 0 replies; 14+ messages in thread From: Otavio Salvador @ 2012-05-15 21:05 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, May 15, 2012 at 5:58 PM, Khem Raj <raj.khem@gmail.com> wrote: > On Tue, May 15, 2012 at 1:39 PM, Otavio Salvador > <otavio@ossystems.com.br> wrote: >> 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. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-15 20:39 ` Otavio Salvador 2012-05-15 20:58 ` Khem Raj @ 2012-05-17 7:48 ` Koen Kooi 2012-05-17 7:52 ` Andrei Gherzan 1 sibling, 1 reply; 14+ messages in thread From: Koen Kooi @ 2012-05-17 7:48 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Op 15 mei 2012, om 22:39 heeft Otavio Salvador het volgende geschreven: > The pkgconfig files need to be installed in ${libdir} instead of > ${base_libdir}. > > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Udev have been broken for a week now, can this please to in ASAP? ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/1] kmod: fix installation path of pkgconfig files 2012-05-17 7:48 ` Koen Kooi @ 2012-05-17 7:52 ` Andrei Gherzan 0 siblings, 0 replies; 14+ messages in thread From: Andrei Gherzan @ 2012-05-17 7:52 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 701 bytes --] Yes. I need this too. Hope it will make it soon. On May 17, 2012 10:49 AM, "Koen Kooi" <koen@dominion.thruhere.net> wrote: > > Op 15 mei 2012, om 22:39 heeft Otavio Salvador het volgende geschreven: > > > The pkgconfig files need to be installed in ${libdir} instead of > > ${base_libdir}. > > > > Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> > > Acked-by: Koen Kooi <koen@dominion.thruhere.net> > > Udev have been broken for a week now, can this please to in ASAP? > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > [-- Attachment #2: Type: text/html, Size: 1254 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-05-17 8:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1337003246.git.otavio@ossystems.com.br>
2012-05-14 13:47 ` [PATCH 1/1] kmod: fix installation path of pkgconfig files Otavio Salvador
2012-05-14 14:06 ` Koen Kooi
2012-05-14 15:24 ` Otavio Salvador
2012-05-15 17:55 ` Richard Purdie
2012-05-15 18:21 ` Koen Kooi
2012-05-15 20:55 ` Khem Raj
2012-05-15 21:00 ` Otavio Salvador
[not found] ` <cover.1337020062.git.otavio@ossystems.com.br>
2012-05-14 18:30 ` Otavio Salvador
2012-05-14 18:36 ` Otavio Salvador
[not found] <cover.1337114347.git.otavio@ossystems.com.br>
2012-05-15 20:39 ` Otavio Salvador
2012-05-15 20:58 ` Khem Raj
2012-05-15 21:05 ` Otavio Salvador
2012-05-17 7:48 ` Koen Kooi
2012-05-17 7:52 ` Andrei Gherzan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.