prepare also the initrd for the SCC
This commit is contained in:
parent
20b074d81c
commit
023282e776
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue