Use common 'boot_a' name for the first 'boot' partition. The BPiF3
support code doesn't relay on the 'bootfs' name anymore.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: If032ec3ef914735f2ed1d6c574d4c06d835e169f
TIZEN_TARGET_ENV_SETTING \
"kernel=" KERNEL_NAME "\0" \
"informname=inform\0" \
- "bootname=bootfs\0" \
+ "bootname=boot_a\0" \
"rebootparamfile=reboot-param.bin\0" \
"upgradetypefile=upgrade-type.info\0" \
"slotfile=partition-ab.info\0" \
echo "boot from slot_${partition_ab}"
# find the boot partition
-part number $devtype $devnum "bootfs" bootpart
+part number $devtype $devnum "boot_${partition_ab}" bootpart
+if test -z "${bootpart}"; then;
+ echo No \"boot_${partition_ab}\" partition found.
+ exit
+fi
# set sane defaults
setenv partition_name "ramdisk"