Installing the Gentoo port of Bubba OS on your gentoo‐on‐b3 or gentoo‐on‐b2 - gordonb3/bubba-overlay GitHub Wiki
Installing the Gentoo port of Bubba OS on your gentoo‐on‐b3 or gentoo‐on‐b2
Assuming you already added the bubba overlay you now have several options for installing the Bubba OS. For starting users it is advised that you pick one of the sets:
- bubba
- bubba2
- bubba3
These sets will give you the closest match to the original Debian Squeeze
based Bubba OS. The difference between these sets is that @bubba2 includes Logitech Media Server (LMS) as a source build and @bubba3 includes forked-daapd and also LMS but now as a precompiled binary.
if you are installing on a B2 do not select @bubba3. The binary version of LMS only supports the arm processor in the B3 and will thus not run on the B2
Installing a set
Run:
b3 ~ # emerge --ask --verbose @bubba
Gentoo's package manager portage
will now start calculating what packages need to be (re-)installed. If you have a vanilla gentoo-on-b3 or gentoo-on-b2 it is inevitable that portage will return with a list of conflicts that need to be resolved. This will mostly be about accepting keywords for packages that are not part of the stable
selection. You can safely accept those. The tricky part is in the USE flags and you will be asked to drop the bindist
USE flag on already installed packages. It is up to you whether you want to accept that, but should you not then you will need to mask specific versions of packages that trigger this request.
There is a quick fix for this. All of the required portage config files are available for your convenience in my bubbagen project. This is also the place where you can find a prebuild Live image containing all the packages from the @bubba3 set.
If all conflicts are solved, hit Yes
to proceed and install Bubba OS
Advanced users
It is not required to install every package from the @bubba sets. In fact the bubba overlay allows you to choose between Apache (default) and Nginx for running the Bubba OS front-end. You may choose whether or not you want to support Apple protocol (USE=avahi) and you may choose not to install a service you do not intend to expose anyway, like Samba file sharing, ftp, DLNA media server, DAAP (iTunes protocol), Excito's file transfer agent (with or without torrent support), printing etc.
To install a minimal set run:
b3 ~ # emerge --ask --verbose virtual/bubba
Inspect the package list for USE flags you may want to change and continue when satisfied.
Tips and Tricks
Compiling on the Excito box itself can take a serious amount of time. Do check out the options for using a binhost or crossdev machine.