Tiny Core Base > CorePlus
Change scripts inside directory
gotokrikkit:
Hello, I am new to Tiny Core, thanks to my boss and his Idea to drop Debian for something that is easy.
Here is my problem:
I need to push a script inside applications.gz (gzip) that contains an image called applications (cpio) with folders inside and at another archive called jwm_config.tcz that contains the script I want to modify .jwrc
Now I am trying to use debian to access the image and I get lost because I can extract and uncompress everything, but I have no Idea how to rebuild this huge mess.
Thank you
Rich:
Hi gotokrikkit
For the .tcz you need squashfs-tools. To unpack it:
--- Code: ---unsquashfs jwm_config.tcz
--- End code ---
The unsquashed package will be under a directory called squashfs-root. Make your changes, then squash it like this:
--- Quote ---mksquashfs squashfs-root jwm_config.tcz
--- End quote ---
gotokrikkit:
Hi, thank you for the reply :D
The mksquashfs command works fine, the problem comes after when I try to move the file back inside the cpio. I don't know how to rebuild it or at least how to mount it in rw mode.
Rich:
Hi gotokrikkit
You might want to check the Wiki. This might contain enough information:
http://wiki.tinycorelinux.net/wiki:remastering
gotokrikkit:
Tried but at the end I get
" Could not find ramdisk image: /boot/core.gz"
Navigation
[0] Message Index
[#] Next page
Go to full version