On Wed, 2014-12-03 at 13:34 +0100, Łukasz Stelmach wrote:
> It was <2014-11-27 czw 14:26>, when Kévin THIERRY wrote:
> > On 11/27/2014 02:11 PM, Łukasz Stelmach wrote:
> >> It was <2014-11-27 czw 11:25>, when Kévin THIERRY wrote:
> >>> On 11/27/2014 11:05 AM, Łukasz Stelmach wrote:
> >>>> It was <2014-11-26 śro 16:02>, when Dominig ar Foll (Intel OTC) wrote:
> >>>>> The infra team has taken the time to document a model proposition and
> >>>>> would like to get all the feedback possible.
> >>>>>     https://wiki.tizen.org/wiki/Tizen-Distro_Workflow
> >>>> Where can I find repositories with Yocto tools for Ubuntu 12.04 14.04
> >>>> and Debian 7?
> >>> Please follow this wiki page to build a Tizen image with Yocto:
> >>> https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project
> >> What is yocto equivalent of
> >>
> >> git clone git://git.tizen.org/platform/upstream/systemd.git
> >> cd systemd
> >> gbs build -A armv7l
> > cd poky
> > . ./oe-init-build-env
> > bitbake systemd
> 
> --8<---------------cut here---------------start------------->8---
> $ bitbake systemd
> Loading cache: 100% 
> |###################################################################| ETA:  
> 00:00:00
> Loaded 1291 entries from dependency cache.
> ERROR: Nothing PROVIDES 'systemd'
> ERROR: systemd was skipped: 'systemd' not in DISTRO_FEATURES
> --8<---------------cut here---------------end--------------->8---

Set DISTRO = "tizen" in your local.conf and make sure that bblayers.conf
is set up according to
https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project

This is a bit work in progress. In an older revision of meta-tizen, this
DISTRO_FEATURE was set when adding the meta-tizen-common-base layer.

Now it gets set in tizen.conf from that same layer, which is what DISTRO
= "tizen" references.

However, I would like to caution against doing a 1:1 comparison at the
moment. What you'll immediately notice is that the command above is a
lot slower than the corresponding "gbs build" because it'll also build
all of the dependencies, both for tools needed to build and libs that
systemd is linking against.

Bitbake has an feature addressing this (shared state = sstate) which we
will have to enable on tizen.org to get build times comparable to gbs.

Another feature that would be nice to have is the PR service
(https://wiki.yoctoproject.org/wiki/PR_Service). It ensures that a
locally built package always has a higher revision number than the
corresponding package built by the core infrastructure. This is
something that gbs doesn't have, which is a nuisance when
replacing .rpms in an image (must force downgrades).

Another area that'll need work is support for editing the source code.
In the "bitbake systemd" command above one cannot easily compile
modified code. Markus is already working on that.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to