> On Apr 10, 2017, at 6:43 AM, John Crispin <j...@phrozen.org> wrote: > > > > On 10/04/17 14:25, Kenneth Johansson wrote: >> I found that we touch the file /tmp/sysupgrade in a few places >> >> --- >> >> git grep "tmp/sysupgrade" | grep touch >> package/base-files/files/sbin/sysupgrade:touch /tmp/sysupgrade >> package/system/fstools/files/snapshot: touch /tmp/sysupgrade >> package/system/procd/files/nand.sh: touch /tmp/sysupgrade >> --- >> >> But why ? did not find anything that uses that file. >> >> >> >> _______________________________________________ >> Lede-dev mailing list >> Lede-dev@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/lede-dev > > Hi > procd [1] uses it to detect if an upgrade is in progress > John > > [1] > https://git.lede-project.org/?p=project/procd.git;a=blob;f=initd/preinit.c;h=729978ea2f2af790653baaee5ae788f05a88a177;hb=HEAD#l62
Dumb question… why not just IPC procd telling it we’re entering a sysupgrade state? _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev