On Tue, 2007-08-14 at 17:43 -0400, Jarod Wilson wrote: > Jeremy Katz wrote: > > On Tue, 2007-08-14 at 17:25 -0400, Jarod Wilson wrote: > >> Roland McGrath wrote: > >>> Is there a reason to add a hack to the kernel %post in particular, > >>> instead of just making people use rpm triggers? I mean, horror and all > >>> that. > >>> But at least it's generic SEP horror, and not new hair for the kernel rpm > >>> itself (i.e. our problem). > >> On the surface, I don't see why the couldn't. I suppose we should prod > >> Matt Domsch on why he's against using triggers for dkms, since his > >> objection in the bug doesn't list any details... > > > > Triggers run at not exactly the time you expect them to. Which makes > > them a little bit less helpful. Really, you want to plug-in after > > depmod, etc are run but before the initrd is made. And you can't do > > that from a trigger. > > Ew, yeah, okay, I could see that having odd side-effects in a few > cases... So what you're saying is we should do this in new-kernel-pkg? > ;) At least that would make it mostly mkinitrd's problem and not the > kernel's...
When mdomsch, davej, jcm and I talked about it back in February, that was the conclusion we reached. It should be pretty simple, too -- just pick a directory[1], run things out of it that are executable. Again, leaving out whether or not its a good idea ;-) Jeremy [1] Likely to be the most difficult part _______________________________________________ Fedora-kernel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-kernel-list
