In D53429#1221417, @jhb wrote:Eh, I'm not sure this is actually the style we want? Lots of places in the tree fix the diff problem by just using multiple += statements, e.g.:
FOO= foo FOO+= bar FOO+= baz
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Yesterday
Yesterday
Mon, Nov 24
Mon, Nov 24
Tue, Nov 18
Tue, Nov 18
Sat, Nov 1
Sat, Nov 1
Thu, Oct 30
Thu, Oct 30
rc.subr set dot_dir and dot_file in dot
Wed, Oct 29
Wed, Oct 29
Sep 18 2025
Sep 18 2025
Perfect, thank you. Should I wait for this to find it's way to FreeBSD or apply the change locally?
Sep 16 2025
Sep 16 2025
No need for a comment, I committed the following upstream:
Index: var.c =================================================================== RCS file: /cvsroot/src/usr.bin/make/var.c,v retrieving revision 1.1171 diff -u -p -r1.1171 var.c --- var.c 29 Jun 2025 11:02:17 -0000 1.1171 +++ var.c 16 Sep 2025 15:13:28 -0000 @@ -1850,7 +1850,7 @@ QuoteShell(const char *str, bool quoteDo static char * Hash(const char *str) { - static const char hexdigits[16] = "0123456789abcdef"; + static const char hexdigits[] = "0123456789abcdef"; const unsigned char *ustr = (const unsigned char *)str;
Sep 15 2025
Sep 15 2025
Sep 8 2025
Sep 8 2025
Aug 21 2025
Aug 21 2025
sjg committed rG027be99b1f33: Stub is_tftp when LOADER_NET_SUPPORT is not enabled (authored by sjg).
Stub is_tftp when LOADER_NET_SUPPORT is not enabled
In case it isn't obvious, we can't stub or #ifdef this in libsa since that is presumably shared by all loaders for a given arch, thus a non-optional src from loader.mk would seem to make sense - misc.c seemed as good as any?
Aug 20 2025
Aug 20 2025
Allow secure-netboot
loader: do not try to open directories with TFTP
stand: add fs_ops.fs_flag
Aug 8 2025
Aug 8 2025
Aug 7 2025
Aug 7 2025
Replace license with just SPDX BSD-2-Clause
Aug 5 2025
Aug 5 2025
Merge bmake-20250804
Import bmake-20250804
Aug 1 2025
Aug 1 2025
Split out fs_ops.fs_flag to D51684
Jul 30 2025
Jul 30 2025
sjg added a comment to D51443: release/Makefile should not use the host /usr/bin/install command, but the freshly built one.
In D51443#1179395, @jrtc27 wrote:To make this work in cheribuild I passed INSTALL="sh /path/to/src/tools/install.sh". Doing something automatically here that works would be good, though I'd want confirmation from someone like @sjg that ${.OBJDIR}/.. is definitely going to always be world's ${OBJTOP}.
Jul 25 2025
Jul 25 2025
works for me, just one nit above
Note I would disagree that make isn't needed in a minimal install, I use make and makefiles for all sorts of use-cases that have nothing to do with building src/
Jul 24 2025
Jul 24 2025
In D51447#1175667, @imp wrote:I do like this better...
But what we're trying to avoid is setting currdir to tftp://1.2.3.4/mumble and having lots of tftp traffic go as we try to open it a bunch of times to see if each of the filesystems can cope... Can you confirm that's the top of this rabbit hole?
Jul 23 2025
Jul 23 2025
Rework to avoid opening dirs via TFTP while not breaking diskless
boot with nfs.
sjg accepted D51467: security/ossec-hids-local: fix makefile warnings: Invalid character " " in variable name.
I can't approved, but looks sane - I assume it works ;-)
Jul 22 2025
Jul 22 2025
Jul 21 2025
Jul 21 2025
install: allow ENV in metatags
bsd.subdir.mk skip _SUBDIR for DIRDEPS_BUILD
Jul 20 2025
Jul 20 2025
Jul 19 2025
Jul 19 2025
Mention pkgfs_fsops in libsa.3
Merge bmake-20250707
Import bmake-20250707
Jul 18 2025
Jul 18 2025
Add flag to fs_ops for skipping devopen
This review has been broken up and the open review is D51187
Make the code in open() neater
Alternative means of skipping devopen for pkgfs
Jul 17 2025
Jul 17 2025
Rebase after commit DEBUG_PRINTF
Add DEBUG_PRINTF to stand.h
In D51269#1173596, @imp wrote:This looks good.
It would be nice if there was a loader command to set the debug level, but that's a separate thing and isn't universally useful since a lot of this code runs before the OK prompt.
In D51094#1172979, @imp wrote:I had a note to follow up on this in a "little while"
Where are we? Is this review done? Or have I overlooked some sub-review that split off?
Jul 16 2025
Jul 16 2025
Tweak the #ifdef in stand.h
Jul 11 2025
Jul 11 2025
In D51187#1170063, @imp wrote:Can you do the debug level stuff first so we get that out of the way? There's also a lot of different fixes bundled together which makes me super nervous for future bisecting...
Jul 10 2025
Jul 10 2025
Allow net_cleanup for loader.efi
Jul 9 2025
Jul 9 2025
Tweak comment as suggested
Add a comment about why dev_cleanup needs to be called before bi_load
Jul 8 2025
Jul 8 2025
In D51186#1169361, @imp wrote:In D51186#1169123, @sjg wrote:In D51186#1168883, @imp wrote:So what happens when bi_load() returns an error? Most devices don't have the 'dv_cleanup()' routines, so it doesn't matter that much... But wouldn't this preclude network working if it does cleanup? I think it might be OK.
It looks like the only case for which bi_load() returns an error - vs panic is failure to find rootdev which seems the sort of thing that could have been done earlier?
If that were extracted to some earlier call, then bi_load() looks like a one way trip to boot or panicIt may be a redunant check. But I'm not sure that bi_load is the right place to do exit boot services since I don't want its callers to know that only panics are possible because that changes over time.
But I think your analysis is flawed, since we have
if (retry == 0) { BS->FreePages(addr, pages); printf("ExitBootServices error %lu\n", EFI_ERROR_CODE(status)); return (EINVAL); }late in the bi_load.
In D51186#1168883, @imp wrote:So what happens when bi_load() returns an error? Most devices don't have the 'dv_cleanup()' routines, so it doesn't matter that much... But wouldn't this preclude network working if it does cleanup? I think it might be OK.
In D51186#1168883, @imp wrote:So what happens when bi_load() returns an error? Most devices don't have the 'dv_cleanup()' routines, so it doesn't matter that much... But wouldn't this preclude network working if it does cleanup? I think it might be OK.
Jul 6 2025
Jul 6 2025
In D51094#1168500, @imp wrote:Usually many of the smaller changes will go in quickly if there are any others the prove to need more discussion. So that can also narrow the focus quickly. Thanks.
In D51094#1168160, @imp wrote:This mixes a lot of different types of changes all in one big ball that's hard to review.
Any chance you could break them down to approximately what the paragraphs of the description say? At the very least, the debug stuff should be a separate commit, but really there's about 10 commits hiding in this one review by my quick count. It makes bisecting quite a bit simpler to do separate commits.
Jun 30 2025
Jun 30 2025
Make the same change for arm, i386 and riscv
Jun 28 2025
Jun 28 2025
Merge bmake-20250618
Import bmake-20250618
Jun 5 2025
Jun 5 2025
local.dirdeps.mk remove stray .endif
local.dirdeps.mk move MK_RUN_TESTS .endif
Jun 4 2025
Jun 4 2025
Add host.test.mk for DIRDEPS_BUILD
Jun 3 2025
Jun 3 2025
Update comment at start of host.test.mk
Export SB_OBJROOT for later reference
Jun 2 2025
Jun 2 2025
sjg committed rG61d77e6c0095: loader: allow for exceptions to restricted settings. (authored by sjg).
loader: allow for exceptions to restricted settings.
install: must set netproto for tftp://
May 27 2025
May 27 2025
Give this a chance of being useful to non-DIRDEPS_BUILD
May 26 2025
May 26 2025
safe_eval allow : and + in values
May 22 2025
May 22 2025
stand allow for local.defs.mk
May 21 2025
May 21 2025
In D50459#1151661, @emaste wrote:Is there a reasonable way to have make use bash as the default shell on Linux?
In D50459#1151603, @jrtc27 wrote:What shell are we using here, the default system sh? dash doesn't support pipefail, so I'm concerned this will break on Linux.
May 20 2025
May 20 2025
loader - guard against empty rootdev
May 17 2025
May 17 2025
Add host.test.mk to FILES
May 16 2025
May 16 2025
grantbylabel_syscall check p_textvp != NULL