emerge must use repos.conf now, instead of PORTDIR.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson 2016-05-27 13:55:55 -07:00
parent 380990612e
commit 69b94063ec
No known key found for this signature in database
GPG key ID: 19395F23C58826C4
3 changed files with 39 additions and 3 deletions

View file

@ -1,2 +1,14 @@
#!/bin/bash
PORTDIR="/release/trees/portage-auto/" FEATURES="$FEATURES -news" emerge --sync -q
PORTDIR="/release/trees/portage-auto/"
TMPREPO=$(mktemp)
trap "rm -f $TMPREPO" EXIT
cat >$f <<EOF
[DEFAULT]
main-repo = gentoo
[gentoo]
location = $PORTDIR
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
EOF
PORTAGE_REPOSITORIES="$(cat $TMPREPO)" FEATURES="$FEATURES -news" emerge --sync -q

View file

@ -1,2 +1,14 @@
#!/bin/bash
PORTDIR="/release/trees/portage-official/" emerge --sync
PORTDIR="/release/trees/portage-official/"
TMPREPO=$(mktemp)
trap "rm -f $TMPREPO" EXIT
cat >$f <<EOF
[DEFAULT]
main-repo = gentoo
[gentoo]
location = $PORTDIR
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
EOF
PORTAGE_REPOSITORIES="$(cat $TMPREPO)" FEATURES="$FEATURES -news" emerge --sync -q

View file

@ -1,2 +1,14 @@
#!/bin/bash
PORTDIR="/release/trees/portage-snapshot/" emerge --sync
PORTDIR="/release/trees/portage-snapshot/"
TMPREPO=$(mktemp)
trap "rm -f $TMPREPO" EXIT
cat >$f <<EOF
[DEFAULT]
main-repo = gentoo
[gentoo]
location = $PORTDIR
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
EOF
PORTAGE_REPOSITORIES="$(cat $TMPREPO)" FEATURES="$FEATURES -news" emerge --sync -q