From 55a37a55dc25282828244992174301c80f1e12ca Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Mon, 9 Sep 2013 16:19:35 -0400 Subject: [PATCH] tools-uclibc/desktop: add repos.conf/gentoo.conf --- tools-uclibc/desktop/portage/make.conf.1 | 2 ++ tools-uclibc/desktop/portage/make.conf.2 | 2 ++ tools-uclibc/desktop/portage/make.conf.3 | 2 ++ tools-uclibc/desktop/portage/repos.conf/gentoo.conf | 7 +++++++ tools-uclibc/desktop/run.sh | 2 +- 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tools-uclibc/desktop/portage/repos.conf/gentoo.conf diff --git a/tools-uclibc/desktop/portage/make.conf.1 b/tools-uclibc/desktop/portage/make.conf.1 index 11af927f..3904cd8c 100644 --- a/tools-uclibc/desktop/portage/make.conf.1 +++ b/tools-uclibc/desktop/portage/make.conf.1 @@ -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" diff --git a/tools-uclibc/desktop/portage/make.conf.2 b/tools-uclibc/desktop/portage/make.conf.2 index 0c0c43b6..a92d007a 100644 --- a/tools-uclibc/desktop/portage/make.conf.2 +++ b/tools-uclibc/desktop/portage/make.conf.2 @@ -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" diff --git a/tools-uclibc/desktop/portage/make.conf.3 b/tools-uclibc/desktop/portage/make.conf.3 index 8e16fb84..e7be0d55 100644 --- a/tools-uclibc/desktop/portage/make.conf.3 +++ b/tools-uclibc/desktop/portage/make.conf.3 @@ -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" diff --git a/tools-uclibc/desktop/portage/repos.conf/gentoo.conf b/tools-uclibc/desktop/portage/repos.conf/gentoo.conf new file mode 100644 index 00000000..8c657daa --- /dev/null +++ b/tools-uclibc/desktop/portage/repos.conf/gentoo.conf @@ -0,0 +1,7 @@ +[DEFAULT] +main-repo = gentoo + +[gentoo] +location = /usr/portage +sync-type = rsync +sync-uri = rsync://rsync.gentoo.org/gentoo-portage diff --git a/tools-uclibc/desktop/run.sh b/tools-uclibc/desktop/run.sh index 8bf937bf..a71ce0ad 100755 --- a/tools-uclibc/desktop/run.sh +++ b/tools-uclibc/desktop/run.sh @@ -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