git: 825aaabcc7ac - main - bsdinstall: Add note to zfsboot pointing to release/tools/vmimage.subr

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Sun, 08 Feb 2026 17:18:54 UTC
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=825aaabcc7ac3750b330d3e54bd1ccf349df48c9

commit 825aaabcc7ac3750b330d3e54bd1ccf349df48c9
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2026-02-08 17:17:06 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2026-02-08 17:17:06 +0000

    bsdinstall: Add note to zfsboot pointing to release/tools/vmimage.subr
    
    The VM image creation scripts have a copy of this list of datasets which
    should be kept in sync, which can otherwise be easily missed, as was the
    case in the now-reverted 3e8619e535b6 ("bsdinstall: Create separate
    datasets for directories in /usr/ports").
---
 usr.sbin/bsdinstall/scripts/zfsboot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index a4c9220a709c..a973b03d17fd 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -141,6 +141,7 @@ f_include $BSDCFG_SHARE/variable.subr
 #
 # NOTE: Requires /tmp, /var/tmp, /$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME
 # NOTE: Anything after pound/hash character [#] is ignored as a comment.
+# NOTE: Keep in sync with release/tools/vmimage.subr
 #
 f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATASETS="
 	# DATASET	OPTIONS (comma or space separated; or both)