<div dir="ltr"><div><div>Joshua,<br><br></div>I've had some similar interest in this topic.  As far as I know, there isn't anything like this on OpenWrt. There might be some overlap with the discussion of automatic updates from last week as well.<br><br></div><div>Eric<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 11:44 AM, Joshua Judson Rosen <span dir="ltr"><<a href="mailto:jrosen@harvestai.com" target="_blank">jrosen@harvestai.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to decide on a Linux-based OS to use in a project,<br>
and one of the features that I want is failsafe upgrades--<br>
such that failing to run an upgrade procedure to completion<br>
should be non-catastrophic, and automatically recoverable; the<br>
system should always be able to (re)boot into a state<br>
where it can run normally, either in the upgraded state<br>
or in the pre-upgrade state.<br>
<br>
One option that I've deal with is to keep two parallel<br>
system installs, upgrade whichever one you're not currently using,<br>
try to boot _that one_ after the upgrade finishes,<br>
and fall back to the last-known-good install<br>
if either the upgrade fails in the middle or the boot into<br>
the preferred install fails. IIRC, there's something like this<br>
available with Yocto; and, if I understand it correctly,<br>
NixOS also does something similar in spirit to this<br>
(though perhaps with a different granularity).<br>
<br>
Are there any provisions for doing something like that<br>
with OpenWRT?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Eric Schultz, Community Manager, prpl Foundation<br><a href="http://www.prplfoundation.org" target="_blank">http://www.prplfoundation.org</a><br><a href="mailto:eschultz@prplfoundation.org" target="_blank">eschultz@prplfoundation.org</a><br>cell: 920-539-0404<br>skype: ericschultzwi<br>@EricPrpl</div></div>
</div>