SUMMARY = "bitbake-layers recipe" DESCRIPTION = "Recipe created by bitbake-layers" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" FILES:${PN} = "/data /data/testfile.txt" PACKAGES = "example" SRC_URI = "file://testfile.txt" python do_display_banner() { bb.plain("***********************************************"); bb.plain("* *"); bb.plain("* Example recipe created by bitbake-layers *"); bb.plain("* *"); bb.plain("***********************************************"); } do_install_testfile() { bbplain "*********************************************" bbplain "***** INSTALLING TEST FILE ******************" bbplain "*********************************************" install -d ${D}/data install -o root -g root ${S}/testfile.txt ${D}/data/ } addtask display_banner before do_build addtask install_testfile after do_install