Date: Mon, 16 Jul 2018 22:12:57 +0200 From: Andrew Stevenson <andrew@ugh.net.au> To: lev@FreeBSD.org Cc: freebsd-embedded@freebsd.org Subject: Re: NanoBSD: how to add manual upgrade "approval" / auto roll-back? Message-ID: <98E0A548-4CFE-4C12-B0F0-3358B1DF841F@ugh.net.au> In-Reply-To: <a4e2a130-eb5f-7cfd-ff43-7897ea8ba75a@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
> On 16. Jul 2018, at 18:01, Lev Serebryakov <lev@FreeBSD.org> wrote: > > Is it possible to make some mechanism (in loader? I don't think > mbr/boot0 can accommodate this) which switch back active slice if boot > into new version was not successful (not all services started, or kernel > hangs, or network is unavailable), so it will be possible to roll-back > upgrade by simple power cycle, without console access? Very important I haven’t done this but, assuming you are using gptboot, can you not set the bootonce flag after upgrade? Then if the system comes up you set bootme. Andrewhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98E0A548-4CFE-4C12-B0F0-3358B1DF841F>
