openwrt/target/linux/ath79/mikrotik
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
..
base-files treewide: fix initramfs detection 2020-12-20 17:14:56 +00:00
profiles ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
config-default ath79: remove AT803X config symbol from subtargets 2020-11-01 15:29:58 +01:00
target.mk ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00