User:Veremit/ARM catalyst setup

From Gentoo Wiki
Jump to: navigation, search

This page attempts to document setting up a Debian/Ubuntu ARM system to perform catalyst stage-building for Gentoo Linux.

The broad method goes as follows:

  1. Essential host packages: tmux, ntp
  2. Set up disk[s] - like this
    • I recommend a separate partition for catalyst files, as these quickly become large
  3. Set up swapfile/partition - you *WILL* need this!!
  4. Download a stage3 tarball - here
  5. Install to defined location
  6. Download portage snapshot and unpack
  7. Chroot into stage3 - reminder
  8. Create working folder
  9. unmask catalyst-9999 (whilst snapshots are current, patches are being submitted regularly)
  10. Useful/essential chroot packages (target world file):
    app-portage/cfg-update
    app-portage/eix
    app-portage/gentoolkit
    app-portage/layman
    app-portage/portage-bashrc-mv
    app-text/wgetpaste
    dev-util/catalyst
    dev-vcs/git
    net-fs/nfs-utils
    net-misc/ntp
    sys-apps/moreutils
    sys-apps/portage
    sys-auth/nss-mdns
    sys-devel/distcc
    sys-devel/icecream
    sys-process/htop
  11. Check out releng repository to working folder
  12. Create working 'specs' folder, and copy relevant specs from releng.git into here
  13. set up or check out update scripts to keep specs updated
    • alternatively you could try catalyst-auto - ymmv
  14. run catalyst and Wait ..
  15. go make lunch/coffee/etc
  16. wait some more
  17. voilà - hopefully you have a tarball waiting for you, or a pile of errors.