Hello,
I’m working on imx6d module, generating a Linux Kernel + Rootfs with Yocto.
I add a recipe that create a new user. It work fine (logging ok and directory present)
Now, in another recipe, I want to add some files in this directory. So in the recipe, I have:
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/spi-test ${D}/${bindir}/
install -d ${D}/home/marvel/
install -m 0755 ${WORKDIR}/spi-config ${D}/home/marvel/
install -m 0755 ${WORKDIR}/spi-test ${D}/home/marvel/
(marvel is the new user)
In the build recipe directory, in the image directory I can found the directory “marvel” and the 2 files spi-config and spi-test. But they are not present in the rootfs installed on the board.
In the same image directory, the directory “usr/bin” is present with spi-test present. And this file is present in the Rootfs deployed on the board.
What is wrong? Why the file installed in /usr/bin are deployed while files in /home/marvel are not?
Any idea?