openwrt/target/linux/ipq40xx/base-files/lib
Jeff Kletsky a471d8c595 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-24 20:28:33 +02:00
..
preinit ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
upgrade ipq40xx: Linksys: sysupgrade: Ensure OEM volumes are removed 2019-06-24 20:28:33 +02:00