trinque

2017/12/30

WIP : Cuntoo Installer

Filed under: Gentoo, TMSR~ — trinque @ 6:31 p.m.

Linked is (nearly) everything you'll need to build your own self-replicating Cuntoo. Unpack the archive, which contains all distfiles necessary to build the required packages, and then run:

./install.sh $kconfig $blockdev

$kconfig is the path to the kernel config you will use. Note that the build process expects that external kernel modules are *not* used, neither is an initramfs used. If your kernel requires firmware, build the blobs into the kernel image. There is a kernel config provided for the apu2 at "config/4.14.8-apu2". The given $blockdev shall be obliterated and replaced with a shiny new Cuntoo build. Proceed carefully!

This is a WIP for the following reasons, among others:

  1. The only device supported by the packaged kernel config is the apu2. New kernel configs for chosen hardware are needed.
  2. The build relies upon the musl Portage overlay, hosted in git, which is *not* in the tarball. When repossession is complete, the Gentoo ports tree and the musl shall be merged into a single tree in /cuntoo/ports and a genesis vpatch produced.
  3. The thing does not check to see if the host build system has all the tools necessary to build. That said, stopping and restarting is harmless; it will simply reformat the drive and try again.

When complete, the installer will copy the entire "cuntoo" directory (including package distfiles) into the build drive at "/cuntoo". Once the build drive is removed from the build host and installed in the target machine, the installer can be run again from "/cuntoo", and so on ad infinitum. Thinking in this manner, one might imagine ways far superior to play the game of "Linux distribution" than centralized mirror servers and other soft targets.

Testers would be greatly appreciated; critics doubly so.

cuntoo.tar.gz

cuntoo.tar.gz.asc

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

+