git: 7cf62c68c0f4 - main - nanobsd: Provide empty routines for new embedded scheme
Warner Losh
imp at FreeBSD.org
Thu Sep 16 17:59:26 UTC 2021
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=7cf62c68c0f48c44e3fcb098d0406f417c1f488b
commit 7cf62c68c0f48c44e3fcb098d0406f417c1f488b
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-09-16 16:18:32 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-16 17:54:18 +0000
nanobsd: Provide empty routines for new embedded scheme
calculate_partitioning and create_code_slice are now required in
nanobsd.sh. While things work with the ones provided by legacy.sh, it's
fighting embedded/common's other actions. Instead, replace them with
stubs.
Sponsored by: Netflix
---
tools/tools/nanobsd/embedded/common | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common
index f3be05ae857a..3b8faff5e252 100644
--- a/tools/tools/nanobsd/embedded/common
+++ b/tools/tools/nanobsd/embedded/common
@@ -647,6 +647,14 @@ esac
NANO_SLICE_DATA= # Not included
+# These don't make any sense to this strategy, so stub them out.
+calculate_partitioning ( ) (
+)
+
+# These don't make any sense to this strategy, so stub them out.
+create_code_slice ( ) (
+)
+
# Each major disk scheme has its own routine. Generally
# this is for mbr, gpt, etc. These are generally are widely
# shared, but some specialized formats won't be shared.
More information about the dev-commits-src-main
mailing list