How to Xbuild to BBB?

John-Mark Gurney jmg at funkthat.com
Mon Jul 20 04:15:45 UTC 2015


Warner Losh wrote this message on Sun, Jul 19, 2015 at 18:20 -0600:
> > On Jul 19, 2015, at 5:53 PM, O'Connor, Daniel <darius at dons.net.au> wrote:
> > 
> > 
> >> On 20 Jul 2015, at 02:43, Tim Kientzle <tim at kientzle.com> wrote:
> >> 
> >> 
> >>> On Jul 18, 2015, at 5:26 PM, O'Connor, Daniel <darius at dons.net.au> wrote:
> >>> 
> >>> Is there a way to update a running BBB system?
> >> 
> >> Native builds work pretty well, though it takes a bit longer.
> > 
> > Slight understatement :)
> > Also I think it requires adding swap which greatly slows things down :(
> 
> Ideally you could do the build on machine X with arch Y and then install them on machine Z with arch W. However, that doesn???t currently work. There???s about a day or two of fiddling to make it work. It used to work, but this was in the 4.x or early 5.0 time frame???

I do this now w/ make installworld -DNO_ROOT DESTDIR=<somedir>, then
you can tar it up w/ something like
cd <somedir>; tar -czf world.tar.gz @METALOG

And then transfer it to the machine and extract it... been working great,
though not necessarily the "standard" way of doing it...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arm mailing list