]> code.ossystems Code Review - openembedded-core.git/commit
compress_doc.bbclass: support update-alternatives
authorHongxu Jia <hongxu.jia@windriver.com>
Sat, 8 Nov 2014 09:04:38 +0000 (17:04 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Dec 2014 12:22:41 +0000 (12:22 +0000)
commitba4dd1afc2476259eff52f8a68fba1344e0f0474
tree7b12d5f8083cbb81b7a0a714537da43dea7a83f9
parent886685d207bd5e6e2e236a7c5591f62f5de26090
compress_doc.bbclass: support update-alternatives

While doc file make use of update-alternatives to fix confliction,
we should reconfigure update-alternatives for doc compression.

Such as util-linux-doc:
...
update-alternatives --install /usr/share/man/man1/last.1 last.1
  /usr/share/man/man1/last.1.util-linux 100
...
was updated by doc_compress to
...
update-alternatives --install /usr/share/man/man1/last.1.bz2 last.1.bz2
  /usr/share/man/man1/last.1.util-linux.bz2 100
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/compress_doc.bbclass