Date: Wed, 24 Sep 2025 13:18:06 -0700 From: Mark Millard <marklmi@yahoo.com> To: Warner Losh <imp@bsdimp.com>, dev-commits-src-main@freebsd.org Cc: Lexi Winter <ivy@freebsd.org> Subject: RE: git: d466cb731a23 - main - make packages: Fix edge case of no kernel Message-ID: <050DDA9D-5981-4D37-A7A8-8E8B926A2EF4@yahoo.com> References: <050DDA9D-5981-4D37-A7A8-8E8B926A2EF4.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp_at_FreeBSD.org> wrote on Date: Wed, 24 Sep 2025 19:56:26 UTC : > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=d466cb731a2317ec91a89684e9d6a915fdfcc2ff > > commit d466cb731a2317ec91a89684e9d6a915fdfcc2ff > Author: Warner Losh <imp@FreeBSD.org> > AuthorDate: 2025-09-24 18:41:29 +0000 > Commit: Warner Losh <imp@FreeBSD.org> > CommitDate: 2025-09-24 19:54:51 +0000 > > make packages: Fix edge case of no kernel > > When NO_INSTALLKERNEL and NO_INSTALLEXTRAKERNELS are set, or when > BUILDKERNELS is empty, we can fail to define the create-kernel-packages > make target, which we call unconditionally. So if do not have a kernel > staging dir, go ahead and provide an empty create-kernel-packages so > that when it's used elsewhere, the build succeeds. > > This lets me build a tree and package it when I don't have a kernel, for > jails and other similar environments. There's no change if any kernels > are built, since that will provide the necessary make target that does > useful things for that case. > > Sponsored by: Netflix > --- . . . Probable MFC? === Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?050DDA9D-5981-4D37-A7A8-8E8B926A2EF4>
