zipfile="pandora_flasher_v.zip"
if test '!' '(' -d $rd_input -a -f ${sysf_in}x-load.bin.ift -a -f ${sysf_in}u-boot.bin \
- -a -f ${sysf_in}uImage -a -f ${sysf_in}uImage_updater ')'
+ -a -f ${sysf_in}uImage -a -f ${sysf_in}uImage_updater -a -f ${sysf_in}bootmenu.txt ')'
then
echo "missing input files"
exit 1
# bootf.tgz
cd $sysf_in
-tar czvf $bootf u-boot.bin uImage
+bootf_files=`echo u-boot.bin uImage uImage-* bootmenu.txt`
+test -e autoboot.txt && bootf_files="$bootf_files autoboot.txt"
+tar czvf $bootf $bootf_files
cd ..
mv -f ${sysf_in}${bootf} ${out_dir}