你好 ,
我正在尝试在
meta-st-stm32mp层中添加自定义配方。
下面是我的 swupdate_1。
0.0.bb文件:
- DESCRIPtiON = "Swupdate example"
- HOMEPAGE = "wiki.st.com"
- LICENSE = "GPLv2"
- LIC_FILES_CHKSUM = ""
- # No information for SRC_URI yet (only an external source tree was specified)
- SRC_URI += "
- file://postupdate.sh
- file://swupdate.conf
- file://S98update
- "
- # NOTE: no Makefile found, unable to determine what needs to be done
- do_configure[noexec] = "1"
- do_compile[noexec] = "1"
- do_install() {
- # Specify install commands here
- install -d ${D}${sysconfdir}/swupdate/
- install -d ${D}${sysconfdir}/init.d/
- install -m 0755 ${WORKDIR}/postupdate.sh ${D}${sysconfdir}/swupdate/postupdate.sh
- install -m 0755 ${WORKDIR}/swupdate.conf ${D}${sysconfdir}/swupdate/swupdate.conf
- install -m 0755 ${WORKDIR}/S98update ${D}/${sysconfdir}/init.d/S98update
- }
- FILES_${PN} += "${sysconfdir}/swupdate/ ${D}${sysconfdir}/init.d/"
给出 bitbake-st-image-weston 后,我没有看到我的食谱得到遵守,也没有看到结果成为最终 rootfs.ext4 分区的一部分。
简单地执行:
bitbake ../layers/meta-st/meta-st-STM32mp/recipes-swupdate /swupdate_1。
0.0.bb导致错误:
没有提供 swupdate。
任何线索这里可能出了什么问题?TIA。