The response file contains only to non-defaults, except for
Set name(s)? (or 'abort' or 'done') [done] done
which is the hardcoded default since 2009:
ask "Set name(s)? (or 'abort' or 'done')" done
We pass it since r1.23 in 2019
Let sysupgrade(8) create auto_upgrade.conf file in preparation of
moving the functionality out of install.sub.
OK deraadt
I see no need for explicit defaults.
sysupgrade(8) and installer work the same with this diff.
Index: sysupgrade.sh
===================================================================jk
RCS file: /cvs/src/usr.sbin/sysupgrade/sysupgrade.sh,v
retrieving revision 1.48
diff -u -p -r1.48 sysupgrade.sh
--- sysupgrade.sh 8 Jun 2022 09:03:11 -0000 1.48
+++ sysupgrade.sh 29 Sep 2023 13:48:18 -0000
@@ -185,7 +185,6 @@ fi
cat <<__EOT >/auto_upgrade.conf
Location of sets = disk
Pathname to the sets = ${SETSDIR}/
-Set name(s) = done
Directory does not contain SHA256.sig. Continue without verification = yes
__EOT