On 12/18/2020 1:46 PM, Khem Raj wrote: > On Fri, Dec 18, 2020 at 10:29 AM Sinan Kaya <[email protected] > <mailto:[email protected]>> wrote: > > On 12/17/2020 5:54 PM, Khem Raj wrote: > > +if [ ! -p "$INITCTL" ] && [ "$(readlink -- "/sbin/init")" = > "/sbin/init.sysvinit" ]; then > > Can this be done at build time for targets using sysvinit only? > > > Yes however It will be lot more obscureĀ > Hard to read and harder to maintainĀ
I see your point. I think having a flag in the /etc/default/rcS file and using that for comparison seems more plausible here as opposed to init.sysvinit check. (this looked very fragile to me for some reason)
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#145872): https://lists.openembedded.org/g/openembedded-core/message/145872 Mute This Topic: https://lists.openembedded.org/mt/79049550/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
