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
This commit is contained in:
Emmanuel Vadot 2018-07-31 18:57:11 +00:00
parent 3d62046d67
commit 8608db1eb6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336995

View File

@ -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