Persistent /var

I have configured usb external storage using extroot, and I'd like to have persistent /var directory. I've tried adding entry to /etc/config/fstab and replacing symlink with regular directory but this results in my router being softbricked.

How can I replace /var with regular directory or a mount?

That is a build-time decision: