#!/usr/bin/sh mkdir -p initramfs gcc -static -o initramfs/init init/main.c cd initramfs find . | cpio -o -H newc | gzip > ../initrd.cpio.gz