From: HanChao <chao.han@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: lsb: change script init-functions installed path
Date: Fri, 21 Feb 2014 15:21:14 +0800 [thread overview]
Message-ID: <5306FE6A.2020704@windriver.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: 0001-lsb-change-script-init-functions-installed-path.patch --]
[-- Type: text/x-patch, Size: 1929 bytes --]
From fbdcf88fe2d46e83f1e25a5681e16ea5c967a11a Mon Sep 17 00:00:00 2001
From: Han Chao <chan@windriver.com>
Date: Fri, 21 Feb 2014 10:44:35 +0800
Subject: [PATCH] lsb: change script init-functions installed path
The bb code assume the target is 64bit, so some files can not be
installed well. init-functions is a text script. Other script called
it from /lib/lsb, but it is installed on /lib64/lsb.
So this change fix the image path and packages.
Signed-off-by: Han Chao <chan@windriver.com>
---
meta/recipes-extended/lsb/lsb_4.1.bb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index ecb4dcc..62a8077 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -30,6 +30,7 @@ do_install(){
mkdir -p ${D}${base_bindir}
mkdir -p ${D}/${baselib}
+ mkdir -p ${D}/lib
mkdir -p ${D}${sysconfdir}/lsb-release.d
printf "LSB_VERSION=\"core-4.1-noarch:" > ${D}${sysconfdir}/lsb-release
@@ -70,12 +71,12 @@ do_install(){
do_install_append(){
install -d ${D}${sysconfdir}/core-lsb
- install -d ${D}/${baselib}/lsb
+ install -d ${D}/lib/lsb
for i in lsb_killproc lsb_log_message lsb_pidofproc lsb_start_daemon
do
install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
done
- install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
+ install -m 0755 ${WORKDIR}/init-functions ${D}/lib/lsb
# creat links for LSB test
install -d ${D}/usr/lib/lsb
@@ -114,8 +115,8 @@ do_install_append(){
ln -sf ld.so.1 ld-lsb-ppc32.so.3
fi
}
-FILES_${PN} += "/lib64 \
+FILES_${PN} += "/lib \
+ ${baselib} \
/usr/lib/lsb \
- ${base_libdir}/lsb/* \
${libdir}/sendmail \
"
--
1.7.9.5
reply other threads:[~2014-02-21 7:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5306FE6A.2020704@windriver.com \
--to=chao.han@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.