Hi RP,

We do see this issue in scarthgap, Can you get this patch backported to scarthgap branch?

Thanks,

Sandeep

On 6/4/2024 2:06 AM, Enrico Jörns via lists.openembedded.org wrote:
Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence 
'\/'

Signed-off-by: Enrico Jörns <e...@pengutronix.de>
---
  scripts/lib/wic/engine.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index 674ccfc244..ce7e6c5d75 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -359,7 +359,7 @@ class Disk:
          Remove files/dirs and their contents from the partition.
          This only applies to ext* partition.
          """
-        abs_path = re.sub('\/\/+', '/', path)
+        abs_path = re.sub(r'\/\/+', '/', path)
          cmd = "{} {} -wR 'rm \"{}\"'".format(self.debugfs,
                                              self._get_part_image(pnum),
                                              abs_path)



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201636): 
https://lists.openembedded.org/g/openembedded-core/message/201636
Mute This Topic: https://lists.openembedded.org/mt/106478736/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to