Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 09:23:39 +0930
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, Leonardo Fogel <leonardofogel@yahoo.com.br>
Subject:   Re: How to Xbuild to BBB?
Message-ID:  <39BAA32F-59D7-4F85-8C01-14597BCD2A6A@dons.net.au>
In-Reply-To: <2093AC41-3AB0-4286-8440-AE3A93F358D8@kientzle.com>
References:  <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com> <19291C97-5A51-42D2-AC08-6B067AB8D2BD@kientzle.com> <2DED4E32-6599-4F5A-BDC8-E52F420D69C0@dons.net.au> <2093AC41-3AB0-4286-8440-AE3A93F358D8@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 20 Jul 2015, at 02:43, Tim Kientzle <tim@kientzle.com> wrote:
>=20
>=20
>> On Jul 18, 2015, at 5:26 PM, O'Connor, Daniel <darius@dons.net.au> =
wrote:
>>=20
>> Is there a way to update a running BBB system?
>=20
> 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 :(

> In particular, if you have more than one BBB, you should be able to =
NFS-mount and build on one, then install on the others.
>=20
> If you only want to update the kernel, you should be able to =
cross-build and then use installkernel on the build host to put all the =
kernel bits into a directory, then just copy that directory (with all =
modules, etc.).

I guess that is probably the least painful way to do it.

> I don=E2=80=99t know a good way to cross-build and update world, =
though.

What a pity :(
It seems so silly to build on a (relatively) slow computer when a much =
faster one is sitting right next to it (especially when that faster =
computer build the original image :)

> There=E2=80=99s another way to look at this problem, though:  Can you =
copy $YourCustomStuff from your old image onto a new image instead of =
copying $NewFreeBSDBits onto your old image?
>=20
> This is essentially the approach I=E2=80=99ve been trying to push =
through with Crochet.  If I could figure out how to install packages =
into the image on the build host, I would be most of the way there.

True, I could probably do that.
Still pretty surprised there doesn't seem to be a way to =
cross-installworld though.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BAA32F-59D7-4F85-8C01-14597BCD2A6A>