How to unpack and pack an initrd

From openQRM


Brief instructions to unpack and repack an image as an initrd;


Unpack an initrd

unmkinitramfs initrd .


Pack an initrd

cd initrd

find . | cpio -o -H newc | gzip -9 > ../KERNEL_NAME.img