From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id AB40C6D3DE for ; Mon, 18 Nov 2013 05:26:11 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id rAI5QE1O004856 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 17 Nov 2013 21:26:14 -0800 (PST) Received: from [128.224.162.231] (128.224.162.231) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.347.0; Sun, 17 Nov 2013 21:26:13 -0800 Message-ID: <5289A4F4.2070408@windriver.com> Date: Mon, 18 Nov 2013 13:26:12 +0800 From: Kang Kai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: References: In-Reply-To: X-Originating-IP: [128.224.162.231] Subject: Re: [PATCH 1/1] lsb: update directory of install_initd and remove_initd 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: Mon, 18 Nov 2013 05:26:12 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit On 2013年11月13日 16:27, Kai Kang wrote: ping? > According to LSB specification: > > http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/installinitd.html > http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/removeinitd.html > > commands install_initd and remove_initd should under directory /usr/lib/lsb/. > > lsb recipe creates these commands under directory ${libdir} which may > expand to /usr/lib64 when multilib is enabled on qemux86-64. That will > cause LSB command check for install_initd and remove_initd fail. So > correct it. > > Signed-off-by: Kai Kang > --- > meta/recipes-extended/lsb/lsb_4.1.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb > index c80ff59..8105e59 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 ${sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd > - ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd > + ln -sf ${sbindir}/chkconfig ${D}/usr/lib/lsb/install_initd > + ln -sf ${sbindir}/chkconfig ${D}/usr/lib/lsb/remove_initd > ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail > > if [ "${TARGET_ARCH}" = "x86_64" ];then -- Regards, Neil | Kai Kang