systemd: fix DeprecationWarning about regexps
PATCH 1/1 systemd: fix DeprecationWarning about regexps
* fixes:
oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.
Signed-off-by Martin Jansa <[email protected]>
--- meta/recipes-core/systemd/systemd_250.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_250.3.bb +1 -1
@@ -352,7 +352,7 @@ do_install() { python populate_packages:prepend (){ systemdlibdir = d.getVar("rootlibdir") - do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True) + do_split_packages(d, systemdlibdir, r'^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True) } PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*"
Signature · 1 line
2.35.1