Bug 16009 - Firmware upgrade leaves empty directories
: Firmware upgrade leaves empty directories
Status: RESOLVED PATCHWELCOME
Product: SqueezePlay
Classification: Unclassified
Component: Setup
: 7.5.x
: PC Other
: -- minor with 1 vote (vote)
: ---
Assigned To: Unassigned bug - please assign me!
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-07 04:07 UTC by Erland Isaksson
Modified: 2011-04-25 09:13 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erland Isaksson 2010-04-07 04:07:49 UTC
When doing a firmware upgrade it removes any files which has been modified or added, for example third party applet lua files, but it leaves the empty directories, for example directories for third party applets.

I think the firmware upgrade should also remove the empty directories.

The problem is in /linuxrc which contains the rm directive that removes the files.

It will probably not cause any major problem unless there is some applet that reads the file system and checks if a directory exists. The current version of the third party "Patch Installer" applet does this which results in problems. It shouldn't be a problem to change the "Patch Installer" applet to handle this but it feels like the correct solution would be to also reset the directories after a firmware upgrade and not just the files within them.