how to 'rip apart' a rpm.

Dennis Gilmore dennis at ausil.us
Tue May 18 03:32:26 UTC 2010


On Monday 17 May 2010 10:14:44 pm Antonio Olivares wrote:
> > >>>>> Clarify here: I can do all that as the
> > 
> > user. What I can't do, until
> > 
> > >>>>> somebody decides to fix mkinitrd, is
> > 
> > to run it as the user. That is my
> > 
> > >>>>> specific bitch. And I think its
> > 
> > perfectly valid. mkinitrd simply will
> > 
> > >>>>> not run for anybody but root.
> > >>>>>
> > >>>>>       
> > 
> >    
> > 
> > >>>> And this is a bad thing? I, for one, don't
> > 
> > want some low-level user
> > 
> > >>>> installing a kernel on my machines. I
> > 
> > don't want them installing
> > 
> > >>>> ANYTHING that's global.
> > >>>>
> > >>>>         
> > >>>>
> > >>> +1
> > >>>
> > >>>       
> > >>>
> > >> I get the feeling that Gene isn't talking about
> > 
> > the actual installation
> > 
> > >> of the initrd image.  I think he is wondering
> > 
> > why something like...
> > 
> > >> mkinitrd /tmp/xxx
> > 
> > 2.6.30.10-105.2.23.fc11.i686.PAE
> > 
> > >> needs root privileges to run.   Is
> > 
> > there anything inherently wrong is
> > 
> > >> expecting that to work?
> > >>
> > >>     
> > >>
> > > "dracut /tmp/test.img 2.6.33.3-85.fc13.x86_64" works
> > 
> > just fine as an
> > 
> > > unprivileged user
> > >
> > >   
> > 
> > Yes...  I was going to point out that dracut
> > supersedes mkinitrd.
> > 
> > Thanks for bringing that up.
> 
> Yes, but Fedora no longer ships mkinitrd and if we need it, we need to
> download it.  Is there any new documentation(not the rpm one that exists )
> on how to build a kernel on Fedora with the dracut in place of mkinitrd? 
> How to enable KMS, and how to install the nouveau driver?  copying Fedora
> kernel's config does not build a kernel that can have X working great and
> using noueaux.  This needs to be changed and documented so that users can
> make/roll their own kernels and use the nouveau driver too!, otherwise
> "evil driver" will do work and give X, but not a "true Fedora solution
> right"?

to build the initrd replace mkinitrd with dracut on the command line.   you 
could always checkout the fedora kernel from fedoras cvs and apply whatever 
patches you need on top.  or you need to pull the patches fedora has for 
nouveau and apply to whatever kernel you build


Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100517/1955bbb6/attachment.bin 


More information about the users mailing list