openwrt/target
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
..
imagebuilder imagebuilder: new DISABLED_SERVICES make variable 2019-05-15 13:34:24 +02:00
linux ipq40xx: Linksys: sysupgrade: Ensure OEM volumes are removed 2019-06-20 20:02:29 +02:00
sdk sdk: fix building external modules when CONFIG_STACK_VALIDATION=y 2019-04-26 13:05:39 +00:00
toolchain merge: etc: update remaining files 2017-12-08 19:41:18 +01:00
Config.in build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00