Hello,
I´m working with an i.MX6 module and try to generate a Linux Kernel + RootFS with Yocto. The build process was successful. So my next step is to add a new recipe which install some binaries in it. I try to overwrite the wpa_supplicant and some stuff of it.
SRC_URI = "file://wpa_supplicant \
file://wpa_cli \
file://wpa_passphrase"
INSANE_SKIP_${PN} = "ldflags"
FILES_${PN} += "${sbindir} ${bindir}"
do_install() {
install -d ${D}${sbindir}
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/wpa_cli ${D}/{sbindir}
install -m 0755 ${WORKDIR}/wpa_supplicant ${D}/{sbindir}
install -m 0755 ${WORKDIR}/wpa_passphrase ${D}/bindir}
}
After the system was built my files arent available in the rootfs. I see that the files from the original wpa-supplicant recipe will be taken. I thought if my layer has a higher priority than the recipe, I am able to overwrite those files. Any idea whats the problem?