rk3568_ubuntu_r60_v1.3.2/yocto/poky/meta-qti-ubuntu/recipes-devtools/ota-upgrade/ota-upgrade.bb
2023-11-03 06:12:44 +00:00

23 lines
628 B
BlitzBasic
Executable File

DESCRIPTION = "update-alternatives recovery when boot"
HOMEPAGE = "https://git.codelinaro.org"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=550794465ba0ec5312d6919e203a55f9"
SRC_URI = "file://ota-upgrade.sh"
SRC_URI += "file://ufs-bsg.rules"
do_config[noexec]="1"
do_compile[noexec]="1"
do_install:append() {
install -m 0744 ${WORKDIR}/ota-upgrade.sh \
-D ${D}${bindir}/ota-upgrade.sh
install -m 0755 ${WORKDIR}/ufs-bsg.rules \
-D ${D}${sysconfdir}/udev/rules.d/ufs-bsg.rules
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
FILES:${PN} += "ota-upgrade.sh"