yocto编译rootfs文件系统(内核版本4.9.88),生成压缩包,可以与对应的uboot和kernel烧录到imx6q开发板中正常运行。
但是在添加自定义的开机自动运行的脚本时发现,在/etc/init.d/下没有rc,rcS文件,在/etc下没有inittab文件。如此,把自定义脚本放到rc5.d或者其他文件夹地下,开机都不能自动运行。
翻阅网上资料好几天,没有找到解决办法。是否有大牛可以给点支持啊,特急。
另外,手动放入rcS文件,也没有用。
which image in yocto you build?
you may try to build this:
bitbake core-image-full-cmdline
thinks a lot。
In this case, the compile configuration should be modified. For specific modification, we can refer to the difference between compiling systemd and sysvinit in the following url.