Bug #90
closedmatchbox and shell hidden files/directories in top level (/) directory
0%
Description
When xinit starts matchbox it creates its configuration directory under the top level directory (/). Also, there is an .ash_history in the same directory.
The xinit start process needs to change to a directory on the tmpfs and create its directory there. This will be a case where an existing .matchbox from the SD card should be copied over at boot, updated during the runtime and copied back (using rsync, if possible, to update only changed files) only at shutdown.
The solution is probably to remove starting xinit from inittab and into an init script. There is already an S90xorg file but this will probably need significant updating. I may want to check what the BB demo image and Ubuntu/Angstrom images are doing here.
Same with the .ash_history, but I'm not sure if this is leftover from when the getty was not working and I tested with a sh launched from inittab. It probably is, which would make this file a non-issue.