tools-uclibc/desktop: add repos.conf/gentoo.conf
This commit is contained in:
parent
f8f9e4694e
commit
55a37a55dc
5 changed files with 14 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
7
tools-uclibc/desktop/portage/repos.conf/gentoo.conf
Normal file
7
tools-uclibc/desktop/portage/repos.conf/gentoo.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
[DEFAULT]
|
||||
main-repo = gentoo
|
||||
|
||||
[gentoo]
|
||||
location = /usr/portage
|
||||
sync-type = rsync
|
||||
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue