Tool/software: Linux
I am having custom board which is powered by AM335x processor.
Previously we were using Yocto Dylan based file system (It uses systemV init scripts)
Recently I have build file system for Yocto Morty version (It is using systemd service)
I have build yocto morty based root file with the help of link http://arago-project.org/wiki/index.php?title=Setting_Up_Build_Environment&oldid=1663
I am quite new to systemd. But further reading on internet I come to know that systemd can run systemV scripts.
We have copied our custom scripts in /etc.init.d/ folder and made appropriate link SXX... links from /etc/rc5.d folder.
and our custom scripts are running fine.
On further research I come to know that systemV scripts converted into equivalent systemd scripts (/run/systemd/generator.late)
My questions are
In yocto Morty generated root file system.
1) I can able see directories /etc/rc1.d, /etc/rc2.d, /etc/rc3.d, /etc/rc4.d,etc. When those scripts (generated equivalent services) will be executed for given runlevel?
2) In /etc/rc5.d directory there are S01networking, S02dbus-1, S09sshd etc. scripts are available. I think default /etc/rc5.d/SXX scripts are not even running, only our custom scripts are running. But respective original systemd services are executing. Can you please give more information on it
3) In arago distro there is one flag ARAGO_SYSVINIT in sources/meta-arago/meta-arago-distro/conf/distro/arago.conf file what is the use of this flag?