Re: [yocto] Adding custom scripts to home directory and /etc/init.d/*

2018-03-06 Thread Giordon Stark
Thanks Anuj, This is where I ended up for now (let me know if this looks about right): # see https://stackoverflow.com/a/40768781 DESCRIPTION = "Clock Configuration via I2C" SRC_URI = "file://init-clock" LICENSE = "MIT" LIC_FILES_CHKSUM =

Re: [yocto] Adding custom scripts to home directory and /etc/init.d/*

2018-03-05 Thread Anuj Mittal
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

[yocto] Adding custom scripts to home directory and /etc/init.d/*

2018-03-05 Thread Giordon Stark
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) as well as prepopulating the home directory with some files of my choosing.