On 2021-08-27 23:00 -0400, Daniel Jakots <[email protected]> wrote: > On Fri, 27 Aug 2021 20:17:51 -0500, Aaron Poffenberger > <[email protected]> wrote: > > > + ${PKGS} && echo "pkg_add -Iu" >> /etc/rc.firsttime > > I don't think this addition is worth it, but anyway this won't work for > people running -current when it's release time and the release isn't > available yet (-Dsnap). > > Cheers, > Daniel >
Initially I considered a PKG_ADD environment variable to let the override the command concatenated to /etc/rc.firsttime, but held off until needed. Something like the following would resolve that concern. PKG_ADD='pkg_add -Iu -Dsnap' sysupgrade -u --Aaron
