Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2019 14:34:46 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r349232 - in stable/12/release: . tools
Message-ID:  <201906201434.x5KEYkIA021412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Thu Jun 20 14:34:45 2019
New Revision: 349232
URL: https://svnweb.freebsd.org/changeset/base/349232

Log:
  MFC r349160:
   Fix passing ${CONF_FILES} (which contains MAKE_CONF and
   SRC_CONF, __MAKE_CONF and SRCCONF, respectively) through
   to arm_install_base() and chroot_arm_build_release().
   This prevents failures when the target image is intended
   to be build with make.conf(5) and src.conf(5) overrides,
   which are correctly handled for non-embedded image builds.
  
  PR:		238615
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/release/release.sh
  stable/12/release/tools/arm.subr
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/release/release.sh
==============================================================================
--- stable/12/release/release.sh	Thu Jun 20 14:13:10 2019	(r349231)
+++ stable/12/release/release.sh	Thu Jun 20 14:34:45 2019	(r349232)
@@ -388,6 +388,7 @@ chroot_arm_build_release() {
 	[ ! -z "${RELEASECONF}" ] && . "${RELEASECONF}"
 	export MAKE_FLAGS="${MAKE_FLAGS} TARGET=${EMBEDDED_TARGET}"
 	export MAKE_FLAGS="${MAKE_FLAGS} TARGET_ARCH=${EMBEDDED_TARGET_ARCH}"
+	export MAKE_FLAGS="${MAKE_FLAGS} ${CONF_FILES}"
 	eval chroot ${CHROOTDIR} env WITH_UNIFIED_OBJDIR=1 make ${MAKE_FLAGS} -C /usr/src/release obj
 	export WORLDDIR="$(eval chroot ${CHROOTDIR} make ${MAKE_FLAGS} -C /usr/src/release -V WORLDDIR)"
 	export OBJDIR="$(eval chroot ${CHROOTDIR} env WITH_UNIFIED_OBJDIR=1 make ${MAKE_FLAGS} -C /usr/src/release -V .OBJDIR)"

Modified: stable/12/release/tools/arm.subr
==============================================================================
--- stable/12/release/tools/arm.subr	Thu Jun 20 14:13:10 2019	(r349231)
+++ stable/12/release/tools/arm.subr	Thu Jun 20 14:34:45 2019	(r349232)
@@ -166,7 +166,7 @@ arm_install_base() {
 		TARGET=${EMBEDDED_TARGET} \
 		TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \
 		DESTDIR=${DESTDIR} KERNCONF=${KERNEL} \
-		installworld installkernel distribution
+		${CONF_FILES} installworld installkernel distribution
 	chroot ${CHROOTDIR} mkdir -p ${DESTDIR}/boot/msdos
 
 	arm_create_user



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