I've successfully used image builder for years on pure Ubuntu Linux, so I thought I'd try it out on WSL,
which has a version of Ubuntu Linux.
It almost works, but at the end of the build there is a complaint about a relative path in the PATH variable:
/home/myname/openwrt-imagebuilder-21.02.3-ath79-nand.Linux-x86_64/staging_dir/host/bin/find: The relative path 'Files' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH make[2]: *** [Makefile:174: prepare_rootfs] Error 1 make[1]: *** [Makefile:123: _call_image] Error 2 make: *** [Makefile:240: image] Error 2
I assume you're falling over spaces in some of the directories in your $PATH (Program Files comes to mind), just remove those from your PATH definition.