Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling chromium on embedded
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 999

PostPosted: Mon Oct 14, 2019 4:24 pm    Post subject: Compiling chromium on embedded Reply with quote

I need to compile chromium from an overlay to get VAAPI support but I'm using an old Gigabyte Brix 2807:

https://www.gigabyte.com/us/Mini-PcBarebone/GB-BXBT-2807-rev-10#ov

I need to turn the device off each night and who knows how many days it would take to compile. I've tried to set up distcc a couple times over the years and ended up overwhelmed and gave up both times. Any advice for getting this done?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Oct 14, 2019 8:12 pm    Post subject: Reply with quote

grant123,

Cheat.

Install for the Gigabyte Brix 2807 in a chroot on a more capable system.
Ask the Brix what its CFLAGS and CPU_FLAGS_X86 are and set that in chroot.
Build a binary package in the chroot and install the binary on the Brix.

Set up the Brix as an NFS fileserver and export its entire root filesystem.
Mount this NFS export on a more capable system at say /mnt/Brix

Mount the hosts /sys/, /dev and /proc inside /mnt/Brix. Now chroot into /mnt/Brix in the normal way.
Anything you build in the chroot will be build by the more powerful system and installed on the Brix over the network.
NFS is not secure, so you can only do this on a trusted network.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum