mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
pm-qa: fix PN -> BPN for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
@@ -28,7 +28,7 @@ do_compile () {
|
|||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -d ${D}${libdir}/${PN}
|
install -d ${D}${libdir}/${BPN}
|
||||||
|
|
||||||
# Install the compiled binaries that were built in the previous step
|
# Install the compiled binaries that were built in the previous step
|
||||||
for x in `find . -name "*.c"`
|
for x in `find . -name "*.c"`
|
||||||
@@ -45,7 +45,7 @@ do_install () {
|
|||||||
sed -i -e 's#..\/utils\/##' ${script}
|
sed -i -e 's#..\/utils\/##' ${script}
|
||||||
|
|
||||||
script_basename=`basename ${script}`
|
script_basename=`basename ${script}`
|
||||||
install -m 0755 $script ${D}${libdir}/${PN}/${script_basename}
|
install -m 0755 $script ${D}${libdir}/${BPN}/${script_basename}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install the shell scripts NOT in the $libdir directory since those
|
# Install the shell scripts NOT in the $libdir directory since those
|
||||||
@@ -55,7 +55,7 @@ do_install () {
|
|||||||
# if the script includes any helper scripts from the $libdir
|
# if the script includes any helper scripts from the $libdir
|
||||||
# directory then change the source path to the absolute path
|
# directory then change the source path to the absolute path
|
||||||
# to reflect the install location of the helper scripts.
|
# to reflect the install location of the helper scripts.
|
||||||
sed -i -e "s#source ../include#source ${libdir}/${PN}#g" ${script}
|
sed -i -e "s#source ../include#source ${libdir}/${BPN}#g" ${script}
|
||||||
# Remove hardcoded relative paths
|
# Remove hardcoded relative paths
|
||||||
sed -i -e 's#..\/utils\/##' ${script}
|
sed -i -e 's#..\/utils\/##' ${script}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user