====== tips ====== ===== remove posinst ===== Remove ''pkg_postinst_ontarget:${PN}'' from ''.bbappend'': ''pkg_postinst_ontarget'' is variable, not task. Task ''emit_pkgdata()'' is processing ''pkg_postinst_ontarget'' variable and adds content of variable as a postinstall script in deb package. # This will remove script at all: pkg_postinst_ontarget:${PN} = "" # This will replace body of script with exit 0 pkg_postinst_ontarget:${PN} () { exit 0 } ===== spdx ===== Disable SPDX to save build time: INHERIT:remove = "create-spdx" ===== Headline ===== https://lynxbee.com/speed-up-yocto-build-time-using-assume-provided/ do local.conf #ASSUME_PROVIDED += "libsdl-native" IMAGE_INSTALL_append = " mosquitto mosquitto-clients libusb1"