Gentoo live-USB for Bubba|2 updated (Linux 4.9.72 LTS, profile 17.0)

Discuss development on Bubba
Post Reply
sakaki
Posts: 172
Joined: 15 Aug 2014, 11:20

Gentoo live-USB for Bubba|2 updated (Linux 4.9.72 LTS, profile 17.0)

Post by sakaki » 05 Sep 2018, 07:29

Hello,

I've just released version 1.5.0 of the live-USB image of Gentoo Linux for the Bubba|2 (B2) on GitHub (here). The kernel has been upgraded to version 4.9.72. All included packages are up-to-date against the Gentoo tree, as of 3 September 2018. A full package list may be viewed here, kernel config here. Gentoo profile 17.0 is used throughout.

As before, you can burn the supplied image to a USB key (>=8GB, Lexar and SanDisk keys seem the most reliable; please see this note for a quick way to check compatibility), then boot your B2 from it, without affecting any installed (Excito) system on your B2's hard drive. (The compressed image is 352MiB; writing takes between 10 and 20 minutes, depending on your system.) You can even boot a diskless B2! No soldering, compilation or U-Boot flashing is required.

The live-USB may then be used as a rescue disk, to play with Gentoo Linux, or as the starting point to install Gentoo Linux on your B2's main hard drive. Any packages you install, or other changes you make, while running the live-USB are saved on the USB key, but do not affect your existing Excito system, so you can run Gentoo for a while, then reboot back into your Excito system and continue to use it as normal, then boot back into the USB at a later date - any changes you made will still be there when you do.

Full instructions are provided on the project's GitHub page (including how to specify initial network settings, so you can ssh in once booted, and how to install Gentoo on your B2's internal hard drive too, in case you want to do that).

Summary of changes wrt 1.4.0:
  • As noted above, the subscribed Gentoo binhost (automatically updated weekly) has been migrated to profile 17.0 (at https://isshoni.org/b2pie) (the binhost allows your B2 to perform fast updates via binary packages where possible, only falling back to local source-based compilation where necessary; using this facility is of course optional).
  • The binhost now also provides an rsync mirror for the main gentoo repo, used to keep the B2's ebuild tree in lockstep with the build server, thereby preventing time-consuming local builds being initiated when large packages, such as sys-devel/gcc, update. The Portage tree is validated using Gentoo's recently-introduced gemato digital signature check.
  • A custom Gentoo profile, gentoo-b2:default/linux/powerpc/ppc32/17.0/b2, is used, which supplies many of the default build settings, USE flags etc., required for Gentoo on the B2, keeping them also in lockstep with the binhost. You can view this profile (provided via the gentoo-b2 overlay) here.
  • A weekly cron job (/etc/cron.weekly/genup) has been installed, to automate the process of keeping your B2 up-to-date (this can be deleted if you prefer).
  • The kernel has been upgraded to 4.9.72 LTS (patched with gentoo-b2-kernel-patches). This is the latest stable-branch long term support version of the kernel for the ppc architecture on Gentoo at the time of writing.
  • All packages have been brought up to date against the Gentoo tree, as of 3 September 2018, and fully rebuilt for profile 17.0.
The GitHub project has an associated wiki. I have a few notes there on how to set up your PC as a cross-compilation / distcc server for the B2, to accelerate builds (you don't need to do this just to play with the image, of course). Feel free to add your own material!

If you wish to manually upgrade from an existing 1.4.0 image (rather than using this 1.5.0 image directly), then please see my release notes here.

Have fun ^-^

best,
sakaki

Post Reply