my gentoo scripts

philoctetes409bc a0e1340d22 update readme and make.conf 4 weeks ago
vanilla a0e1340d22 update readme and make.conf 4 weeks ago
README.md a0e1340d22 update readme and make.conf 4 weeks ago

README.md

Quickstart

  • fetch
echo ftp.oregonstate.edu/pub/gentoo/releases/{alpha,amd64,arm,arm64,hppa,ia64,ppc,riscv,s390,sh,sparc,x86}/autobuilds \
| tr ' ' '\n' \
| parallel -j10 wget -P stage3 -r -A .tar.xz

  • import
find stage3 -type f -name "*.tar.xz" | tr '/' ' '  | awk -F '[\ -.]' '{print $8 "\t" $(NF-2) "\t" $(NF-3) "\t" $(NF-4) "\t" $0}' | tr ' ' '/' | tr '\t' ' ' \
| parallel --colsep " " -j1 docker import {5} gentoo-{1}:{2}-{3}-{4}

Notes