[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Replacing stuff on d-i initrd



On Fri, Nov 07, 2008 at 12:13:55AM +0100, Michael Schmitz wrote:
> Hi Stephen,
> 
> > > I need to diagnose this in more detail really. I'll have to consult Stephen on 
> > > how to replace modules in the install initrd image so kernel fixes can be 
> > > tested without a full d-i rebuild. 
> > 
> > The following dumps an initrd/initramfs into the current directory.
> > 
> > 	zcat $initrd | cpio -iv
> > 
> > The following packs the current directory up again.
> > 
> > 	find . -print0 | cpio -0 -H newc -ov | gzip -c > $initrd
> 
> Thanks for educating me on how simple it is to modify an initrd :-)
> 
> I'll build my development kernels with the Debian config and post test files.

It's easy once you know the secret incantation. ;)

Peace,

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: