diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-29 19:06:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-02 11:06:17 +0000 |
commit | 4584746c1acaea848d1ee0329cefa2a51b5049a7 (patch) | |
tree | 4f9d0fefe501314cd06c46cc14af9d71d4a1c10a /meta/classes-global/package_ipk.bbclass | |
parent | 43f9098a69593dfcc1797b5d6552ddd86cffd262 (diff) | |
download | poky-4584746c1acaea848d1ee0329cefa2a51b5049a7.tar.gz |
classes/package_rpm: correctly escape percent characters
This many characters doesn't work with rpm 4.19 packaging
(as shown by nodejs recipes), and per documentation a single escape
is enough:
https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/docs/manual/spec.md#shell-globbing
It also should be done in a function, and just before writing out the
corrected filename to .spec, not earlier where the path may still
be needed for file operations (such as gettings file attributes).
(From OE-Core rev: 6d9fe2623c37e405a80acf71633f7291ecdde533)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/package_ipk.bbclass')
0 files changed, 0 insertions, 0 deletions