summaryrefslogtreecommitdiff
path: root/virtual/miller-base/files/write-new-updates
blob: 7b9b6cc6a7af00327b5784878e49fef9587d50cc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

unset ABI ABI_X86
eval $(emerge --info -v | grep '^UPDATESTATEDIR="[^"]*"$')
updates="${UPDATESTATEDIR:-/tmp}/`hostname`_updates.txt"

tmp="/tmp/$$.updates"
emerge -uDNpvq --with-bdeps=y @world @system > ${tmp}
mv ${tmp} ${updates}