On ons 22 jan 2014 19:11:21, Otavio Salvador wrote:
On Wed, Jan 22, 2014 at 4:02 PM, David Nyström
<[email protected]> wrote:
On ons 22 jan 2014 16:47:06, Otavio Salvador wrote:
On Wed, Jan 22, 2014 at 1:08 PM, David Nyström
<[email protected]> wrote:
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 <[email protected]>
Much better. Thanks.
Reviewed-by: Otavio Salvador <[email protected]>
Regarding the rootfs-sandbox, how are you intending to proper
integrate it with the toolchain?
Search the oe-core list for the previous discussions with Tom Zanussi.
I believe the long term goals is to redo rootfs_*.bbclass in python, and let
both bitbake and MIC(WIC) use
the same code for image creation.(SDK env + bitbake env.)
I'm fine with continued dev/inclusion of rootfs-sandbox, but I think that
might not be acceptable as a long term solution since
it may be maintenance heavy, since it uses alot of oe-core internal env.
vars.
Possible routes are:
1. Use common code for rootfs assembly. (WIC)
2. Cleanup env. var. usage in postinstall hooks, and be aggressive in
denying new additions. (Continue dev. on rootfs-sandbox)
Off-topic:
With above patches, I'm down to 1 postinstall failures for
packagegroup-core-lsb:
1. missing shlibsign, (nss), cant get the damn thing to compile for
nativesdk yet.
There are 2 other failures as well, but they fail when bitbake:ing as well.
Only works well with ipk sofar.
So I think we ought to work on this in a layer and put things in
OE-Core when it is ready.
What do you think?
Well, the WIC is a slightly different approach.
I obviously prefer this method, since you can work against and expand
the target rootfs, the nativesdk and target sysroots via the repo,
and do it iteratively.
But there is also parts missing in this approach that would need to be
replicated.
SD-card creation, partitioning, FS conversion et.c.
However, I have no problems with including it others +1:s this.
Br,
David
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core