openwrt/target/linux/ipq40xx/base-files/lib/upgrade
Jeff Kletsky 1440175f82 ipq40xx: Linksys: sysupgrade: Ensure OEM volumes are removed
When OEM volumes are present in the [alt_]firmware partition,
sysupgrade will write a new kernel, but will fail to write
the root file system. The next boot will hang indefinitely

    Waiting for root device /dev/ubiblock0_0...

Modified ipq40xx/base-files/lib/upgrade/linksys.sh
to remove both `squashfs` and `ubifs` if found
on the target firmware partition's UBI device.

Run-tested-on: Linksys EA8300

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[applied some shellcheck suggestions as well]
2019-06-20 20:02:29 +02:00
..
linksys.sh ipq40xx: Linksys: sysupgrade: Ensure OEM volumes are removed 2019-06-20 20:02:29 +02:00
openmesh.sh ipq40xx: fix openmesh sysupgrade with tar content out of order 2018-12-05 09:40:32 +01:00
platform.sh ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00