Re: One-shot upgrade script

2019-04-27 Thread Christian Weisgerber
On 2019-04-27, Kevin Chadwick wrote: > How difficult would it be to have a sysupgrade flag to What sysupgrade and the unattended upgrade do is they automate an upgrade with ALL DEFAULT settings. Like only pressing enter in the installer's (U)pgrade mode. If you want non-defaults, then you

Re: One-shot upgrade script

2019-04-27 Thread Otto Moerbeek
On Sat, Apr 27, 2019 at 01:48:38PM +0100, Kevin Chadwick wrote: > On 4/25/19 9:27 PM, Christian Weisgerber wrote: > > ... and this has now been supplanted by /usr/sbin/sysupgrade. > > How difficult would it be to have a sysupgrade flag to make the upgrade newfs > /usr, to save having to rm the

Re: One-shot upgrade script

2019-04-27 Thread Kevin Chadwick
On 4/25/19 9:27 PM, Christian Weisgerber wrote: > ... and this has now been supplanted by /usr/sbin/sysupgrade. How difficult would it be to have a sysupgrade flag to make the upgrade newfs /usr, to save having to rm the files shown in upgrade.html. (I guess it should work for all users with sane

Re: One-shot upgrade script

2019-04-25 Thread Theo de Raadt
Jungle Boogie wrote: > On Thu 25 Apr 2019 1:02 AM, Christian Weisgerber wrote: > >I don't remember if I ever posted it, but I've been using an "upgrade" > >script to download bsd.rd, verify it, move it to /bsd, and reboot. > >With florian@'s additions in -current, I have now extended the >

Re: One-shot upgrade script

2019-04-25 Thread Jungle Boogie
On Thu 25 Apr 2019 1:02 AM, Christian Weisgerber wrote: I don't remember if I ever posted it, but I've been using an "upgrade" script to download bsd.rd, verify it, move it to /bsd, and reboot. With florian@'s additions in -current, I have now extended the script to download the sets and kick

Re: One-shot upgrade script

2019-04-25 Thread Christian Weisgerber
On 2019-04-24, Christian Weisgerber wrote: > With florian@'s additions in -current, I have now extended the > script to download the sets and kick off an unattended upgrade. ... and this has now been supplanted by /usr/sbin/sysupgrade. -- Christian "naddy" Weisgerber

Re: One-shot upgrade script

2019-04-25 Thread Christian Weisgerber
Vijay Sankar: > Tested it on a system running I'm not asking for tests. It's just a little script I find helpful to make use of the unattended upgrade functionality that was added to -current. I posted the script because somebody else might find it useful, too. Or use it as a starting point

Re: One-shot upgrade script

2019-04-25 Thread Vijay Sankar
On 4/25/19 8:42 AM, Vijay Sankar wrote: On 4/25/19 2:07 AM, Remco wrote: On 25-04-19 01:02, Christian Weisgerber wrote: I don't remember if I ever posted it, but I've been using an "upgrade" script to download bsd.rd, verify it, move it to /bsd, and reboot. With florian@'s additions in

Re: One-shot upgrade script

2019-04-25 Thread Vijay Sankar
On 4/25/19 2:07 AM, Remco wrote: On 25-04-19 01:02, Christian Weisgerber wrote: I don't remember if I ever posted it, but I've been using an "upgrade" script to download bsd.rd, verify it, move it to /bsd, and reboot. With florian@'s additions in -current, I have now extended the script to

Re: One-shot upgrade script

2019-04-25 Thread Remco
On 25-04-19 01:02, Christian Weisgerber wrote: I don't remember if I ever posted it, but I've been using an "upgrade" script to download bsd.rd, verify it, move it to /bsd, and reboot. With florian@'s additions in -current, I have now extended the script to download the sets and kick off an