diff options
author | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-08-28 22:36:56 +0000 |
---|---|---|
committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-08-28 22:36:56 +0000 |
commit | 18aef07cfac41fde763e1328366cc6e334bb9254 (patch) | |
tree | 515213edf4d9d9d1f0662550d4569f7b73eef3d7 | |
parent | f622dc5daecc5c05504cfc605b6f2d66a3bd90e8 (diff) | |
download | src-18aef07cfac41fde763e1328366cc6e334bb9254.tar.gz src-18aef07cfac41fde763e1328366cc6e334bb9254.zip |
beinstall: Pass -B to etcupdate
Since commit 246364454fc1 ("etcupdate: Use new buildetc and installetc
targets when available"), beinstall has been much slower for the
etcupdate step, as it's been doing a kernel-toolchain (admittedly
without LLVM itself being built). Given beinstall requires an object
tree to already have been built and just installs it, we can pass -B to
beinstall to reuse that tree rather than build kernel-toolchain in
another one.
Reported by: olivier
Tested by: olivier
MFC after: 1 week
-rwxr-xr-x | tools/build/beinstall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/beinstall.sh b/tools/build/beinstall.sh index 7f7481b671f5..dcafd1030c91 100755 --- a/tools/build/beinstall.sh +++ b/tools/build/beinstall.sh @@ -48,7 +48,7 @@ NO_PKG_UPGRADE="${NO_PKG_UPGRADE:-""}" # Config updater - 'etcupdate' is supported. Set to an empty string to skip. CONFIG_UPDATER="${CONFIG_UPDATER:-"etcupdate"}" # Flags for etcupdate if used. -ETCUPDATE_FLAGS="${ETCUPDATE_FLAGS:-"-F"}" +ETCUPDATE_FLAGS="${ETCUPDATE_FLAGS:-"-BF"}" ######################################################################## |