MIME registration breaks readonly /usr/share
enrico.scholz at informatik.tu-chemnitz.de
Fri Sep 17 22:06:47 UTC 2004
the current method to register MIME types (
| update-mime-database "/usr/share/mime"
in %post scriptlets) breaks on setups where /usr/share is mounted
readonly. This bug seems to affect a lot of recent gnome packages so
that a general solution must be found.
The "right" thing would be probably to do the needed checks in the %post
* rpm does not offer simple ways for this
* every package whould need this check
Last point could be solved by a %__update_mime_database macro incorporating
the required tests and actions. But the first issue stays so that a quick
hack like checking for EROFS in 'update-mime-database' is perhaps the best
solution for now.
More information about the devel