my gentoo scripts
Go to file
*****DEAD ACCOUNT a0e1340d22
update readme and make.conf
2021-03-15 20:46:03 -04:00
vanilla update readme and make.conf 2021-03-15 20:46:03 -04:00
README.md update readme and make.conf 2021-03-15 20:46:03 -04:00

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