gentoo-asahi-releng/scripts/update_snapshot_tree

15 lines
335 B
Plaintext
Raw Normal View History

2012-07-09 17:47:42 +00:00
#!/bin/bash
PORTDIR="/release/trees/portage-snapshot/"
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