Download raw body.
sysupgrade keeps BUILDINFO file after upgrade
Hi!
After executing `sysupgrade -s` I found the file
`/home/_sysupgrade/BUILDINFO`.
Attached suggested patch for remove the file.
Regards,
Juan Picca
diff /usr/src
path + /usr/src
commit - 83bdfbbfddbf3291b9e118d399cbe75f145ddee9
blob - b01ccd3878d13305b42871dda308cecb708378a5
file + usr.sbin/sysupgrade/sysupgrade.sh
--- usr.sbin/sysupgrade/sysupgrade.sh
+++ usr.sbin/sysupgrade/sysupgrade.sh
@@ -220,7 +220,7 @@ Directory does not contain SHA256.sig. Continue withou
__EOT
if ! ${KEEP}; then
- CLEAN=$(echo SHA256 ${SETS} | sed -e 's/ /,/g')
+ CLEAN=$(echo SHA256 BUILDINFO ${SETS} | sed -e 's/ /,/g')
cat <<__EOT > /etc/rc.firsttime
rm -f ${SETSDIR}/{${CLEAN}}
__EOT
sysupgrade keeps BUILDINFO file after upgrade