From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/4] udev 141: fix packaging on x86_64
Date: Tue, 01 Sep 2009 18:00:34 -0400 [thread overview]
Message-ID: <4A9D9982.4080902@cbnco.com> (raw)
In-Reply-To: <1250175641-4869-3-git-send-email-msmith@cbnco.com>
Hi,
Could someone with prefix = /usr give this a quick build test before I
check it in?
http://patchwork.openembedded.org/patch/940/
Thanks,
Mike
Michael Smith wrote:
> udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir}
> is ${prefix}/lib64. This means some paths need to be hardcoded to "/lib"
> instead of "${base_libdir}".
>
> Signed-off-by: Michael Smith <msmith@cbnco.com>
> ---
> recipes/udev/udev_141.bb | 15 ++++++++++-----
> 1 files changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
> index 3f42564..13b3808 100644
> --- a/recipes/udev/udev_141.bb
> +++ b/recipes/udev/udev_141.bb
> @@ -6,7 +6,7 @@ LICENSE = "GPL"
> # Untested
> DEFAULT_PREFERENCE = "-1"
>
> -PR = "r11"
> +PR = "r12"
>
> # needed for init.d script
> RDEPENDS_${PN} += "udev-utils"
> @@ -51,8 +51,10 @@ RPROVIDES_${PN} = "hotplug"
> FILES_${PN} += "${usrbindir}/* ${usrsbindir}/udevd"
> FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
>
> -FILES_${PN} += "${libdir}/udev/* ${base_libdir}/udev/*"
> -FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
> +# udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir}
> +# is ${prefix}/lib64
> +FILES_${PN} += "/lib/udev/* /lib/udev/*"
> +FILES_${PN}-dbg += "/lib/udev/.debug"
>
> do_install () {
> install -d ${D}${usrsbindir} \
> @@ -64,8 +66,11 @@ do_install () {
> install -d ${D}${sysconfdir}/default
> install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/udev
>
> - mv ${D}${base_libdir}/udev/rules.d ${D}${sysconfdir}/udev/
> - ln -sf ${sysconfdir}/udev/rules.d ${D}${base_libdir}/udev/
> + # Move udev rules from $(udev_prefix)/lib to /etc.
> + # This is hardcoded to $(udev_prefix)/lib/udev/rules.d in the
> + # Makefile, even if libdir is lib64.
> + mv ${D}/lib/udev/rules.d ${D}${sysconfdir}/udev/
> + ln -sf ${sysconfdir}/udev/rules.d ${D}/lib/udev/
>
> cp ${S}/rules/rules.d/* ${D}${sysconfdir}/udev/rules.d/
> cp ${S}/rules/packages/* ${D}${sysconfdir}/udev/rules.d/
next prev parent reply other threads:[~2009-09-01 22:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 15:00 [PATCH 1/4] site/x86_64-linux: Add some vars from ix86-common Michael Smith
2009-08-13 15:00 ` [PATCH 2/4] gcc: fix libstdc/libgcc packaging on x86_64 Michael Smith
2009-08-13 15:00 ` [PATCH 3/4] udev 141: fix " Michael Smith
2009-08-13 15:00 ` [PATCH 4/4] openssl.inc: fix packaging on x86_64; use INC_PR Michael Smith
2009-09-01 22:00 ` Michael Smith [this message]
2009-08-13 15:43 ` [PATCH 2/4] gcc: fix libstdc/libgcc packaging on x86_64 Khem Raj
2009-08-14 13:06 ` Michael Smith
2009-08-14 0:46 ` Douglas Royds
2009-08-14 13:06 ` Rolf Leggewie
2009-08-14 14:15 ` Michael Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A9D9982.4080902@cbnco.com \
--to=msmith@cbnco.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox