From: H. G. <shi...@gm...> - 2010-05-20 13:49:50
|
Hello, I am just wondering if the tool Bitbake for OpendEmbedded needs the internet for package dependencies?? Can it be run without an internet connection? If so what is the best way to do it.... Thanks! -- View this message in context: http://old.nabble.com/Bitbake-internet-dependency-question-tp28621335p28621335.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Dave H. <dhy...@gm...> - 2010-05-20 15:50:18
|
Hi, On Thu, May 20, 2010 at 6:40 AM, H. Gonzalez <shi...@gm...> wrote: > I am just wondering if the tool Bitbake for OpendEmbedded needs the internet > for package dependencies?? Can it be run without an internet connection? If > so what is the best way to do it.... It needs the internet to download all of the tarballs, but once it has those, it no longer needs the internet, So the simplest way to get everything is to build everything once while you're connected to the internet. You can then transfer the tarball collection to whatever machine you want that's not connected to the internet and build there. You'll also need to save the git tree as well. Another way of looking at it is to do the build, remove the /tmp tree. Take your oe tree and the tarballs and you should be good. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |
From: H. G. <shi...@gm...> - 2010-05-20 16:04:55
|
Many thanks Dave! That's exactly what I needed to hear!! Dave Hylands wrote: > > Hi, > > On Thu, May 20, 2010 at 6:40 AM, H. Gonzalez <shi...@gm...> > wrote: >> I am just wondering if the tool Bitbake for OpendEmbedded needs the >> internet >> for package dependencies?? Can it be run without an internet connection? >> If >> so what is the best way to do it.... > > It needs the internet to download all of the tarballs, but once it has > those, it no longer needs the internet, > > So the simplest way to get everything is to build everything once > while you're connected to the internet. You can then transfer the > tarball collection to whatever machine you want that's not connected > to the internet and build there. > > You'll also need to save the git tree as well. > > Another way of looking at it is to do the build, remove the /tmp tree. > Take your oe tree and the tarballs and you should be good. > > -- > Dave Hylands > Shuswap, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Bitbake-internet-dependency-question-tp28621335p28623381.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: H. G. <shi...@gm...> - 2010-05-25 12:54:57
|
Dave, So tarballs are packages that can be downloaded? I am somewhat new to linux so trying to understand it good. Something like these commands would work? "# bunzip2 myapp.tar.bz2 # tar -xvpf myapp.tar # cd myapp # ./configure # make # make install " Or is there a better way? Once installed then like you said just transfer them to the machine/gumstix that need it and no internet is needed then. Can you elaborate on the git tree? Not sure what that is and how to implement it like tarballs...(what is "/tmp tree" also not sure what "take your oe tree and the tarballs") is... Sorry if asking basic questions, just trying to understand how to implement a workaround for Bitbake's internet dependence... Thanks for the help! Dave Hylands wrote: > > Hi, > > On Thu, May 20, 2010 at 6:40 AM, H. Gonzalez <shi...@gm...> > wrote: >> I am just wondering if the tool Bitbake for OpendEmbedded needs the >> internet >> for package dependencies?? Can it be run without an internet connection? >> If >> so what is the best way to do it.... > > It needs the internet to download all of the tarballs, but once it has > those, it no longer needs the internet, > > So the simplest way to get everything is to build everything once > while you're connected to the internet. You can then transfer the > tarball collection to whatever machine you want that's not connected > to the internet and build there. > > You'll also need to save the git tree as well. > > Another way of looking at it is to do the build, remove the /tmp tree. > Take your oe tree and the tarballs and you should be good. > > -- > Dave Hylands > Shuswap, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Bitbake-internet-dependency-question-tp28621335p28667979.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Dave H. <dhy...@gm...> - 2010-05-25 14:57:27
|
Hi, On Tue, May 25, 2010 at 5:54 AM, H. Gonzalez <shi...@gm...> wrote: > > Dave, > > So tarballs are packages that can be downloaded? Yeah - but you don't need to download them yourself, you can let bitbake do it. There will be dozens of them. > Once installed then like you said just transfer them to the machine/gumstix > that need it and no internet is needed then. > > Can you elaborate on the git tree? Not sure what that is and how to > implement it like tarballs...(what is "/tmp tree" also not sure what "take > your oe tree and the tarballs") is... In order to setup the development tree, you'll need to use git. <http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html> Once you've followed all of the instructions, there will be a tmp directory inside your overo-oe directory. That's where all of the compiled objects and stuff go. As part of doing the build, OE places the tarballs into a directory called sources inside your overo-oe directory. So when the build is done, you need the entire overo-oe directory tree, minus the tmp directory in order to build stuff. That's what would need to be copied to another computer. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |
From: H. G. <shi...@gm...> - 2010-05-25 15:22:59
|
Thanks for the speedy reply Dave! I will be using a VerdexPro XL6P as the controller... I was wondering if git is even needed for the VerdexPro setup: http://www.gumstix.net/Setup-and-Programming/view/Getting-started/Setting-up-a-build-environment/111.html In these instructions the git command is never mentioned?? Would I still need git?? Thanks! Dave Hylands wrote: > > Hi, > > On Tue, May 25, 2010 at 5:54 AM, H. Gonzalez <shi...@gm...> > wrote: >> >> Dave, >> >> So tarballs are packages that can be downloaded? > > Yeah - but you don't need to download them yourself, you can let > bitbake do it. There will be dozens of them. >> Once installed then like you said just transfer them to the >> machine/gumstix >> that need it and no internet is needed then. >> >> Can you elaborate on the git tree? Not sure what that is and how to >> implement it like tarballs...(what is "/tmp tree" also not sure what >> "take >> your oe tree and the tarballs") is... > > In order to setup the development tree, you'll need to use git. > <http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html> > > Once you've followed all of the instructions, there will be a tmp > directory inside your overo-oe directory. That's where all of the > compiled objects and stuff go. > > As part of doing the build, OE places the tarballs into a directory > called sources inside your overo-oe directory. > > So when the build is done, you need the entire overo-oe directory > tree, minus the tmp directory in order to build stuff. That's what > would need to be copied to another computer. > > -- > Dave Hylands > Shuswap, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Bitbake-internet-dependency-question-tp28621335p28669782.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Dave H. <dhy...@gm...> - 2010-05-25 15:33:27
|
Hi, On Tue, May 25, 2010 at 8:22 AM, H. Gonzalez <shi...@gm...> wrote: > > Thanks for the speedy reply Dave! > > I will be using a VerdexPro XL6P as the controller... > > I was wondering if git is even needed for the VerdexPro setup: > > http://www.gumstix.net/Setup-and-Programming/view/Getting-started/Setting-up-a-build-environment/111.html > > In these instructions the git command is never mentioned?? > > Would I still need git?? It doesn't look like it. Same concept though, except it's a subversion tree. If you follow the directions, then the tarballs wind up in the /usr/share/sources directory, so you'll need the gumstix-oe tree, minus the tmp directory plus the /usr/share/sources tree. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |