From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 2830460842 for ; Fri, 13 Sep 2013 08:02:05 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r8D826C5028695 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 13 Sep 2013 01:02:07 -0700 (PDT) Received: from [128.224.162.194] (128.224.162.194) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.2.347.0; Fri, 13 Sep 2013 01:02:05 -0700 Message-ID: <5232C676.30408@windriver.com> Date: Fri, 13 Sep 2013 16:01:58 +0800 From: Hongxu Jia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: References: <772c186481bec298466fe249f6be7a661e7c6c7b.1379049723.git.hongxu.jia@windriver.com> <5232C52D.5090005@pabigot.com> In-Reply-To: <5232C52D.5090005@pabigot.com> Subject: Re: [PATCH 1/4] LSB Command Check: fix install_initd and remove_initd not found X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Sep 2013 08:02:05 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 09/13/2013 03:56 PM, Peter A. Bigot wrote: > 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 >> --- >> 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 > Ok, I will rebase it. Thanks, Hongxu >> 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 > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core