postinst-intercept: rename recipe for nativesdk only
cover postinst-intercept: rename recipe for nativesdk only
The following changes since commit 3c741a8d33acbf4b3d5eecc04533bc76e2f37253:
oprofile: 0.9.9 -> 1.0.0 (2014-11-09 10:21:24 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/fix-nonexist-pkg
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-nonexist-pkg
Hongxu Jia (1):
postinst-intercept: rename recipe for nativesdk only
...ostinst-intercept_1.0.bb => nativesdk-postinst-intercept_1.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/postinst-intercept/{postinst-intercept_1.0.bb => nativesdk-postinst-intercept_1.0.bb} (83%)Signature · 1 line
1.9.1
PATCH 1/1 postinst-intercept: rename recipe for nativesdk only
The recipe postinst-intercept is only used for nativesdk, so we rename it from postinst-intercept to nativesdk-postinst-intercept.
It avoids unnecessary build of postinst-intercept.
[YOCTO #6937]
Signed-off-by Hongxu Jia <[email protected]>
---
...ostinst-intercept_1.0.bb => nativesdk-postinst-intercept_1.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/postinst-intercept/{postinst-intercept_1.0.bb => nativesdk-postinst-intercept_1.0.bb} (83%)meta/recipes-devtools/postinst-intercept/nativesdk-postinst-intercept_1.0.bb renamed from meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb +3 -3
@@ -2,12 +2,12 @@ SUMMARY = "Postinstall scriptlets" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -FILES_${PN}_append_class-nativesdk = " ${datadir}/postinst-intercepts/*" +FILES_${PN}_append = " ${datadir}/postinst-intercepts/*" do_configure[noexec] = "1" do_compile[noexec] = "1" -do_install_append_class-nativesdk() { +do_install() { install -d ${D}${datadir}/postinst-intercepts install -m 755 ${COREBASE}/scripts/postinst-intercepts/postinst_intercept ${D}${datadir}/postinst-intercepts/ install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_font_cache ${D}${datadir}/postinst-intercepts/
@@ -15,5 +15,5 @@ do_install_append_class-nativesdk() { install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_pixbuf_cache ${D}${datadir}/postinst-intercepts/ } -BBCLASSEXTEND = "nativesdk" +inherit nativesdk INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
1.9.1