* [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk @ 2014-01-22 13:04 David Nyström 2014-01-22 13:04 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström 2014-01-22 14:53 ` [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk Otavio Salvador 0 siblings, 2 replies; 4+ messages in thread From: David Nyström @ 2014-01-22 13:04 UTC (permalink / raw) To: openembedded-core Adding ability to use postinstalls intercepts in the nativesdk env, and making sure the correlate between repo + SDK. Signed-off-by: David Nyström <david.nystrom@enea.com> --- .../postinst-intercept/postinst-intercept_1.0.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb diff --git a/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb b/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb new file mode 100644 index 0000000..41b9a6e --- /dev/null +++ b/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "Postinstall scriptlets" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +FILES_${PN}_append_class-nativesdk = " ${datadir}/postinst-intercepts/*" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install_append_class-nativesdk() { + 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/ + install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_icon_cache ${D}${datadir}/postinst-intercepts/ + install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_pixbuf_cache ${D}${datadir}/postinst-intercepts/ +} + +BBCLASSEXTEND = "nativesdk" +INHIBIT_DEFAULT_DEPS = "1" -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK 2014-01-22 13:04 [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström @ 2014-01-22 13:04 ` David Nyström 2014-01-22 14:53 ` [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk Otavio Salvador 1 sibling, 0 replies; 4+ messages in thread From: David Nyström @ 2014-01-22 13:04 UTC (permalink / raw) To: openembedded-core Signed-off-by: David Nyström <david.nystrom@enea.com> --- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index 1065f30..f1bc1ea 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -23,6 +23,7 @@ RDEPENDS_${PN} = "\ nativesdk-shadow \ nativesdk-makedevs \ nativesdk-smartpm \ + nativesdk-postinst-intercept \ " RDEPENDS_${PN}_darwin = "\ -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk 2014-01-22 13:04 [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström 2014-01-22 13:04 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström @ 2014-01-22 14:53 ` Otavio Salvador 2014-01-22 15:15 ` David Nyström 1 sibling, 1 reply; 4+ messages in thread From: Otavio Salvador @ 2014-01-22 14:53 UTC (permalink / raw) To: David Nyström; +Cc: Patches and discussions about the oe-core layer On Wed, Jan 22, 2014 at 11:04 AM, David Nyström <david.c.nystrom@gmail.com> wrote: > Adding ability to use postinstalls intercepts in the nativesdk env, and > making sure the correlate between repo + SDK. > > Signed-off-by: David Nyström <david.nystrom@enea.com> Can you extend the commit log a little bit to explain the reasoning behind this? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk 2014-01-22 14:53 ` [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk Otavio Salvador @ 2014-01-22 15:15 ` David Nyström 0 siblings, 0 replies; 4+ messages in thread From: David Nyström @ 2014-01-22 15:15 UTC (permalink / raw) To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer On ons 22 jan 2014 15:53:18, Otavio Salvador wrote: > On Wed, Jan 22, 2014 at 11:04 AM, David Nyström > <david.c.nystrom@gmail.com> wrote: >> Adding ability to use postinstalls intercepts in the nativesdk env, and >> making sure the correlate between repo + SDK. >> >> Signed-off-by: David Nyström <david.nystrom@enea.com> > > Can you extend the commit log a little bit to explain the reasoning behind this? > v2 sent to list. rootfs-sandbox is a template intended to figure out whats necessary to make this work properly. At a later stage we have discussed adapting the Tizen MIC2 to OE based distros to do this in a cleaner way. Br, David ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-22 15:15 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-22 13:04 [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström 2014-01-22 13:04 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström 2014-01-22 14:53 ` [PATCH 1/2] postinst-intercept: New recipe to include postinstall intercepts in nativesdk Otavio Salvador 2014-01-22 15:15 ` David Nyström
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox