Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: b1ackmai1er on September 16, 2011, 11:38:25 AM

Title: Overwriting file in extension
Post by: b1ackmai1er on September 16, 2011, 11:38:25 AM
Hi,

I have an extension installed that I want to make a change to in one of the template files. I can edit the file to make the change but cannot save as the file as it is part of the read-only filesystem.

Is there a way I can get my application to use my updated file without having to remaster the whole extension to include the changed file?

Thanks
Title: Re: Overwriting file in extension
Post by: vinnie on September 16, 2011, 11:56:47 AM
if I understand, add path of modified file in /opt/.filetool.lst and make a backup.
after reboot your changes should be overwritten on filesystem from your backup file.

http://wiki.tinycorelinux.net/wiki:backup (http://wiki.tinycorelinux.net/wiki:backup)
Title: Re: Overwriting file in extension
Post by: Rich on September 16, 2011, 12:12:07 PM
Hi b1ackmai1er
You should know by now to include details when you ask a question, like which extension you are
referring to.
The basic answer is you have to replace the link in  /usr/where/the/link/is  with the file
  /tmp/tcloop/where/the/file/is   and add   usr/where/the/file/is/now   to   /opt/.filetool.lst
Then edit   /usr/where/the/file/is/now
Hope this makes sense.