Yes, I think I worked out that plan for myself already.
What is the grand plan? Why are changes needed?
It is not possible to edit or add files to /usr/bin as that path is inside a read-only squashfs file (that expands into a virtual filesystem on boot). Any changes there need to be made a image compile time; with a small number of exceptions where we support boot-time override of embedded files with content in /storage/.config/
What exact file are you attempting to modify?
Some developers have modified the bin file of some extensions (o * s- * m, TVHeadend, etc etc) and pasted it there.
When it's new, I want to take it and put it in another image and test it.
ozkaradag It's not impossible to change the read-only: For instance with mount --bind or overlayfs but it's usually not worth the trouble. You can put your binaries anyway in /storage and adding that location to your PATH variable. Following should work but is untested:
Codemkdir /storage/bin/ cp /etc/profile /storage/.profile echo "export PATH=/storage/bin/:$PATH" >> /storage/.profile
Then you can drop your bins in /storage/bin
I will give it a try at night.
Thanks to everyone.
Best regards...