On 03/06/2018 05:18 AM, Giordon Stark wrote: > Hi all, > > I am wondering if there's a nice pattern or workflow within Yocto where > I can add a custom shell script to /etc/init.d for the purposes of > running it on OS boot (which also requires running update.rc I believe)
You can inherit update-rc.d class and define INITSCRIPT_NAME/PARAMS in your recipe. https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-classes-update-rc.d > as well as prepopulating the home directory with some files of my choosing. > > If someone could point me in the right direction, that would be great! > > Giordon > -- > Giordon Stark > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto