Enable creating config files in another partition

Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
Build images in (hardcoded) ramfs if available

Signed-off-by: Junjie Mao <eternal.n08@gmail.com>