openwrt/target/linux/ramips/mt7621/base-files
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
..
etc ramips: add support for GL.iNet GL-MT1300 2020-12-17 12:05:26 +01:00
lib treewide: fix initramfs detection 2020-12-20 17:14:56 +00:00
sbin ramips: split base-files into subtargets 2019-11-03 00:26:17 +01:00