aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 18:57:11 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-07-31 18:57:11 +0000
commit8608db1eb6d804e7dfa68ed1b14ef8fc5375a12f (patch)
treeca929fbb623f0b02ce3396ecee39b24ac7210bf6 /release/release.sh
parent3d62046d67cb0f3a52c12ee4f2594ae0c95951ff (diff)
downloadsrc-8608db1eb6d804e7dfa68ed1b14ef8fc5375a12f.tar.gz
src-8608db1eb6d804e7dfa68ed1b14ef8fc5375a12f.zip
release: Deinstall u-boot ports before installing
FORCE_PKG_REGISTER is broken so multiple invocation of release.sh for the same board will fails if /scratch isn't cleaned. Leave it but deinstall the package first. Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D16513
Notes
Notes: svn path=/head/; revision=336995
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/release.sh b/release/release.sh
index 6b4c2c4ba750..68b56f21bf11 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -307,7 +307,7 @@ extra_chroot_setup() {
for _PORT in ${EMBEDDEDPORTS}; do
eval chroot ${CHROOTDIR} env ${PBUILD_FLAGS} make -C \
/usr/ports/${_PORT} \
- FORCE_PKG_REGISTER=1 install clean distclean
+ FORCE_PKG_REGISTER=1 deinstall install clean distclean
done
fi