[HOW TO] KODI Linux on Amlogic TV Boxes
(2014-01-21, 21:17)sonicov Wrote:
Code:
/usr.sqsh       /usr            squashfs ro,defaults,noatime 0    0

It's mounted as read only. If you change ro --> rw, and reboot, /usr should be writable.

Acually, I don't think that will do it. Potentially you could do changes by copying the usr.sqsh to Linux with squashfs tools, mount it there, add the files, and transfer it back to MX.

Example:

I used scp to copy usr.sqsh to Linux box running mythbuntu. Then there I did:

Code:
root@lumi:~# unsquashfs usr.sqsh
Parallel unsquashfs: Using 2 processors
5747 inodes (6469 blocks) to write

[=============================================================/] 6469/6469 100%
created 4964 files
created 1626 directories
created 406 symlinks
created 0 devices
created 0 fifos
root@lumi:~# cd squashfs-root/share/zoneinfo/

Do your edits/add files and directories, then squash it back and trasfer it back to MX

Code:
mksquashfs quashfs-root usr.sqsh

UPDATE: actually MX Linux has the unsquashfs and mksquashfs utilities, so no need to transfer to another box. Unsquash, make edits, squash back and replace usr.sqsh. I emphasize, that I certainly haven't tried this myself!!!
Reply


Messages In This Thread
RE: [HOW TO] XBMC Linux on Geniatech Devices - by sonicov - 2014-01-21, 22:23
Falling at the first hurdle - by malcolmbarr - 2014-02-16, 16:17
TVHeadend hangs at channel switch - by vvd214 - 2014-08-29, 09:20
. - by jon4248 - 2015-05-23, 17:00
Logout Mark Read Team Forum Stats Members Help
[HOW TO] KODI Linux on Amlogic TV Boxes5