]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib: package: Add file_reverse_translate
authorJoshua Watt <JPEWhacker@gmail.com>
Thu, 23 May 2024 18:26:54 +0000 (12:26 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Jun 2024 06:47:00 +0000 (07:47 +0100)
commit4cb7e93c624987d146aaf626ce8e99568e938a70
tree6c2ac75618f6e934a28a8f9c797a284e7be7bf6d
parentbdef30bd887cd208d7822dd7853d33e24a6b7a4c
lib: package: Add file_reverse_translate

Adds API to reverse the removal of special characters from file names so
it can be correctly done in multiple places without open-coding it.

Replace the translation done in the package_rpm.bbclass with the new API

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-global/package_rpm.bbclass
meta/lib/oe/package.py