diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-08-03 21:48:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-04 20:45:41 +0100 |
commit | b8da5a7c22594618f62cb4de2519e611841f47b7 (patch) | |
tree | c246ebfd8cc7b43dd79f3177729ddc28d20a99db /meta/recipes-graphics | |
parent | 0d141e732fbcec5af6216ebf8287d66d345a2ef4 (diff) | |
download | poky-b8da5a7c22594618f62cb4de2519e611841f47b7.tar.gz |
libxft: Fix bad PKG value
The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.
(From OE-Core rev: e77dc392a33d93ab2becd438b6b17705c675dcd5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb index a6fb5642da..9695afd625 100644 --- a/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb +++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.3.bb | |||
@@ -27,7 +27,7 @@ XORG_PN = "libXft" | |||
27 | 27 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
29 | 29 | ||
30 | python () { | 30 | python populate_packages:prepend () { |
31 | if d.getVar('DEBIAN_NAMES'): | 31 | if d.getVar('DEBIAN_NAMES'): |
32 | d.setVar('PKG:${PN}', '${MLPREFIX}libxft2') | 32 | d.setVar('PKG:${PN}', '${MLPREFIX}libxft2') |
33 | } | 33 | } |