[Dev] Help - Build tizen generic image

Suresh Kanzariya skanzariya at gmail.com
Wed Apr 2 12:29:52 GMT 2014


Thanks Jian for the explanation, Will try and let you know the feedback.

Thanks.
Suresh

On 4/2/14, Jian-feng Ding <jian-feng.ding at intel.com> wrote:
>> One more thing, Suppose I want to build Tizen image for mobile  then I
>> need to sync the mobile repo and also need to change my gbs.conf file
>> pointing to Tizen:mobile, Right?
>
> Yes, different profile need it's corresponding packages and repos.
>
> And 'gbs build' is just the first step to generate images, which will only
> create the rpm repos after building done. You need to provide a workable ks
> file and run 'gbs createimage' command. Please refer the doc:
>
> https://source.tizen.org/documentation/developer-guide/creating-tizen-image-scratch
> https://source.tizen.org/documentation/developer-guide/creating-tizen-image
>
> thanks
> - jf.ding
>
> On Wed, Apr 02, 2014 at 04:40:49PM +0530, Suresh Kanzariya wrote:
>> Hi Stephane,
>>
>> Thanks for the information.
>>
>> I will change the gbs.conf file pointing to Tizen:Generic and will try
>> to build the image.
>>
>> One more thing, Suppose I want to build Tizen image for mobile  then I
>> need to sync the mobile repo and also need to change my gbs.conf file
>> pointing to Tizen:mobile, Right?
>>
>> Waiting for my  repo sync to finish up ! :)
>>
>>
>> On 4/2/14, Stéphane Desneux <stephane.desneux at open.eurogiciel.org> wrote:
>> > Hi Suresh,
>> >
>> > From the command you pasted in your message, I see that:
>> > - you clone Tizen:Generic (repo init ... -m generic.xml)
>> > - but your GBS conf points to Tizen:Mobile snapshots
>> >
>> > This will probably fail at build time.
>> >
>> > Another point: the manifest files in scm/manifest are not up to date. I
>> > think that after "repo init", you'll have to replace the generic.xml
>> > file with a manifest coming from snapshots, for example:
>> > http://download.tizen.org/snapshots/tizen/generic/generic-wayland-x86_64/tizen_20140331.9/builddata/manifest/tizen_20140331.9_x86_64.xml
>> >
>> > And finally, AFAIK, you're supposed to run "gbs build" in the same
>> > directory as "repo sync".
>> >
>> > --
>> > Stéphane Desneux
>> > Intel OTC - Vannes/FR
>> > gpg:1CA35726/DFA9B0232EF80493AF2891FA24E3A2841CA35726
>> >
>> > On 01/04/2014 19:04, Suresh Kanzariya wrote:
>> >> Hi,
>> >>
>> >> Before I have build individual package for Tizen, now I Need expert
>> >> advise to build tizen image.
>> >>
>> >> I am following below link.
>> >> https://source.tizen.org/documentation/developer-guide/cloning-tizen-source
>> >>
>> >> Here are my command
>> >> cd /data/TizenProject
>> >>
>> >> repo init -u ssh://<username>@review.tizen.org:29418/scm/manifest -b
>> >> tize
>> >> n -m generic.xml
>> >>
>> >> repo sync
>> >>
>> >> Now in order to build the image from where should I apply gbs build
>> >> command? (i.e. from TizenProject dir), And 'gbs build' will build the
>> >> complete image or is there any other method?
>> >>
>> >>
>> >>
>> >> Here are content from my gbs.conf file.  I am not able to attach the
>> >> file so pasted it here !!
>> >>
>> >> [general]
>> >> #Current profile name which should match a profile section name
>> >> profile = profile.tizen
>> >> tmpdir = /var/tmp
>> >> buildroot = /data/GBS-ROOT/
>> >> packaging_branch = master
>> >>
>> >>
>> >> [profile.tizen]
>> >> #Common authentication info for whole profile
>> >> #user =
>> >> #CAUTION: please use the key name "passwd" to reset plaintext password
>> >> #passwd =
>> >> obs = obs.tizen
>> >> #Comma separated list of repositories
>> >> repos = repo.tizen_latest
>> >> #repos = repo.tizen_main, repo.tizen_base
>> >>
>> >> [obs.tizen]
>> >> #OBS API URL pointing to a remote OBS.
>> >> url = https://api.tizen.org
>> >> #Optional user and password, set if differ from profile's user and
>> >> password
>> >> #user =
>> >> #passwd =
>> >>
>> >> #Repo section example
>> >> [repo.tizen_latest]
>> >> #Build against repo's URL
>> >> url = http://download.tizen.org/snapshots/tizen/mobile/latest/
>> >> #Optional user and password, set if differ from profile's user and
>> >> password
>> >> #user =
>> >> #passwd =
>> >>
>> >> #Individual repo is also supported
>> >> #[repo.tizen_base]
>> >> #url =
>> >> http://download.tizen.org/releases/daily/trunk/ivi/latest/repos/base/ia32/packages/
>> >> #[repo.tizen_main]
>> >> #url =
>> >> http://download.tizen.org/releases/daily/trunk/ivi/latest/repos/ivi/ia32/packages/
>> >>
>> >> Thank you.
>> >> -Suresh
>> >> _______________________________________________
>> >> Dev mailing list
>> >> Dev at lists.tizen.org
>> >> https://lists.tizen.org/listinfo/dev
>> >>
>> > _______________________________________________
>> > Dev mailing list
>> > Dev at lists.tizen.org
>> > https://lists.tizen.org/listinfo/dev
>> >
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.tizen.org
>> https://lists.tizen.org/listinfo/dev
>


More information about the Dev mailing list