* [PATCHv2 0/5] Final patches for SDK rootfs creation.
@ 2014-01-31 9:29 David Nyström
2014-01-31 9:30 ` [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:29 UTC (permalink / raw)
To: openembedded-core
With this pathset, All postinstall dependencies from oe-core will be
available in the nativeSDK tarball.
David Nyström (5):
postinst-intercept: New recipe to include postinstall intercepts in
nativesdk
nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept
to SDK
nspr: Added nativesdk to BBCLASSEXTEND
nss: Add nativesdk to BBCLASSEXTEND and bugfix
nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default
inclusion in host SDK
.../packagegroups/nativesdk-packagegroup-sdk-host.bb | 2 ++
.../postinst-intercept/postinst-intercept_1.0.bb | 19 +++++++++++++++++++
meta/recipes-support/nspr/nspr_4.10.2.bb | 2 +-
meta/recipes-support/nss/nss.inc | 11 ++++++++++-
4 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb
--
1.8.3.2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
@ 2014-01-31 9:30 ` David Nyström
2014-01-31 9:30 ` [PATCHv2 2/5] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:30 UTC (permalink / raw)
To: openembedded-core
Adding ability to use postinstalls intercepts in the nativesdk env, and
making sure the correlate between repo + SDK.
This to enable rootfs generation from a package repository using only a
package repository and the toolchain tarball.
See https://github.com/nysan/rootfs-sandbox for examples.
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] 7+ messages in thread
* [PATCHv2 2/5] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
2014-01-31 9:30 ` [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström
@ 2014-01-31 9:30 ` David Nyström
2014-01-31 9:30 ` [PATCHv2 3/5] nspr: Added nativesdk to BBCLASSEXTEND David Nyström
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:30 UTC (permalink / raw)
To: openembedded-core
Adding ability to use postinstalls intercepts in the nativesdk env, and
making sure the correlate between repo + SDK.
This to enable rootfs generation from a package repository using only a
package repository and the toolchain tarball.
See https://github.com/nysan/rootfs-sandbox for examples.
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 855fe4e..09e0aef 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] 7+ messages in thread
* [PATCHv2 3/5] nspr: Added nativesdk to BBCLASSEXTEND
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
2014-01-31 9:30 ` [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström
2014-01-31 9:30 ` [PATCHv2 2/5] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström
@ 2014-01-31 9:30 ` David Nyström
2014-01-31 9:30 ` [PATCHv2 4/5] nss: Add nativesdk to BBCLASSEXTEND and bugfix David Nyström
2014-01-31 9:30 ` [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK David Nyström
4 siblings, 0 replies; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:30 UTC (permalink / raw)
To: openembedded-core
nspr is a dependency of nss. Since shsignlibs is used
from the nss postinstall hook. It should be included in
nativesdk to make offline rootfs construction possible.
Signed-off-by: David Nyström <david.nystrom@enea.com>
---
meta/recipes-support/nspr/nspr_4.10.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/nspr/nspr_4.10.2.bb b/meta/recipes-support/nspr/nspr_4.10.2.bb
index 4db506c..bb8912e 100644
--- a/meta/recipes-support/nspr/nspr_4.10.2.bb
+++ b/meta/recipes-support/nspr/nspr_4.10.2.bb
@@ -175,4 +175,4 @@ FILES_${PN}-dev = "${bindir}/* ${libdir}/nspr/tests/* ${libdir}/pkgconfig \
${includedir}/* ${datadir}/aclocal/* "
FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCHv2 4/5] nss: Add nativesdk to BBCLASSEXTEND and bugfix
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
` (2 preceding siblings ...)
2014-01-31 9:30 ` [PATCHv2 3/5] nspr: Added nativesdk to BBCLASSEXTEND David Nyström
@ 2014-01-31 9:30 ` David Nyström
2014-01-31 9:30 ` [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK David Nyström
4 siblings, 0 replies; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:30 UTC (permalink / raw)
To: openembedded-core
Since shsignlibs is used
from the nss postinstall hook. It should be included in
nativesdk to make offline rootfs construction possible.
Signed-off-by: David Nyström <david.nystrom@enea.com>
---
meta/recipes-support/nss/nss.inc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 9a21976..a6aeed8 100644
--- a/meta/recipes-support/nss/nss.inc
+++ b/meta/recipes-support/nss/nss.inc
@@ -37,6 +37,10 @@ do_compile_prepend_class-native() {
export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE}
}
+do_compile_prepend_class-nativesdk() {
+ export LDFLAGS=""
+}
+
do_compile() {
export CROSS_COMPILE=1
export NATIVE_CC="gcc"
@@ -73,6 +77,11 @@ do_compile() {
OS_TEST=${OS_TEST} \
}
+
+do_install_prepend_class-nativesdk() {
+ export LDFLAGS=""
+}
+
do_install() {
export CROSS_COMPILE=1
export NATIVE_CC="gcc"
@@ -193,4 +202,4 @@ FILES_${PN}-dbg = "\
${libdir}/.debug/* \
"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
` (3 preceding siblings ...)
2014-01-31 9:30 ` [PATCHv2 4/5] nss: Add nativesdk to BBCLASSEXTEND and bugfix David Nyström
@ 2014-01-31 9:30 ` David Nyström
2014-01-31 15:46 ` Richard Purdie
4 siblings, 1 reply; 7+ messages in thread
From: David Nyström @ 2014-01-31 9:30 UTC (permalink / raw)
To: openembedded-core
Since shsignlibs is used from the nss postinstall hook. It should be
included in nativesdk to make offline rootfs construction possible.
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 09e0aef..693437e 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -24,6 +24,7 @@ RDEPENDS_${PN} = "\
nativesdk-makedevs \
nativesdk-smartpm \
nativesdk-postinst-intercept \
+ nativesdk-nss \
"
RDEPENDS_${PN}_darwin = "\
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK
2014-01-31 9:30 ` [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK David Nyström
@ 2014-01-31 15:46 ` Richard Purdie
0 siblings, 0 replies; 7+ messages in thread
From: Richard Purdie @ 2014-01-31 15:46 UTC (permalink / raw)
To: David Nyström; +Cc: openembedded-core
On Fri, 2014-01-31 at 10:30 +0100, David Nyström wrote:
> Since shsignlibs is used from the nss postinstall hook. It should be
> included in nativesdk to make offline rootfs construction possible.
>
> 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 09e0aef..693437e 100644
> --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> @@ -24,6 +24,7 @@ RDEPENDS_${PN} = "\
> nativesdk-makedevs \
> nativesdk-smartpm \
> nativesdk-postinst-intercept \
> + nativesdk-nss \
> "
Do we really want/need to add nativesdk-nss to every sdk build? :/
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-01-31 15:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31 9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
2014-01-31 9:30 ` [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström
2014-01-31 9:30 ` [PATCHv2 2/5] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström
2014-01-31 9:30 ` [PATCHv2 3/5] nspr: Added nativesdk to BBCLASSEXTEND David Nyström
2014-01-31 9:30 ` [PATCHv2 4/5] nss: Add nativesdk to BBCLASSEXTEND and bugfix David Nyström
2014-01-31 9:30 ` [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK David Nyström
2014-01-31 15:46 ` Richard Purdie
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.