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

Replacing stuff on d-i initrd



On Thu, Nov 06, 2008 at 03:21:33AM +0100, Michael Schmitz wrote:
> 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

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: