Skip to content

Instantly share code, notes, and snippets.

@mongrelP
Created September 11, 2011 13:35
Show Gist options
  • Save mongrelP/1209589 to your computer and use it in GitHub Desktop.
Save mongrelP/1209589 to your computer and use it in GitHub Desktop.
Gentoo install files(amd64)
#!/bin/sh
echo "#####################"
echo "# get install files #"
echo "#####################"
gpg --keyserver subkeys.pgp.net --recv-keys 2D182910
wget -nc ftp://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/autobuilds/current-stage3/stage3-amd64-*.tar.bz2
wget -nc ftp://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/autobuilds/current-stage3/stage3-amd64-*.tar.bz2.*
wget -nc ftp://ftp.iij.ad.jp/pub/linux/gentoo/snapshots/portage-latest.tar.xz
wget -nc ftp://ftp.iij.ad.jp/pub/linux/gentoo/snapshots/portage-latest.tar.xz.*
echo "################"
echo "# Check md5sum #"
echo "################"
md5sum -c stage3-amd64-*.tar.bz2.DIGESTS
md5sum -c portage-latest.tar.xz.md5sum
echo "if both is OK, go next"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment