diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-09-29 13:43:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-29 15:09:33 +0100 |
commit | df90cb1f4ee8918b0bc2a281b2d77444a0d037e7 (patch) | |
tree | 4edb981445433336b8c576e1d5fde5aa66a7b528 | |
parent | 9c2b1a0bfc8783052b5dda344cc334b9c13736f5 (diff) | |
download | openembedded-core-df90cb1f4ee8918b0bc2a281b2d77444a0d037e7.tar.gz openembedded-core-df90cb1f4ee8918b0bc2a281b2d77444a0d037e7.tar.bz2 openembedded-core-df90cb1f4ee8918b0bc2a281b2d77444a0d037e7.zip |
groff: fix multilib install file conflicts
Perl scripts ${bindir}/{gpinyin, groffer, grog} are ${libdir} related
and cause multilib install file conflicts:
| Error: Transaction check error:
| file /usr/bin/gpinyin conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/groffer conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/grog conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
Inherit multilib_script.bbclass to fix the errors.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/groff/groff_1.22.3.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.3.bb b/meta/recipes-extended/groff/groff_1.22.3.bb index 7472f59825..ce7ce3e791 100644 --- a/meta/recipes-extended/groff/groff_1.22.3.bb +++ b/meta/recipes-extended/groff/groff_1.22.3.bb @@ -20,7 +20,9 @@ DEPENDS = "groff-native" DEPENDS_class-native = "" RDEPENDS_${PN} += "perl sed" -inherit autotools texinfo +inherit autotools texinfo multilib_script + +MULTILIB_SCRIPTS = "${PN}:${bindir}/gpinyin ${PN}:${bindir}/groffer ${PN}:${bindir}/grog" EXTRA_OECONF = "--without-x" PARALLEL_MAKE = "" |