Last active
August 29, 2015 14:17
-
-
Save ChaosEngine/406e6f85e300b30dbecf to your computer and use it in GitHub Desktop.
portage-creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORTAGE_TARBALL="portage-latest.tar.xz" | |
wget http://distfiles.gentoo.org/snapshots/$PORTAGE_TARBALL / | |
mkdir -p /usr && xzcat /$PORTAGE_TARBALL | tar -xf - -C /usr \ | |
&& mkdir -p /usr/portage/{distfiles,metadata,packages} \ | |
&& chown -R portage:portage /usr/portage \ | |
&& echo "masters = gentoo" > /usr/portage/metadata/layout.conf \ | |
&& eselect news read new \ | |
&& env-update \ | |
&& rm -f /$PORTAGE_TARBALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment