Hello,
On 18 Jan 2020, at 09:57, Jonatan Schlag jonatan.schlag@ipfire.org wrote:
Hi,
Daniel encountered the problem that his root partition was written full because of the qemu addon being too big (200 MB). See bug #12268 for details.
So he suggested moving the path /usr/share/qemu to /var. I do not really like this solution as there are standards how the filesystem hierarchy works under Linux.
That was my suggestion for a quick fix.
However, looking at the files in /usr/share/qemu, I am not sure what we actually need. Can we not just delete some and we are fine again?
https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=config/rootfiles/packages/...
The current root file lists things like EFI ROMs for ARM which we probably do not support or need. BIOS ROMs for SPARC which we 100% do not support. If we just do not ship those files, this problem can be solved without moving the files.
Furthermore, as the systems become bigger (eg. moving python3 to the core) this problem will become more relevant to us. So I would like to start a discussion on how to solve this. Moving things to /var can only be a temporary solution. Should we force a reinstallation, which solves the root of the problem?
Yes, we have a script to cleanup what we can. We still need to make sure that the distribution is as small as possible and we have not been spending too much time on this recently. Everything becomes bigger and bigger, but I would suggest that we try to support the systems with the 2GB root partition for as long as we can.
Best, -Michael
Jonatan