]> code.ossystems Code Review - openembedded-core.git/commitdiff
man-pages: use alternatives to resolve crypt.3 conflict
authormark asselstine <masselst@yow-cube2.wrs.com>
Thu, 20 Dec 2018 15:34:54 +0000 (10:34 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jan 2019 21:14:47 +0000 (21:14 +0000)
To fix:

  Error: Transaction check error:
    file /usr/share/man/man3/crypt.3 conflicts between attempted installs
    of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64

This issue came about after commit 59be9254df9f [libxcrypt: Upgrade to
4.4.1 release].

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-pages/man-pages_4.16.bb

index a64587cf0bb3dbfdcde79537031fd225c421e1a1..1f14c891b54f67b50993eab65df27cbf81971133 100644 (file)
@@ -31,6 +31,7 @@ FILES_${PN} = "${mandir}/*"
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN} = "passwd.5 getspnam.3"
+ALTERNATIVE_${PN} = "passwd.5 getspnam.3 crypt.3"
 ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5"
 ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3"
+ALTERNATIVE_LINK_NAME[crypt.3] = "${mandir}/man3/crypt.3"