Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 18:57:12 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336995 - head/release
Message-ID:  <201807311857.w6VIvCDR070732@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807311857.w6VIvCDR070732>