mwarning/docker-openwrt-build-env

non case sensitive file systems

beagleboys opened this issue · 4 comments

first of all thank you for the great work. literally saved me hours of work.
Only change I would make is to add language in the readme to create a case sensitive disk image to work on when using this docker if you are working on a non case sensitive os.
thanks again for the great work!

Great to read! :-)

Can you tell me what to add?

I adapted instructions from the official openwrt page to prep macosx: https://openwrt.org/docs/guide-developer/easy.build.macosx

you create a disk image
hdiutil create -size 20g -fs "Case-sensitive HFS+" -volname OpenWrt OpenWrt.dmg hdiutil attach OpenWrt.dmg

and then when you load the docker you use:
docker run -v /volumes/openwrt:/home/user -it openwrt_builder /bin/bash

et voilà!

(on MacOS, mileage may vary)

Great! I will add it to the readme.

d016bb6

Let me know if this correct or if you have improvements in mind.