69b94063ec
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
15 lines
329 B
Bash
Executable file
15 lines
329 B
Bash
Executable file
#!/bin/bash
|
|
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
|