]> code.ossystems Code Review - openembedded-core.git/commit
attr: Fix build failure when image includes man-pages pkg
authorMark Asselstine <mark.asselstine@windriver.com>
Tue, 13 Jun 2017 20:26:45 +0000 (16:26 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 13:45:00 +0000 (14:45 +0100)
commit5e6595ef42807c8d2a100da3d9862152daf68d3d
tree275f40cc48232b1bd718621c49eea7b5ab1af3c3
parent946b6623154e748a0d75ff498802a720aeec27a6
attr: Fix build failure when image includes man-pages pkg

If you attempt to build an image with both attr(-doc) and man-pages
packages your rootfs might fail to assemble. The error will be
something like:

Error: Transaction check error:
  file /usr/share/man/man2/fgetxattr.2 from install of \
    attr-doc-2.4.47-r0.core2_64 conflicts with file from \
    package man-pages-4.11-r0.core2_64

(the error is usually only seen on builders which don't have manpages
installed, if you have /usr/share/man/man1/man.1.gz your build will
complete but you will have duplicate manpages, just one zipped and one
not)

Backporting changes from upstream attr removes the conflicted files in
favour of those in the man-pages package.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/attr/attr_2.4.47.bb
meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch [new file with mode: 0644]
meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch [new file with mode: 0644]