aboutsummaryrefslogtreecommitdiff
blob: 029ef703fd2acbbd1d2ae8f4a06abcd83020ed96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
PORTDIR="/release/trees/portage-auto/"
TMPREPO=$(mktemp)
trap "rm -f $TMPREPO" EXIT
cat >$TMPREPO <<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