* oebb.sh oe-core with non-angstrom distro @ 2011-05-31 10:49 Lukas-David Gorris 2011-05-31 10:56 ` Lukas-David Gorris 0 siblings, 1 reply; 5+ messages in thread From: Lukas-David Gorris @ 2011-05-31 10:49 UTC (permalink / raw) To: openembedded-devel Hi, Is it possible to use the http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/ setup scripts for a non-angstrom distro? I tried to do this as explained in the following: git clone git://git.angstrom-distribution.org/setup-scripts cd setup-scripts git checkout -b oe-core remotes/origin/oe-core Now I replace ¨angstrom...¨ with ¨shr¨ in DISTRO= in oebb.sh and run ./oebb.sh config htcleo #I added htcleo machine in the meta-smartphone layer ./oebb.sh bitbake shr-image This will end up with bitbake trying to use some angstrom scripts and then fail. It would be very nice to make the distro configurable in oebb.sh. I suppose extra configurations for the non-angstrom distro will be needed but I am uncertain how to go about this. Maybe we can add a new branch for SHR specific oebb.sh ? Best regards Lukas ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: oebb.sh oe-core with non-angstrom distro 2011-05-31 10:49 oebb.sh oe-core with non-angstrom distro Lukas-David Gorris @ 2011-05-31 10:56 ` Lukas-David Gorris 2011-05-31 22:25 ` Lukas-David Gorris 0 siblings, 1 reply; 5+ messages in thread From: Lukas-David Gorris @ 2011-05-31 10:56 UTC (permalink / raw) To: openembedded-devel Quoting Lukas-David Gorris <lukas@htc-linux.org>: > Hi, > > Is it possible to use the > http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/ > setup scripts for a non-angstrom distro? > > I tried to do this as explained in the following: > > git clone git://git.angstrom-distribution.org/setup-scripts > cd setup-scripts > git checkout -b oe-core remotes/origin/oe-core > > Now I replace ¨angstrom...¨ with ¨shr¨ in DISTRO= in oebb.sh and run > > ./oebb.sh config htcleo #I added htcleo machine in the meta-smartphone layer > > ./oebb.sh bitbake shr-image > > This will end up with bitbake trying to use some angstrom scripts > and then fail. It would be very nice to make the distro configurable > in oebb.sh. I suppose extra configurations for the non-angstrom > distro will be needed but I am uncertain how to go about this. Maybe > we can add a new branch for SHR specific oebb.sh ? > > Best regards > > Lukas > > Thanks to Heiner I just found the first problem.The meta-shr layer that provides everything specific to the shr distro must be included for this to work. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: oebb.sh oe-core with non-angstrom distro 2011-05-31 10:56 ` Lukas-David Gorris @ 2011-05-31 22:25 ` Lukas-David Gorris 2011-06-01 2:27 ` Khem Raj 0 siblings, 1 reply; 5+ messages in thread From: Lukas-David Gorris @ 2011-05-31 22:25 UTC (permalink / raw) To: openembedded-devel, shr-devel Quoting Lukas-David Gorris <lukas@htc-linux.org>: > Quoting Lukas-David Gorris <lukas@htc-linux.org>: > >> Hi, >> >> Is it possible to use the >> http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/ setup >> scripts for a non-angstrom distro? >> >> I tried to do this as explained in the following: >> >> git clone git://git.angstrom-distribution.org/setup-scripts >> cd setup-scripts >> git checkout -b oe-core remotes/origin/oe-core >> >> Now I replace ¨angstrom...¨ with ¨shr¨ in DISTRO= in oebb.sh and run >> >> ./oebb.sh config htcleo #I added htcleo machine in the meta-smartphone layer >> >> ./oebb.sh bitbake shr-image >> >> This will end up with bitbake trying to use some angstrom scripts >> and then fail. It would be very nice to make the distro >> configurable in oebb.sh. I suppose extra configurations for the >> non-angstrom distro will be needed but I am uncertain how to go >> about this. Maybe we can add a new branch for SHR specific oebb.sh ? >> >> Best regards >> >> Lukas >> >> > > Thanks to Heiner I just found the first problem.The meta-shr layer > that provides everything specific to the shr distro must be included > for this to work. > Patch for git://git.angstrom-distribution.org/setup-scripts,oe-core for use with SHR distro: diff --git a/conf/local.conf b/conf/local.conf index a641121..69ac50e 100644 --- a/conf/local.conf +++ b/conf/local.conf @@ -19,7 +19,7 @@ IMAGE_FSTYPES += "tar.bz2" PARALLEL_MAKE = "-j2" BB_NUMBER_THREADS = "2" -DISTRO = "angstrom-2010.x" +DISTRO = "shr" # Set terminal types by default it expects gnome-terminal # but we chose xterm diff --git a/oebb.sh b/oebb.sh index 43697ab..49afaa8 100755 --- a/oebb.sh +++ b/oebb.sh @@ -66,7 +66,7 @@ else #-------------------------------------------------------------------------- # Specify distribution information #-------------------------------------------------------------------------- - DISTRO="angstrom-2010.x" + DISTRO="shr" DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g` echo "export SCRIPTS_BASE_VERSION=${BASE_VERSION}" > ${OE_ENV_FILE} @@ -253,7 +253,6 @@ BBFILES = "" # Add your overlay location to BBLAYERS # Make sure to have a conf/layers.conf in there BBLAYERS = " \\ - \${TOPDIR}/sources/meta-angstrom \\ \${TOPDIR}/sources/meta-openembedded/meta-oe \\ \${TOPDIR}/sources/meta-openembedded/meta-efl \\ \${TOPDIR}/sources/meta-openembedded/meta-gpe \\ @@ -266,6 +265,8 @@ BBLAYERS = " \\ \${TOPDIR}/sources/meta-smartphone/meta-openmoko \\ \${TOPDIR}/sources/meta-smartphone/meta-palm \\ \${TOPDIR}/sources/meta-smartphone/meta-zaurus \\ + \${TOPDIR}/sources/meta-smartphone/meta-shr \\ + \${TOPDIR}/sources/meta-smartphone/meta-fso \\ \${TOPDIR}/sources/meta-intel/meta-sugarbay \\ \${TOPDIR}/sources/meta-intel/meta-crownbay \\ \${TOPDIR}/sources/meta-intel/meta-emenlow \\ diff --git a/sources/layers.txt b/sources/layers.txt index 45c68d2..0d96a70 100644 --- a/sources/layers.txt +++ b/sources/layers.txt @@ -1,11 +1,10 @@ # Name,repo-uri,branch,rev bitbake,git://git.openembedded.net/bitbake,master,HEAD -meta-angstrom,git://git.angstrom-distribution.org/meta-angstrom,master,HEAD -meta-openembedded,git://git.openembedded.net/meta-openembedded,master,HEAD +meta-openembedded,git://git.openembedded.net/meta-openembedded-contrib,shr,HEAD meta-texasinstruments,git://git.angstrom-distribution.org/meta-texasinstruments,master,HEAD meta-efikamx,git://github.com/kraj/meta-efikamx.git,master,HEAD meta-nslu2,git://github.com/kraj/meta-nslu2.git,master,HEAD meta-smartphone,http://git.shr-project.org/repo/meta-smartphone.git,master,HEAD meta-intel,git://git.yoctoproject.org/meta-intel,master,HEAD meta-xilinx,git://git.yoctoproject.org/meta-xilinx,master,HEAD -openembedded-core,https://github.com/openembedded/oe-core.git,master,HEAD +openembedded-core,git://git.openembedded.net/openembedded-core-contrib,shr,HEAD ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: oebb.sh oe-core with non-angstrom distro 2011-05-31 22:25 ` Lukas-David Gorris @ 2011-06-01 2:27 ` Khem Raj 2011-06-01 5:01 ` Martin Jansa 0 siblings, 1 reply; 5+ messages in thread From: Khem Raj @ 2011-06-01 2:27 UTC (permalink / raw) To: openembedded-devel On 05/31/2011 03:25 PM, Lukas-David Gorris wrote: > Quoting Lukas-David Gorris <lukas@htc-linux.org>: > >> Quoting Lukas-David Gorris <lukas@htc-linux.org>: >> >>> Hi, >>> >>> Is it possible to use the >>> http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/ >>> setup scripts for a non-angstrom distro? >>> >>> I tried to do this as explained in the following: >>> >>> git clone git://git.angstrom-distribution.org/setup-scripts >>> cd setup-scripts >>> git checkout -b oe-core remotes/origin/oe-core >>> >>> Now I replace ¨angstrom...¨ with ¨shr¨ in DISTRO= in oebb.sh and run >>> >>> ./oebb.sh config htcleo #I added htcleo machine in the >>> meta-smartphone layer >>> >>> ./oebb.sh bitbake shr-image >>> >>> This will end up with bitbake trying to use some angstrom scripts and >>> then fail. It would be very nice to make the distro configurable in >>> oebb.sh. I suppose extra configurations for the non-angstrom distro >>> will be needed but I am uncertain how to go about this. Maybe we can >>> add a new branch for SHR specific oebb.sh ? >>> >>> Best regards >>> >>> Lukas >>> >>> >> >> Thanks to Heiner I just found the first problem.The meta-shr layer >> that provides everything specific to the shr distro must be included >> for this to work. >> > > Patch for git://git.angstrom-distribution.org/setup-scripts,oe-core for > use with SHR distro: > > > diff --git a/conf/local.conf b/conf/local.conf > index a641121..69ac50e 100644 > --- a/conf/local.conf > +++ b/conf/local.conf > @@ -19,7 +19,7 @@ IMAGE_FSTYPES += "tar.bz2" > PARALLEL_MAKE = "-j2" > BB_NUMBER_THREADS = "2" > > -DISTRO = "angstrom-2010.x" > +DISTRO = "shr" > > # Set terminal types by default it expects gnome-terminal > # but we chose xterm > diff --git a/oebb.sh b/oebb.sh > index 43697ab..49afaa8 100755 > --- a/oebb.sh > +++ b/oebb.sh > @@ -66,7 +66,7 @@ else > #-------------------------------------------------------------------------- > # Specify distribution information > #-------------------------------------------------------------------------- > - DISTRO="angstrom-2010.x" > + DISTRO="shr" > DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g` > > echo "export SCRIPTS_BASE_VERSION=${BASE_VERSION}" > ${OE_ENV_FILE} > @@ -253,7 +253,6 @@ BBFILES = "" > # Add your overlay location to BBLAYERS > # Make sure to have a conf/layers.conf in there > BBLAYERS = " \\ > - \${TOPDIR}/sources/meta-angstrom \\ > \${TOPDIR}/sources/meta-openembedded/meta-oe \\ > \${TOPDIR}/sources/meta-openembedded/meta-efl \\ > \${TOPDIR}/sources/meta-openembedded/meta-gpe \\ > @@ -266,6 +265,8 @@ BBLAYERS = " \\ > \${TOPDIR}/sources/meta-smartphone/meta-openmoko \\ > \${TOPDIR}/sources/meta-smartphone/meta-palm \\ > \${TOPDIR}/sources/meta-smartphone/meta-zaurus \\ > + \${TOPDIR}/sources/meta-smartphone/meta-shr \\ > + \${TOPDIR}/sources/meta-smartphone/meta-fso \\ > \${TOPDIR}/sources/meta-intel/meta-sugarbay \\ > \${TOPDIR}/sources/meta-intel/meta-crownbay \\ > \${TOPDIR}/sources/meta-intel/meta-emenlow \\ > diff --git a/sources/layers.txt b/sources/layers.txt > index 45c68d2..0d96a70 100644 > --- a/sources/layers.txt > +++ b/sources/layers.txt > @@ -1,11 +1,10 @@ > # Name,repo-uri,branch,rev > bitbake,git://git.openembedded.net/bitbake,master,HEAD > -meta-angstrom,git://git.angstrom-distribution.org/meta-angstrom,master,HEAD > > -meta-openembedded,git://git.openembedded.net/meta-openembedded,master,HEAD > +meta-openembedded,git://git.openembedded.net/meta-openembedded-contrib,shr,HEAD > > meta-texasinstruments,git://git.angstrom-distribution.org/meta-texasinstruments,master,HEAD > > meta-efikamx,git://github.com/kraj/meta-efikamx.git,master,HEAD > meta-nslu2,git://github.com/kraj/meta-nslu2.git,master,HEAD > meta-smartphone,http://git.shr-project.org/repo/meta-smartphone.git,master,HEAD > > meta-intel,git://git.yoctoproject.org/meta-intel,master,HEAD > meta-xilinx,git://git.yoctoproject.org/meta-xilinx,master,HEAD > -openembedded-core,https://github.com/openembedded/oe-core.git,master,HEAD > +openembedded-core,git://git.openembedded.net/openembedded-core-contrib,shr,HEAD > > I guess SHR needs a master projects on similar lines. Using angstrom scripts may not be the correct thing to do. Martin might already have something. But similar to angstrom scripts there is slugos master repository for layer management and configuration. git://github.com/kraj/slugos-setup.git I think distro's should have such a repo so they do not have conflict of interest and can do things without pinching others toes. > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: oebb.sh oe-core with non-angstrom distro 2011-06-01 2:27 ` Khem Raj @ 2011-06-01 5:01 ` Martin Jansa 0 siblings, 0 replies; 5+ messages in thread From: Martin Jansa @ 2011-06-01 5:01 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 805 bytes --] On Tue, May 31, 2011 at 07:27:44PM -0700, Khem Raj wrote: > I guess SHR needs a master projects on similar lines. Using angstrom > scripts may not be the correct thing to do. Martin might already have > something. But similar to angstrom scripts there is slugos master > repository for layer management and configuration. > > git://github.com/kraj/slugos-setup.git > > I think distro's should have such a repo so they do not have conflict of > interest and can do things without pinching others toes. Yes we have.. http://git.shr-project.org/git/?p=shr-makefile.git;a=summary with shr-core (shr based on oe-core and other layers) support since 2011-03-02 :). But Lukas doesn't like Makefile for some reason.. Cheers, -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-01 5:05 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-05-31 10:49 oebb.sh oe-core with non-angstrom distro Lukas-David Gorris 2011-05-31 10:56 ` Lukas-David Gorris 2011-05-31 22:25 ` Lukas-David Gorris 2011-06-01 2:27 ` Khem Raj 2011-06-01 5:01 ` Martin Jansa
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.