git: c84d43b57c48 - main - full-test.sh: Include fastboot for hardlinks

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 09 Apr 2025 20:54:04 UTC
The branch main has been updated by imp:

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

commit c84d43b57c48e1185bc593f26ebd51b0d35750df
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-04-09 20:53:36 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-04-09 20:53:36 +0000

    full-test.sh: Include fastboot for hardlinks
    
    13.x didn't need this, but 14.2 does need it. Extract /sbin/fastboot
    too since it's recorded as the target of reboot/halt that we do want.
    
    Sponsored by:           Netflix
---
 tools/boot/full-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/boot/full-test.sh b/tools/boot/full-test.sh
index 0b1bc500b3a4..c8669cf3f6ec 100644
--- a/tools/boot/full-test.sh
+++ b/tools/boot/full-test.sh
@@ -159,7 +159,7 @@ make_minimal_freebsd_tree()
     # Pretend we don't have a separate /usr
     ln -s . ${dir}/usr
     # snag the binaries for my simple /etc/rc file
-    tar -C ${dir} -xf ${CACHE}/$file sbin/reboot sbin/halt sbin/init bin/sh sbin/sysctl \
+    tar -C ${dir} -xf ${CACHE}/$file sbin/fastboot sbin/reboot sbin/halt sbin/init bin/sh sbin/sysctl \
 	lib/libncursesw.so.9 lib/libc.so.7 lib/libedit.so.8 libexec/ld-elf.so.1
 
     # My simple etc/rc