From: Martin Jansa Date: Sun, 20 Feb 2022 08:47:43 +0000 (+0100) Subject: systemd: fix DeprecationWarning about regexps X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=65ddc0f68fc2e6e8fd38ac48fd18e8099b52ec1b;p=openembedded-core.git systemd: fix DeprecationWarning about regexps * fixes: oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \. Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_250.3.bb b/meta/recipes-core/systemd/systemd_250.3.bb index 0fe5fb7976..9121333f56 100644 --- a/meta/recipes-core/systemd/systemd_250.3.bb +++ b/meta/recipes-core/systemd/systemd_250.3.bb @@ -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).*"