Patchwork [1/2] lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib

login
register
mail settings
Submitter Mei Lei
Date July 20, 2011, 8:48 a.m.
Message ID <7f38271cfc3e635e36fcd75ad79558266fd18326.1311151283.git.lei.mei@intel.com>
Download mbox | patch
Permalink /patch/8047/
State New, archived
Headers show

Comments

Mei Lei - July 20, 2011, 8:48 a.m.
Signed-off-by: Mei Lei <lei.mei@intel.com>
---
 meta/recipes-extended/lsb/lsbsetup_1.0.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - July 20, 2011, 2:43 p.m.
On Wed, 2011-07-20 at 16:48 +0800, Mei Lei wrote:
> Signed-off-by: Mei Lei <lei.mei@intel.com>
> ---
>  meta/recipes-extended/lsb/lsbsetup_1.0.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-extended/lsb/lsbsetup_1.0.bb b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
> index 4295805..03f8012 100644
> --- a/meta/recipes-extended/lsb/lsbsetup_1.0.bb
> +++ b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
> @@ -14,7 +14,7 @@ do_install() {
>      install -d ${D}/usr/bin
>      install -d ${D}/${sysconfdir}
>      install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
> -    install -d  ${D}/usr/lib/lsb
> +    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}/sendmail ${D}/${libdir}/sendmail

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-extended/lsb/lsbsetup_1.0.bb b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
index 4295805..03f8012 100644
--- a/meta/recipes-extended/lsb/lsbsetup_1.0.bb
+++ b/meta/recipes-extended/lsb/lsbsetup_1.0.bb
@@ -14,7 +14,7 @@  do_install() {
     install -d ${D}/usr/bin
     install -d ${D}/${sysconfdir}
     install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
-    install -d  ${D}/usr/lib/lsb
+    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}/sendmail ${D}/${libdir}/sendmail