LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Live-Build (https://www.linuxquestions.org/questions/linux-software-2/live-build-925719/)

lonesoac0 01-25-2012 06:29 PM

Live-Build
 
Hello all,

I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?

k3lt01 01-25-2012 07:57 PM

Quote:

Originally Posted by lonesoac0 (Post 4584548)
Hello all,

I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?

From the Debian Live lb config man page

Quote:

-a|--architectures ARCHITECTURE
defines the architecture of the to be build image. By default, this
is set to the host architecture. Note that you cannot crossbuild
for another architecture if your host system is not able to execute
binaries for the target architecture natively. For example, build-
ing amd64 images on i386 and vice versa is possile if you have a
64bit capable i386 processor and the right kernel. But building
powerpc images on an i386 system is not possible.
So in answer to your question you can't do it, also I'm not sure ARM is even supported in Live Build.

lonesoac0 01-25-2012 09:13 PM

Hmmmm.....I have read that live build does take the architecture of the host system as default and builds the system based off the host info. Since Debian does have ARM OS ports then it must have software repos that have pre-compiled ARM software too. So a possible new game plan is to wait for my BeagleBoard to show up, install a Mini-Debian onto it, and then use live-build on it. I think it might work. Not quite sure...lol

k3lt01 01-25-2012 10:48 PM

You can only build a system that will run on the host system. So an x86-64 will successfully build an x86 but you can't build anything an x86-64 can't run natively and likewise you can't build anything on an x86 that it wont run natively.

Here is the Debian Packages page for a search on Live. You can see that yes it should work on ARM architectures but you will need an ARM compatible machine to create an ARM live system on.

lonesoac0 01-25-2012 10:59 PM

Yeah man, that is where my BeagleBoard-xM comes into play. So as soon as my BeagleBoard gets here I will try it out!!

k3lt01 01-25-2012 11:26 PM

Good luck, if you need any help with Live Build just ask here on on the Live build list

lonesoac0 01-26-2012 04:51 PM

OMG! OMG! My BeagleBoard came today!

k3lt01 01-26-2012 07:43 PM

Quote:

Originally Posted by lonesoac0 (Post 4585341)
OMG! OMG! My BeagleBoard came today!

Excitement plus

valdez151 08-31-2012 07:28 AM

Someone builded that with live-build?


All times are GMT -5. The time now is 03:22 AM.