prepare also the initrd for the SCC

This commit is contained in:
Stefan Lankes 2011-08-10 01:44:34 -07:00
parent 20b074d81c
commit 023282e776

View file

@ -9,3 +9,13 @@ if [ $SIZE -ne 0 ]; then
else
echo not patching $NAME
fi;
NAME=initrd.img
SIZE=`ls -ld "$NAME" | awk '{print $5 % 64}'`
if [ $SIZE -ne 0 ]; then
echo "$NAME: patching $SIZE Zero-Bytes"
dd if=/dev/zero of=zero.bin bs=1 count=$SIZE
cat zero.bin >> $NAME
else
echo not patching $NAME
fi;