--- /dev/null
+# Configuration for generation of delta
+# Partition Name (in PIT), bin name (in tar), delta name, update type, blk dev, blk offset
+
+ROOTFS rootfs.img rootfs.img/ DELTA_FS /dev/mmcblk0p3 0
+# TODO : make a new update type for ramdisk
+RAMDISK1 ramdisk.img N/A EXCLUDED N/A N/A
+RAMDISK2 ramdisk-recovery.img N/A EXCLUDED N/A N/A
f4=${BLK_DEV[${update_idx}]}
f5=${BLK_OFFSET[${update_idx}]}
- echo -e "$f1\t\t$f2\t\t$f3\t\t$f4\t\t$f5" >> ${out_file}
+ if [ "${f3}" != "EXCLUDED" ]; then
+ echo -e "$f1\t\t$f2\t\t$f3\t\t$f4\t\t$f5" >> ${out_file}
+ fi
done
return 0
PART_OUT=${part_name}_OUT
- if [ "${update_type}" = "EXTRA" ]; then
+ if [ "${update_type}" = "EXCLUDED" ]; then
+ ${MK_PART_DELTA} ${part_name} ${update_type} ${part_bin} ${delta_bin}
+ continue
+ elif [ "${update_type}" = "EXTRA" ]; then
fn_process_extra_delta
else
${MK_PART_DELTA} ${part_name} ${update_type} ${part_bin} ${delta_bin}