07-18-2018, 02:27 PM
(07-18-2018, 11:48 AM)FizzyTea Wrote: Hello @badbat75 I have used your tool to build moode 4.2.
I entered interactive mode to add files ssh, wpa_supplicant.conf, moodecfg.txt before flashing using etcher and booting the image.
All seems good initially.
However when I attempt to edit /var/www/js/scripts-panels.js I am told (by nano)
Code:File '/var/www/js/scripts-panels.js' is unwritable
Permissions look normal compared to permissions on moode 4.2 built with mosbuild. Root is the owner and has read-write permissions.
Doing some tests I try to create some blank files. Using 'sudo touch test' I am told
Code:touch: cannot touch 'test': Read-only file system
For /var/www/js & /var/www this is the case.
I am however able to create a blank file (using sudo of course) in /var/
Any thoughts would be appreciated. Thanks.
By default, /var/www is mounted on squashfs that is a readonly filesystem. If you want to disable during the build add ENABLE_SQUASHFS=0 before bbbuild command:
Code:
ENABLE_SQUASHFS=0 ZIP_FORMAT=XZ ./bbbuild moode-r42