opnsense-src/tools
Jose Luis Duran dc4b36b963
nanobsd: Always define the partition index
Print the desired partition index together with the starting LBA and the
size. Otherwise, when only one code partition is desired, the
configuration partition (/cfg) may not end up in the third slice, thus
breaking the scripts that expect it there.

This was the previous approach, changed in 587c054bea ("nanobsd: Use
gpart and create code image before full disk image").

Fix it by printing the index as the last column to reduce the chances of
breaking current overrides, and using it as the gpart index.

PR:		262098
Reviewed by:	imp
Approved by:	emaste (mentor)
Fixes:	587c054bea ("nanobsd: Use gpart and create code image before full disk image")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47835
2025-02-04 14:07:00 +00:00
..
boot Copy the new ia32 loader 2024-09-20 08:45:10 -06:00
bsdbox Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
build depend-cleanup: Ignore lib32 for arm64 only files 2025-02-04 11:30:37 +00:00
bus_space Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
coccinelle copystr(9): Move to deprecate (attempt #2) 2020-05-25 16:40:48 +00:00
debugscripts Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
diag Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ifnet Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
kerneldoc Remove SOC FPGA drivers 2024-12-06 17:38:52 -05:00
LibraryReport Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
pkgbase Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
regression Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
sched Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
test ports/filesystems: Fix fallout 2025-01-27 15:03:10 -05:00
tools nanobsd: Always define the partition index 2025-02-04 14:07:00 +00:00
uma/smrstress Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
install.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
make_libdeps.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
tinder.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.