openwrt/target/linux/ramips/mt7621/base-files/lib/upgrade
Robert Marko 7a181a65f2 treewide: fix initramfs detection
Commit "initramfs: switch to tmpfs to fix ujail" switched initramfs to
now use tmpfs, it causes $(rootfs_type) to now return tmpfs when
running initramfs image instead of being empty.

This broke initramfs detection which is required so that when installing
on MikroTik devices firmware partition would first get erased fully
before writing.

So, lets test for $(rootfs_type) returning "tmpfs" instead.

Fixes: 7fd3c68 ("initramfs: switch to tmpfs to fix ujail)

Signed-off-by: Robert Marko <robimarko@gmail.com>
2020-12-20 17:14:56 +00:00
..
iodata.sh ramips: add support for I-O DATA WN-DX1167R 2020-02-05 17:03:27 +01:00
platform.sh treewide: fix initramfs detection 2020-12-20 17:14:56 +00:00
ubnt.sh ramips: split base-files into subtargets 2019-11-03 00:26:17 +01:00