blob: f0291ec8b49989d3b1eacdaa88c262171ce18466 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -eu -o pipefail
ports_tree=latest
# update ports tree
poudriere ports -u -p "$ports_tree" > /dev/null
for jail in "$@"; do
poudriere jail -u -j "$jail" > /dev/null
poudriere bulk -j "$jail" -f /usr/local/etc/poudriere.d/pkglist -p "$ports_tree" > /dev/null
done
poudriere distclean -p "$ports_tree" -a -y > /dev/null
poudriere logclean -N 5 -p "$ports_tree" -y > /dev/null
|