Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Peter A. Bigot" <pab@pabigot.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/4] LSB Command Check: fix install_initd and remove_initd not found
Date: Fri, 13 Sep 2013 02:56:29 -0500	[thread overview]
Message-ID: <5232C52D.5090005@pabigot.com> (raw)
In-Reply-To: <772c186481bec298466fe249f6be7a661e7c6c7b.1379049723.git.hongxu.jia@windriver.com>

On 09/13/2013 12:33 AM, Hongxu Jia wrote:
> The install_initd and remove_initd are linked to /sbin/chkconfig for lsb
> core test, and chkconfig has been moved from /sbin to /usr/sbin in order
> to fix QA warning about unsafe references in binaries.
> (In commit e486242db83297701803866bea971a2f1a1135fe)
>
> Let install_initd and remove_initd link to /usr/sbin/chkconfig could fix
> this issue.
>
> [YOCTO #5152]
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>   meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 4 ++--
>   meta/recipes-extended/lsb/lsb_4.1.bb                | 4 ++--
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
> index c6f8b1d..38c3cdf 100644
> --- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
> +++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
> @@ -50,8 +50,8 @@ do_install() {
>   
>   do_install_append_linuxstdbase() {
>   	install -d ${D}${libdir}/lsb/
> -	ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
> -	ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
> +	ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
> +	ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
>   }
>   

Your repository appears to be out of date; this append was removed in 
oe-core 77a0b904e18688ecf81a35544f3a5d6ba0aa61a8

>   PACKAGES =+ "${PN}-alternatives ${PN}-alternatives-doc"
> diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
> index 59d5bca..c80ff59 100644
> --- a/meta/recipes-extended/lsb/lsb_4.1.bb
> +++ b/meta/recipes-extended/lsb/lsb_4.1.bb
> @@ -79,8 +79,8 @@ do_install_append(){
>   
>          # creat links for LSB test
>          install -d ${D}/${libdir}/lsb
> -       ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
> -       ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
> +       ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
> +       ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
>          ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
>   
>          if [ "${TARGET_ARCH}" = "x86_64" ];then



  reply	other threads:[~2013-09-13  7:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13  5:33 [PATCH 0/4] fix LSB Command Check failed Hongxu Jia
2013-09-13  5:33 ` [PATCH 1/4] LSB Command Check: fix install_initd and remove_initd not found Hongxu Jia
2013-09-13  7:56   ` Peter A. Bigot [this message]
2013-09-13  8:01     ` Hongxu Jia
2013-09-13  5:33 ` [PATCH 2/4] busybox: move su to /bin for lsb command check test Hongxu Jia
2013-09-13  5:33 ` [PATCH 3/4] shadow: " Hongxu Jia
2013-09-13  5:33 ` [PATCH 4/4] util-linux: " Hongxu Jia
  -- strict thread matches above, loose matches on Subject: below --
2013-09-13  8:14 [PATCH V2 0/4] fix LSB Command Check failed Hongxu Jia
2013-09-13  8:14 ` [PATCH 1/4] LSB Command Check: fix install_initd and remove_initd not found Hongxu Jia

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=5232C52D.5090005@pabigot.com \
    --to=pab@pabigot.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox