1 DESCRIPTION = "Boot script for launching OTA-enabled images on raspberrypi"
3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5 DEPENDS = "u-boot-mkimage-native"
7 COMPATIBLE_MACHINE = "raspberrypi"
9 SRC_URI = "file://boot.scr \
19 install -d ${DEPLOYDIR}/bcm2835-bootfiles
21 mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Ostree boot script" -d ${S}/boot.scr ${DEPLOYDIR}/bcm2835-bootfiles/boot.scr
22 if [ "${ENABLE_CMA}" = "1" ]; then
23 install -m 0755 ${S}/uEnv.cma.txt ${DEPLOYDIR}/bcm2835-bootfiles/uEnv.txt
25 install -m 0755 ${S}/uEnv.txt ${DEPLOYDIR}/bcm2835-bootfiles/uEnv.txt
29 addtask deploy before do_package after do_install
30 do_deploy[dirs] += "${DEPLOYDIR}/bcm2835-bootfiles"
32 PACKAGE_ARCH = "${MACHINE_ARCH}"