* [PATCH 1/1] liberation-fonts: do not inherit allarch @ 2017-12-21 21:23 Joe Slater 2017-12-21 22:28 ` Richard Purdie 0 siblings, 1 reply; 5+ messages in thread From: Joe Slater @ 2017-12-21 21:23 UTC (permalink / raw) To: openembedded-core The fontcache class performs post-installation cache updating and needs target architecture information. Signed-off-by: Joe Slater <jslater@windriver.com> --- meta/recipes-graphics/ttf-fonts/liberation-fonts_2.00.1.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.00.1.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.00.1.bb index 412da48..5e8ba93 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.00.1.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.00.1.bb @@ -10,7 +10,10 @@ LICENSE = "OFL-1.1" LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b" PE = "1" -inherit allarch fontcache +# The fonts are arch independent, but fontcache is not! +# Do not inherit allarch. +# +inherit fontcache FONT_PACKAGES = "${PN}" -- 2.7.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] liberation-fonts: do not inherit allarch 2017-12-21 21:23 [PATCH 1/1] liberation-fonts: do not inherit allarch Joe Slater @ 2017-12-21 22:28 ` Richard Purdie 2017-12-22 0:00 ` Slater, Joseph 0 siblings, 1 reply; 5+ messages in thread From: Richard Purdie @ 2017-12-21 22:28 UTC (permalink / raw) To: Joe Slater, openembedded-core On Thu, 2017-12-21 at 13:23 -0800, Joe Slater wrote: > The fontcache class performs post-installation cache > updating and needs target architecture information. Can you expand a bit on this? Do you mean that the postinstalls written into the packages are arch specific? Can we stop the scripts being arch specific? Cheers, Richard ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] liberation-fonts: do not inherit allarch 2017-12-21 22:28 ` Richard Purdie @ 2017-12-22 0:00 ` Slater, Joseph 2017-12-22 8:34 ` Alexander Kanavin 0 siblings, 1 reply; 5+ messages in thread From: Slater, Joseph @ 2017-12-22 0:00 UTC (permalink / raw) To: Richard Purdie, openembedded-core@lists.openembedded.org A number of postinstall's run target binaries, whether on the host or target. This means they invoke qemu on the host and try to tell it where bits are. I think it might not be necessary to pass explicit information about library locations to qemu, but that is the way it is done, and that information is arch dependent. It might well be the case that "confusion" occurs only when multilib is enabled, but the point is that it does happen. I think it used to be the case that an attempt was made to run native versions of target tools during postinstall, but that seems to have been abandoned in favor of using qemu. This means that if there is no qemu support, postinstall is deferred to first boot. This is no problem except for read-only fs's, but they have other problems anyway. Joe -----Original Message----- From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org] Sent: Thursday, December 21, 2017 2:28 PM To: Slater, Joseph; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [oe-core][PATCH 1/1] liberation-fonts: do not inherit allarch On Thu, 2017-12-21 at 13:23 -0800, Joe Slater wrote: > The fontcache class performs post-installation cache updating and > needs target architecture information. Can you expand a bit on this? Do you mean that the postinstalls written into the packages are arch specific? Can we stop the scripts being arch specific? Cheers, Richard ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] liberation-fonts: do not inherit allarch 2017-12-22 0:00 ` Slater, Joseph @ 2017-12-22 8:34 ` Alexander Kanavin 2017-12-22 23:50 ` Slater, Joseph 0 siblings, 1 reply; 5+ messages in thread From: Alexander Kanavin @ 2017-12-22 8:34 UTC (permalink / raw) To: Slater, Joseph, Richard Purdie, openembedded-core@lists.openembedded.org, Burton, Ross On 12/22/2017 02:00 AM, Slater, Joseph wrote: > A number of postinstall's run target binaries, whether on the host or > target. This means they invoke qemu on the host and try to tell it > where bits are. I think it might not be necessary to pass explicit > information about library locations to qemu, but that is the way it > is done, and that information is arch dependent. It might well be > the case that "confusion" occurs only when multilib is enabled, but > the point is that it does happen. I think Ross had a different patch to deal with the multilib-qemu libray confusion, so this might not yet be necessary. Also, if this needs to be fixed, you need to fix it everywhere - cantarell-fonts, adwaita-icon-theme, etc. etc. Alex ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] liberation-fonts: do not inherit allarch 2017-12-22 8:34 ` Alexander Kanavin @ 2017-12-22 23:50 ` Slater, Joseph 0 siblings, 0 replies; 5+ messages in thread From: Slater, Joseph @ 2017-12-22 23:50 UTC (permalink / raw) To: Alexander Kanavin, Richard Purdie, openembedded-core@lists.openembedded.org, BURTON, ROSS I tried the patch to the allarch class and the problem does away. Joe ________________________________________ From: Alexander Kanavin [alexander.kanavin@linux.intel.com] Sent: Friday, December 22, 2017 12:34 AM To: Slater, Joseph; Richard Purdie; openembedded-core@lists.openembedded.org; BURTON, ROSS Subject: Re: [OE-core] [oe-core][PATCH 1/1] liberation-fonts: do not inherit allarch On 12/22/2017 02:00 AM, Slater, Joseph wrote: > A number of postinstall's run target binaries, whether on the host or > target. This means they invoke qemu on the host and try to tell it > where bits are. I think it might not be necessary to pass explicit > information about library locations to qemu, but that is the way it > is done, and that information is arch dependent. It might well be > the case that "confusion" occurs only when multilib is enabled, but > the point is that it does happen. I think Ross had a different patch to deal with the multilib-qemu libray confusion, so this might not yet be necessary. Also, if this needs to be fixed, you need to fix it everywhere - cantarell-fonts, adwaita-icon-theme, etc. etc. Alex ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-22 23:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-12-21 21:23 [PATCH 1/1] liberation-fonts: do not inherit allarch Joe Slater 2017-12-21 22:28 ` Richard Purdie 2017-12-22 0:00 ` Slater, Joseph 2017-12-22 8:34 ` Alexander Kanavin 2017-12-22 23:50 ` Slater, Joseph
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.