From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/3] lsb 4.1: fix /usr/lib/ hardcodes
Date: Tue, 4 Nov 2014 08:52:17 -0600 [thread overview]
Message-ID: <5458E821.40502@windriver.com> (raw)
In-Reply-To: <1415108447-16821-2-git-send-email-koen.kooi@linaro.org>
On 11/4/14, 7:40 AM, Koen Kooi wrote:
> Also collapse do_install and do_install_append.
/usr/lib is hard coded for a reason. The LSB specification says the files must
be installed in /usr/lib/lsb. (If this has changed, great, but it was true
through at least early last year.)
--Mark
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> ---
> meta/recipes-extended/lsb/lsb_4.1.bb | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
> index 34a70d0..897520a 100644
> --- a/meta/recipes-extended/lsb/lsb_4.1.bb
> +++ b/meta/recipes-extended/lsb/lsb_4.1.bb
> @@ -72,9 +72,7 @@ do_install(){
> touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-ppc64
> touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-ppc64
> fi
> -}
>
> -do_install_append(){
> install -d ${D}${sysconfdir}/core-lsb
> install -d ${D}/${baselib}/lsb
> for i in lsb_killproc lsb_log_message lsb_pidofproc lsb_start_daemon
> @@ -84,9 +82,9 @@ do_install_append(){
> install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
>
> # creat links for LSB test
> - install -d ${D}/usr/lib/lsb
> - ln -sf ${sbindir}/chkconfig ${D}/usr/lib/lsb/install_initd
> - ln -sf ${sbindir}/chkconfig ${D}/usr/lib/lsb/remove_initd
> + install -d ${D}${libdir}/lsb
> + ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/install_initd
> + ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/remove_initd
> install -d ${D}/${libdir}
> ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
>
> @@ -120,8 +118,9 @@ do_install_append(){
> ln -sf ld.so.1 ld-lsb-ppc32.so.3
> fi
> }
> +
> FILES_${PN} += "/lib64 \
> - /usr/lib/lsb \
> + ${libdir}/lsb \
> ${base_libdir}/lsb/* \
> ${libdir}/sendmail \
> "
>
next prev parent reply other threads:[~2014-11-04 14:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 13:40 [PATCH 1/3] lsb 4.1: Deal with "make clean" breakage Koen Kooi
2014-11-04 13:40 ` [PATCH 2/3] lsb 4.1: fix /usr/lib/ hardcodes Koen Kooi
2014-11-04 14:52 ` Mark Hatle [this message]
2014-11-04 13:40 ` [PATCH 3/3] lsb 4.1: fix indentation Koen Kooi
2014-11-05 10:48 ` [PATCH 1/3] lsb 4.1: Deal with "make clean" breakage Richard Purdie
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=5458E821.40502@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@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 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.