diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2026-04-24 14:10:01 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2026-04-24 14:10:01 +0000 |
| commit | bb75b0d581f74e22a68d7868ad1f5da1146a8de0 (patch) | |
| tree | 64488910bce6ab92c29a78b54010f773e3ab994b /packages/bootloader | |
| parent | 75c66218401c00f4728d5312e2b933b8d3aefde1 (diff) | |
Diffstat (limited to 'packages/bootloader')
| -rw-r--r-- | packages/bootloader/Makefile | 24 | ||||
| -rw-r--r-- | packages/bootloader/bootloader.ucl | 25 |
2 files changed, 49 insertions, 0 deletions
diff --git a/packages/bootloader/Makefile b/packages/bootloader/Makefile new file mode 100644 index 000000000000..7f70541f8cfd --- /dev/null +++ b/packages/bootloader/Makefile @@ -0,0 +1,24 @@ +.include <src.opts.mk> + +WORLDPACKAGE= bootloader +SUBPACKAGES= + +# bootloader-dbg is only built if we're building userboot, which is specific +# to amd64. +.if ${MACHINE_CPUARCH} == "amd64" +SUBPACKAGES+= dbg +.endif + +# The bootloader "dev" package only contains manpages. +.if ${MK_MAN} != "no" +. if ${MK_MANSPLITPKG} != "no" +SUBPACKAGES+= man +. else +SUBPACKAGES+= dev +. endif +.endif + +# The bootloader isn't normally used in a jail. +PKG_SETS= minimal + +.include <bsd.pkg.mk> diff --git a/packages/bootloader/bootloader.ucl b/packages/bootloader/bootloader.ucl new file mode 100644 index 000000000000..44bf45cf79e1 --- /dev/null +++ b/packages/bootloader/bootloader.ucl @@ -0,0 +1,25 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +comment = "System boot loader" + +desc = <<EOD +The boot loader is used to bootstrap the kernel from the system firmware +environment during startup. This package contains the loader itself and +various configuration files and scripts used by the loader. +EOD |
