#!/bin/sh
if [ -d idiot-initrd ] ; then
	helper-scripts/cleanup-initrd
	cd idiot-initrd ; chmod +x init ; find . | cpio -ov --format=newc | gzip -9 > ../initrd_idiot.img ; cd ..
else
	echo "Hey, you don't have an idiot-initrd directory. What am I supposed to pack?"
fi
