Red Hat Bugzilla – Bug 193237
Move /etc/firmware to /lib/firmware
Last modified: 2008-03-03 15:09:23 EST
Description of problem:
Well, did you ever have a look to /etc/firmware? If yes, you noticed, that
except the microcode update nothing is there and the directory /etc/firmware
itself isn't owned by any package.
I would suggest moving of /etc/firmware to /lib/firmware. Both is available
at booting time, but /lib/firmware looks more suitable to me, because kernel
driver requiring firmware (like ipw2200, bcm43xx, prism54 etc.) are loading
their stuff from there.
And yes, I know that it doesn't use the exact same infrastructure, but it
would make more sense in my eyes to group them - same opinion returned from
Bill Nottingham, yesterday in IRC.
Version-Release number of selected component (if applicable):
ls -l /etc/firmware
rpm -qf /etc/firmware
A /etc/firmware directory only for one microcode_ctl file and the rest of the
world is putting its firmware files into /lib/firmware.
Merge /etc/firmware into /lib/firmware.
Patches containing this expected change are attached, but they also clean up
the spec file a bit... ;-)
Created attachment 130023 [details]
Diff of microcode_ctl spec files
Created attachment 130024 [details]
Updated microcode_ctl patch
Created attachment 130025 [details]
Diff of microcode_ctl init files
Jon - still alive? Could you please fix this bug report soon? Thanks...
The two directories are not really doing the same thing - this package handles
microcode, not the same kind of firmware that the kernel is looking for. But I
do get the point, we do patch microcode_ctl to change the location and that is
open for some debate. I haven't forgotten about this issue, just I'm not sure
what the best thing to do is just yet - I'll talk to davej/others a little for
comments about why it became /etc/firmware in the first place so I know the history.
Okay. And when it's /etc/firmware further on, then please OWN the stuff your
package delivers (otherwise request filesystem package to add the /etc/firmware
directory), please... ;-)
I don't really have an opinion on where it comes from, as long as it works.
Common, please :)
Sorry. I've added this to my TODO and will get it fixed.
Will we get this into F8?
Didn't even know this bug existed, but when doing some microcode_ctl work a week
or two ago, I actually moved microcode.dat to /lib/firmware in rawhide.