When integrating nodejs/node_modules in an image also “junk files” are added. These files (license, readme, etc.) use a lot of space which is valuable for embedded systems. Does anybody know of a method to remove these files from the final image?
Modify the package's Makefile to not copy them as often the Make file does a cp some/path/* some/staging/path/
modclean won't help, as they will still be in the ROM, still consuming space, for most any OpenWrt install.
1 Like
Done as you suggested, thanks!
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.