On Fri, Dec 18, 2020 at 11:18 AM Sinan Kaya <ok...@kernel.org> wrote: > > On 12/18/2020 1:46 PM, Khem Raj wrote: > > On Fri, Dec 18, 2020 at 10:29 AM Sinan Kaya <ok...@kernel.org > > <mailto:ok...@kernel.org>> 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)
that sounds reasonable I will send a revised patch for this
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#145875): https://lists.openembedded.org/g/openembedded-core/message/145875 Mute This Topic: https://lists.openembedded.org/mt/79049550/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-