summaryrefslogtreecommitdiffstats
path: root/release/tools/ec2.conf
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-06-24 21:30:35 +0000
committergjb <gjb@FreeBSD.org>2015-06-24 21:30:35 +0000
commit710db0f35a238c2da3abc4416b293b224ab3e8c0 (patch)
treeaac585791ea0264d8e9496791362c57a3aceb99a /release/tools/ec2.conf
parent3c6c0527e691b4906e8ad2527fb2bfd2a8782cc1 (diff)
downloadFreeBSD-src-710db0f35a238c2da3abc4416b293b224ab3e8c0.zip
FreeBSD-src-710db0f35a238c2da3abc4416b293b224ab3e8c0.tar.gz
Ensure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
DESTDIR, otherwise it can get stuck in ttyin. This means no 10-STABLE EC2 images this week. MFC after: 3 days Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools/ec2.conf')
-rw-r--r--release/tools/ec2.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 4969ad5..9472ec5 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -32,7 +32,7 @@ vm_extra_pre_umount() {
# catalogue and install or update pkg when the instance first
# launches, so these files would just be replaced anyway; removing
# them from the image allows it to boot faster.
- pkg -c ${DESTDIR} delete -f -y pkg
+ env ASSUME_ALWAYS_YES=yes pkg -c ${DESTDIR} delete -f -y pkg
rm ${DESTDIR}/var/db/pkg/repo-*.sqlite
# The size of the EC2 root disk can be configured at instance launch
OpenPOWER on IntegriCloud