blob: 31b9b64c4ff0e2d1fc81d7f35b5a5816eda2dbcb [file] [log] [blame]
#!/bin/bash
outfile=$1
cfg_file_name=$2
ubinize_para=$3
echo "outfile:$outfile"
echo "ubinize_para:$ubinize_para"
cat $cfg_file_name
ubinize -o $outfile $ubinize_para $cfg_file_name
if [ $? -ne 0 ]; then
echo "ubinize error"
exit -2
else
echo "ubinize ok"
fi