mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
7a181a65f2
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:
|
||
---|---|---|
.. | ||
base-files/etc/hotplug.d/ieee80211 | ||
dts | ||
files | ||
generic | ||
image | ||
mikrotik | ||
nand | ||
patches-5.4 | ||
tiny | ||
config-5.4 | ||
Makefile | ||
modules.mk |