Hi Steve, Sorry for rushing you. If the patch obviously needs to be backported to stable branch, could I post a backport request email right away? This issue is not listed in bugzilla, so I was worried that the patch might have been missed.
Regards, Yuta Hayama On 2023/07/27 17:19, Yuta Hayama via lists.openembedded.org wrote: > If the instance name indicated by %i begins with a number, the meaning of the > replacement string "\\1{}".format(instance) is ambiguous. > > To indicate group number 1 regardless of the instance name, use "\g<1>". > > (From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c) > > Signed-off-by: Yuta Hayama <hay...@lineo.co.jp> > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> > --- > meta/recipes-core/systemd/systemd-systemctl/systemctl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl > b/meta/recipes-core/systemd/systemd-systemctl/systemctl > index 514f747fe6..7fe751b397 100755 > --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl > +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl > @@ -202,7 +202,7 @@ class SystemdUnit(): > try: > for dependent in config.get('Install', prop): > # expand any %i to instance (ignoring escape sequence %%) > - dependent = re.sub("([^%](%%)*)%i", > "\\1{}".format(instance), dependent) > + dependent = re.sub("([^%](%%)*)%i", > "\\g<1>{}".format(instance), dependent) > wants = systemdir / "{}.{}".format(dependent, dirstem) / > service > add_link(wants, target) > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184919): https://lists.openembedded.org/g/openembedded-core/message/184919 Mute This Topic: https://lists.openembedded.org/mt/100386774/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-