Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 15:27:48 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324979 - head/tools/boot
Message-ID:  <201710251527.v9PFRmAU017899@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Oct 25 15:27:48 2017
New Revision: 324979
URL: https://svnweb.freebsd.org/changeset/base/324979

Log:
  Do a chdir to SRCTOP/sys/boot before starting the run. This lets one
  run this script from anywhere, but makes it only work on sys/boot.
  
  Sponsored by: Netflix

Modified:
  head/tools/boot/universe.sh

Modified: head/tools/boot/universe.sh
==============================================================================
--- head/tools/boot/universe.sh	Wed Oct 25 15:26:03 2017	(r324978)
+++ head/tools/boot/universe.sh	Wed Oct 25 15:27:48 2017	(r324979)
@@ -19,6 +19,9 @@
 # Output is put into _.boot.$TARGET_ARCH.log in sys.boot.
 #
 
+top=$(make -V SRCTOP)
+cd $top/sys/boot
+
 for i in \
 	amd64/amd64 \
 	arm/arm arm/armeb arm/armv7 \



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