From 65ddc0f68fc2e6e8fd38ac48fd18e8099b52ec1b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 20 Feb 2022 09:47:43 +0100 Subject: [PATCH] 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 --- meta/recipes-core/systemd/systemd_250.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).*" -- 2.40.1