tools-uclibc/desktop: add repos.conf/gentoo.conf

This commit is contained in:
Anthony G. Basile 2013-09-09 16:19:35 -04:00
parent f8f9e4694e
commit 55a37a55dc
5 changed files with 14 additions and 1 deletions

View file

@ -9,5 +9,7 @@ USE="${USE_BASE} ${USE_GCC}"
source "/var/lib/layman/make.conf"
PORTDIR="/usr/portage"
SYNC="rsync://67.151.215.244/portage"
GENTOO_MIRRORS="ftp://67.151.215.244/pub/gentoo"

View file

@ -40,5 +40,7 @@ LINGUAS="af af_ZA ak am ar ar_SA ar_SY as as_IN ast az be be_BY bg bg_BG bn bn_B
source "/var/lib/layman/make.conf"
PORTDIR="/usr/portage"
SYNC="rsync://67.151.215.244/portage"
GENTOO_MIRRORS="ftp://67.151.215.244/pub/gentoo"

View file

@ -40,5 +40,7 @@ LINGUAS="af af_ZA ak am ar ar_SA ar_SY as as_IN ast az be be_BY bg bg_BG bn bn_B
source "/var/lib/layman/make.conf"
PORTDIR="/usr/portage"
SYNC="rsync://67.151.215.244/portage"
GENTOO_MIRRORS="ftp://67.151.215.244/pub/gentoo"

View file

@ -0,0 +1,7 @@
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

View file

@ -38,7 +38,7 @@ populate_etc() {
rm -f "${ROOTFS}"/etc/portage/make.conf.catalyst
cp -f portage/make.conf.1 "${ROOTFS}"/etc/portage/make.conf
for d in env package.accept_keywords package.mask package.use profile; do
for d in env package.accept_keywords package.mask package.use profile repos.conf; do
[[ -a portage/"${d}" ]] && cp -af portage/${d} "${ROOTFS}"/etc/portage
done
cp -af portage/package.env "${ROOTFS}"/etc/portage