1 REQUIRE_IMAGE_METADATA
=1
3 platform_check_image
() {
7 platform_do_upgrade
() {
9 get_image
"$1" |
dd of
=/dev
/mmcblk0 bs
=2M conv
=fsync
13 platform_copy_config
() {
15 [ -f /boot
/kernel.img
] || mount
-t vfat
-o rw
,noatime
/dev
/mmcblk0p1
/boot
16 cp -af "$CONF_TAR" /boot
/
17 tar --directory / -xvf "$CONF_TAR" boot
/config.txt