Andriy, AFAIK, we haven't tried to use GBS to bootstrapping new arch in local machine, instead, we usually did it in OBS server side, and then the initialized repositories can be the start point of GBS local build.
And for the MIPS support, it seems a far way to enable, because I noticed the official openSUSE OBS farm can only support the following arches: * arch64 * armv6l * armv7l * i586 * x86_64 * ppc * ppc64 * ppc64le * ppc64p7 And importing bootstrapping rpm files from there can be the quickest way. thanks - jf.ding On Mon, Mar 17, 2014 at 06:18:13PM +0200, Andriy Prystupa wrote: > Qiang, maybe you know engineer/team experienced with > this bootstrapping procedure for new arch? > > Procedure seems to be next: > - create chroot environment able to build rpm. All minimal set of libraries > and tools builded from scratch. > - use this buildroot for gbs with --noinit option to build rpms. > > This way requires lots of manual work, and not sure that it is correct. > > Regards, > Andriy. > > > On Mon, Mar 17, 2014 at 5:06 PM, Andriy Prystupa < > [email protected]> wrote: > > > Required arch is MIPS, and there are no initial RPMs for this arch. > > > > Regards, > > Andriy. > > > > > > On Mon, Mar 17, 2014 at 4:50 PM, Zhang, Qiang Z > > <[email protected]>wrote: > > > >> HI Andriy, > >> > >> > >> > >> Sorry, I have no experience on this. > >> > >> > >> > >> Which arch do you want to build? > >> > >> > >> > >> If it's common, you can download some initial rpms from > >> http://download.opensuse.org/repositories/ , where you can find some > >> initial binary for common arches. > >> > >> > >> > >> Thanks > >> > >> Qiang > >> > >> > >> > >> > >> > >> *From:* [email protected] [mailto: > >> [email protected]] *On Behalf Of *Andriy Prystupa > >> *Sent:* Monday, March 17, 2014 3:51 PM > >> *To:* Zhang, Qiang Z > >> *Cc:* [email protected] > >> *Subject:* Re: [Tizen General] Tizen pre-built packages build procedure > >> > >> > >> > >> Hi Qiang, > >> > >> > >> > >> This way works for case when we have at least pre-built packages and want > >> to rebuild some of them. > >> > >> In my case there is no any prebuilt-package. > >> > >> I guess I need some init set of rpms - crosstoolchain, libc, binutils, > >> etc... And this is chicken-egg issue, gbs needs theses rpms. > >> > >> Any guide for preparing these rpms? > >> > >> Or this should be done manually outside gbs? > >> > >> > >> > >> Regards, > >> > >> Andriy. > >> > >> > >> > >> On Mon, Mar 17, 2014 at 4:23 AM, Zhang, Qiang Z <[email protected]> > >> wrote: > >> > >> --exclude option should be used here to exclude building special packages > >> in cycles and break the cycles. > >> > >> > >> > >> So take filesystem and setup as an example, you need to run: > >> > >> > >> > >> $ gbs build -exclude=filesystem .... # setup will be build out > >> > >> $ gbs build -exclude=setup ... # filesystem will be built this > >> time > >> > >> > >> > >> So, two commends is needed for one cycles. > >> > >> > >> > >> Thanks > >> > >> Qiang > >> > >> > >> > >> > >> > >> *From:* [email protected] [mailto: > >> [email protected]] *On Behalf Of *Andriy Prystupa > >> *Sent:* Friday, March 14, 2014 5:15 PM > >> *To:* [email protected] > >> *Subject:* [Tizen General] Tizen pre-built packages build procedure > >> > >> > >> > >> Hi all, > >> > >> > >> > >> I am working on adding new arch for Tizen build. And I encountered issue > >> with building rpm's that usually loacted in repo "pre-built". There are lot > >> of cyclic dependencies, and I cant build them with gbs. > >> > >> Is there any special procedure to build them? > >> > >> > >> > >> In example how to build: > >> > >> platform/upstream/filesystem > >> > >> platform/upstream/setup > >> > >> > >> > >> Best regards, > >> > >> > >> > >> -- > >> > >> *Andriy Prystupa | SW Engineer* > >> GlobalLogic > >> P +x.xxx.xxx.xxxx M +38.097.330.9412 S prandriy > >> www.globallogic.com > >> > >> http://www.globallogic.com/email_disclaimer.txt > >> > >> > >> > >> > >> > >> -- > >> > >> *Andriy Prystupa | SW Engineer* > >> GlobalLogic > >> P +x.xxx.xxx.xxxx M +38.097.330.9412 S prandriy > >> www.globallogic.com > >> > >> http://www.globallogic.com/email_disclaimer.txt > >> > > > > > > > > -- > > > > Andriy Prystupa | SW Engineer > > GlobalLogic > > P +x.xxx.xxx.xxxx M +38.097.330.9412 S prandriy > > www.globallogic.com > > <http://www.globallogic.com/> > > http://www.globallogic.com/email_disclaimer.txt > > > > > > -- > > Andriy Prystupa | SW Engineer > GlobalLogic > P +x.xxx.xxx.xxxx M +38.097.330.9412 S prandriy > www.globallogic.com > <http://www.globallogic.com/> > http://www.globallogic.com/email_disclaimer.txt > _______________________________________________ > General mailing list > [email protected] > https://lists.tizen.org/listinfo/general _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
