On Wed, 2021-07-28 at 21:00 +0100, Richard Purdie via lists.openembedded.org
wrote:
> On Wed, 2021-07-28 at 12:32 -0700, Andre McCurdy wrote:
> > On Wed, Jul 28, 2021 at 7:15 AM Richard Purdie
> > <[email protected]> wrote:
> > >
> > > The automated conversion of OE-Core to use the new override sytax isn't
> > > perfect. This patches some mis-converted lines and some lines which were
> > > missed
> > > by the automation.
> > >
> > > Signed-off-by: Richard Purdie <[email protected]>
> > > @@ -86,7 +86,7 @@ python systemd_populate_packages() {
> > > bb.debug(1, 'adding systemd calls to postinst/postrm for %s' %
> > > pkg)
> > >
> > > paths_escaped = ' '.join(shlex.quote(s) for s in
> > > d.getVar('SYSTEMD_SERVICE:' + pkg).split())
> > > - d.setVar('SYSTEMD_SERVICE:ESCAPED_' + pkg, paths_escaped)
> > > + d.setVar('SYSTEMD_SERVICE_ESCAPED:' + pkg, paths_escaped)
> >
> > This is manually fixing the misconversion of _ESCAPED to :ESCAPED,
> > right? If so then does it mean a bug in the automatic conversion
> > script since overrides can't be uppercase?
>
> There are several bugs in the script, yes. The question is how far to go
> in trying to address them and this wasn't a common issue.
In case it isn't clear, this isn't as easy as you might first think. We need
to convert SYSTEMD_SERVICE_${PN} which has uppercase characters in it. Can it
be fixed? Probably, yes. Is it worth the effort/complexity? Maybe not.
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154215):
https://lists.openembedded.org/g/openembedded-core/message/154215
Mute This Topic: https://lists.openembedded.org/mt/84506029/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-