[FS#685] x86: sysupgrade to LEDE lose the configuration

LEDE Bugs lede-bugs at lists.infradead.org
Fri Apr 7 06:46:19 PDT 2017


The following task has a new comment added:

FS#685 - x86: sysupgrade to LEDE lose the configuration
User who did this - Matthias Schiffer (NeoRaider)

----------
Similar report: https://github.com/freifunk-gluon/gluon/issues/1010

Occording to remote debugging I did via IRC a few weeks ago (sorry for not reporthing this here earlier), the cause of this issue seems to be a change in the partition layout.

It seems the sda1 (boot) partition grows, but the kernel can't update its partition definitions (a call to partx added to platform_do_upgrade() will fail), as the new sda1 overlaps with the old sda2 (root), which is still mounted during sysupgrade. This will make the sda1 mount fail, so sysupgrade.tgz can't be written.

I don't think there is an easy way to make sda2 unmountable during sysupgrade? So maybe we must find a different place to store the sysupgrade files...
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=685#comment2334



More information about the lede-bugs mailing list