emerge must use repos.conf now, instead of PORTDIR.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
380990612e
commit
69b94063ec
|
@ -1,2 +1,14 @@
|
||||||
#!/bin/bash
|
#!/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
|
||||||
|
|
|
@ -1,2 +1,14 @@
|
||||||
#!/bin/bash
|
#!/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
|
||||||
|
|
|
@ -1,2 +1,14 @@
|
||||||
#!/bin/bash
|
#!/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
|
||||||
|
|
Loading…
Reference in a new issue