Author: manu
Date: Tue Jul 31 18:57:11 2018
New Revision: 336995
URL: https://svnweb.freebsd.org/changeset/base/336995

Log:
  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

Modified:
  head/release/release.sh

Modified: head/release/release.sh
==============================================================================
--- head/release/release.sh     Tue Jul 31 18:55:44 2018        (r336994)
+++ head/release/release.sh     Tue Jul 31 18:57:11 2018        (r336995)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to