Skip to contentSkip to conversation

pmdk: fix install error

PATCH Superseded Yongxin Liu 3 participants 6 messages Jan 10, 2019 – Jan 15, 2019

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 pmdk: fix install error

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +4 -16
index 3da22a970..8c3ead2ef 100644
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
-do_install() {
-	oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-	# Copy these into the standard directories
-	install -d ${D}${bindir}/
-	mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-	mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-	install -d ${D}${libdir}
-	mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"
 
-	install -d ${D}${libdir}/pkgconfig
-	mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
-
-	install -d ${D}${includedir}
-	mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+	oe_runmake prefix=${prefix} DESTDIR=${D} install
 
 	# Remove uneeded files
-	rm -rf ${D}/usr/local/
+	rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
 # Include these by default otherwise the SDK is not very useful
Signature · 1 line
2.14.4
#1 lore raw
Quoted 20 lines · Yongxin Liu

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -1
index 3da22a970..8c3ead2ef 100644
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
-do_install() {

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'" · line 37

Quoted 10 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +1 -9
-       oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-       # Copy these into the standard directories
-       install -d ${D}${bindir}/
-       mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-       mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-       install -d ${D}${libdir}
-       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"

^ This looks wrong: Seems config path is prefixed too

Quoted 16 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +3 -7
-       install -d ${D}${libdir}/pkgconfig
-       mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
-
-       install -d ${D}${includedir}
-       mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
 
        # Remove uneeded files
-       rm -rf ${D}/usr/local/
+       rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
 # Include these by default otherwise the SDK is not very useful
--
Quoted 1 line

2.14.4

Andreas

#2 lore raw
Quoted 30 lines

-----Original Message-----
From: Andreas Müller [mailto:[email protected]]
Sent: Thursday, January 10, 2019 14:46
To: Liu, Yongxin
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

meta-

Quoted 12 lines · Yongxin Liu

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
meta- renamed from meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0

oe/recipes-extended/pmdk/pmdk_1.4.2.bb

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

Quoted 4 lines

index 3da22a970..8c3ead2ef 100644

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"

Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
Quoted 12 lines

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'" · line 37

Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +1 -10
-do_install() {
-       oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-       # Copy these into the standard directories
-       install -d ${D}${bindir}/
-       mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-       mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-       install -d ${D}${libdir}
-       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"

^ This looks wrong: Seems config path is prefixed too

Without this I got the following warning.

WARNING: pmdk-1.4.2-r0 do_package: QA Issue: pmdk: Files/directories were installed but not shipped in any package:
/usr/etc
/usr/etc/bash_completion.d
/usr/etc/bash_completion.d/pmempool
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pmdk: 3 installed and not shipped files. [installed-vs-shipped]

With it, the issue is gone. And those files can be shipped in RPM packages.

    $ rpm -qpl pmdk-1.4.2-r0.skylake_avx512_64.rpm 
    /usr
    /usr/bin
    /usr/bin/daxio
    /usr/bin/pmempool
    /usr/etc
    /usr/etc/bash_completion.d
    /usr/etc/bash_completion.d/pmempool

I see similar usage, such as "meta-openembedded/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb:FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*""

Thanks,
Yongxin

Quoted 18 lines
Quoted 16 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +3 -7
-       install -d ${D}${libdir}/pkgconfig
-       mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
-
-       install -d ${D}${includedir}
-       mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
 
        # Remove uneeded files
-       rm -rf ${D}/usr/local/
+       rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
 # Include these by default otherwise the SDK is not very useful
--
Quoted 1 line

2.14.4

Andreas

#3 lore raw
Quoted 55 lines · Yongxin
Quoted 31 lines

-----Original Message-----
From: Andreas Müller [mailto:[email protected]]
Sent: Thursday, January 10, 2019 14:46
To: Liu, Yongxin
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

meta-

Quoted 12 lines · Yongxin Liu

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
meta- renamed from meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0

oe/recipes-extended/pmdk/pmdk_1.4.2.bb

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

Quoted 4 lines

index 3da22a970..8c3ead2ef 100644

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"

Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
Quoted 12 lines

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'" · line 37

Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +1 -10
-do_install() {
-       oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-       # Copy these into the standard directories
-       install -d ${D}${bindir}/
-       mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-       mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-       install -d ${D}${libdir}
-       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"

^ This looks wrong: Seems config path is prefixed too

Without this I got the following warning.

WARNING: pmdk-1.4.2-r0 do_package: QA Issue: pmdk: Files/directories were installed but not shipped in any package:
/usr/etc
/usr/etc/bash_completion.d
/usr/etc/bash_completion.d/pmempool
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pmdk: 3 installed and not shipped files. [installed-vs-shipped]

With it, the issue is gone. And those files can be shipped in RPM packages.

Quoted 9 lines
    $ rpm -qpl pmdk-1.4.2-r0.skylake_avx512_64.rpm
    /usr
    /usr/bin
    /usr/bin/daxio
    /usr/bin/pmempool
    /usr/etc
    /usr/etc/bash_completion.d
    /usr/etc/bash_completion.d/pmempool

Its better to move bash_completion files under usr/share in do_install

Quoted 29 lines

I see similar usage, such as "meta-openembedded/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb:FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*""

Thanks,
Yongxin

Quoted 14 lines
Quoted 14 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +3 -6
-       install -d ${D}${libdir}/pkgconfig
-       mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
-
-       install -d ${D}${includedir}
-       mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
 
        # Remove uneeded files
-       rm -rf ${D}/usr/local/
+       rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
Quoted 4 lines
Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -1
 # Include these by default otherwise the SDK is not very useful
--

2.14.4

Andreas

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 81 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Tuesday, January 15, 2019 06:47
To: Liu, Yongxin
Cc: Andreas Müller; openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

Quoted 9 lines · Yongxin
Quoted 9 lines

-----Original Message-----
From: Andreas Müller [mailto:[email protected]]
Sent: Thursday, January 10, 2019 14:46
To: Liu, Yongxin
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

On Thu, Jan 10, 2019 at 6:40 AM Yongxin Liu

<[email protected]>

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines · wrote:

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++-------------

---

Quoted 25 lines
Quoted 12 lines

meta-

Quoted 3 lines
 1 file changed, 4 insertions(+), 16 deletions(-)
meta- renamed from meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0

oe/recipes-extended/pmdk/pmdk_1.4.2.bb

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

Quoted 4 lines

index 3da22a970..8c3ead2ef 100644

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"

Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
Quoted 12 lines

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'" · line 37

Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +1 -10
-do_install() {
-       oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-       # Copy these into the standard directories
-       install -d ${D}${bindir}/
-       mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-       mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-       install -d ${D}${libdir}
-       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"

^ This looks wrong: Seems config path is prefixed too

Quoted 3 lines

Without this I got the following warning.

    WARNING: pmdk-1.4.2-r0 do_package: QA Issue: pmdk:

Files/directories were installed but not shipped in any package:

Quoted 4 lines

/usr/etc
/usr/etc/bash_completion.d /usr/etc/bash_completion.d/pmempool
Please set FILES such that these items are packaged. Alternatively

if they are unneeded, avoid installing them or delete them within do_install.

Quoted 3 lines

pmdk: 3 installed and not shipped files. [installed-vs-shipped]

With it, the issue is gone. And those files can be shipped in RPM

packages.

Quoted 10 lines
    $ rpm -qpl pmdk-1.4.2-r0.skylake_avx512_64.rpm
    /usr
    /usr/bin
    /usr/bin/daxio
    /usr/bin/pmempool
    /usr/etc
    /usr/etc/bash_completion.d
    /usr/etc/bash_completion.d/pmempool
Quoted 3 lines

Its better to move bash_completion files under usr/share in do_install

How about install bash_completion files directly to /etc?
It seems /etc/bash_completion.d is the more common place to hold such files.

All I need to do is to specify sysconfdir in install command, such as " oe_runmake prefix=${prefix} DESTDIR=${D} sysconfdir=/etc install". And add FILES_${PN} += "${sysconfdir}" to avoid QA issue.

What do you think?

--Yongxin

Quoted 32 lines
Quoted 1 line

I see similar usage, such as "meta-openembedded/meta-oe/recipes-

support/lio-utils/lio-utils_4.1.bb:FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*""

Quoted 8 lines

Thanks,
Yongxin

Quoted 3 lines
Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -2
-       install -d ${D}${libdir}/pkgconfig
-       mv ${D}/usr/local/lib/pkgconfig/*.pc

${D}${libdir}/pkgconfig/

Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +3 -4
-
-       install -d ${D}${includedir}
-       mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
 
        # Remove uneeded files
-       rm -rf ${D}/usr/local/
+       rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
Quoted 4 lines
Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -1
 # Include these by default otherwise the SDK is not very useful
--

2.14.4

Andreas

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw

yes you can do that

Quoted 130 lines · Yongxin
Quoted 82 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Tuesday, January 15, 2019 06:47
To: Liu, Yongxin
Cc: Andreas Müller; openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

Quoted 9 lines · Yongxin
Quoted 9 lines

-----Original Message-----
From: Andreas Müller [mailto:[email protected]]
Sent: Thursday, January 10, 2019 14:46
To: Liu, Yongxin
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH V2] pmdk: fix install error

On Thu, Jan 10, 2019 at 6:40 AM Yongxin Liu

<[email protected]>

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines · wrote:

Install files to /usr instead of /usr/local by replacing PREFIX=${prefix} with prefix=${prefix}.
Remove unnecessary files which are only for debugging. Set FILES to package /usr/etc/bash_completion.d/pmempool.

---
 meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 20 ++++-------------

---

Quoted 25 lines
Quoted 12 lines

meta-

Quoted 3 lines
 1 file changed, 4 insertions(+), 16 deletions(-)
meta- renamed from meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0

oe/recipes-extended/pmdk/pmdk_1.4.2.bb

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

Quoted 4 lines

index 3da22a970..8c3ead2ef 100644

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
@@ -34,25 +34,13 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'

EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"

Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -0
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
 
Quoted 12 lines

meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'" · line 37

Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +1 -10
-do_install() {
-       oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
-       # Copy these into the standard directories
-       install -d ${D}${bindir}/
-       mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
-       mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
-       install -d ${D}${libdir}
-       mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+FILES_${PN} = "/usr/etc"

^ This looks wrong: Seems config path is prefixed too

Quoted 3 lines

Without this I got the following warning.

    WARNING: pmdk-1.4.2-r0 do_package: QA Issue: pmdk:

Files/directories were installed but not shipped in any package:

Quoted 4 lines

/usr/etc
/usr/etc/bash_completion.d /usr/etc/bash_completion.d/pmempool
Please set FILES such that these items are packaged. Alternatively

if they are unneeded, avoid installing them or delete them within do_install.

Quoted 3 lines

pmdk: 3 installed and not shipped files. [installed-vs-shipped]

With it, the issue is gone. And those files can be shipped in RPM

packages.

Quoted 10 lines
    $ rpm -qpl pmdk-1.4.2-r0.skylake_avx512_64.rpm
    /usr
    /usr/bin
    /usr/bin/daxio
    /usr/bin/pmempool
    /usr/etc
    /usr/etc/bash_completion.d
    /usr/etc/bash_completion.d/pmempool
Quoted 3 lines

Its better to move bash_completion files under usr/share in do_install

How about install bash_completion files directly to /etc?
It seems /etc/bash_completion.d is the more common place to hold such files.

All I need to do is to specify sysconfdir in install command, such as " oe_runmake prefix=${prefix} DESTDIR=${D} sysconfdir=/etc install". And add FILES_${PN} += "${sysconfdir}" to avoid QA issue.

What do you think?

--Yongxin

Quoted 32 lines
Quoted 1 line

I see similar usage, such as "meta-openembedded/meta-oe/recipes-

support/lio-utils/lio-utils_4.1.bb:FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*""

Quoted 8 lines

Thanks,
Yongxin

Quoted 3 lines
Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -2
-       install -d ${D}${libdir}/pkgconfig
-       mv ${D}/usr/local/lib/pkgconfig/*.pc

${D}${libdir}/pkgconfig/

Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +3 -4
-
-       install -d ${D}${includedir}
-       mv ${D}/usr/local/include/* ${D}${includedir}/
+do_install() {
+       oe_runmake prefix=${prefix} DESTDIR=${D} install
 
        # Remove uneeded files
-       rm -rf ${D}/usr/local/
+       rm -rf ${D}/usr/lib64/pmdk_debug
 }
 
Quoted 4 lines
Quoted 3 lines
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb +0 -1
 # Include these by default otherwise the SDK is not very useful
--

2.14.4

Andreas

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel