尝试将shared_configuration重命名为sharedconfiguration,因为下划线后应该是配方的版本。
[编辑]
.
âââ files
â âââ example.txt
âââ shared-configuration_1.0.bb
IMAGE_INSTALL_append = " \
bash \
util-linux \
shared-configuration \
"
食谱:
DESCRIPTION = "Script for copying example configurations"
SUMMARY = "example configurations"
LICENSE = "CLOSED"
SRC_URI = "file://example.txt"
do_install_append() {
install -d 644 ${D}${sysconfdir}
install -m 0755 ${WORKDIR}/example.txt ${D}${sysconfdir}
FILES_${PN} = "${sysconfdir}"