diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-02 17:12:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-12 14:25:13 +0000 |
commit | 84a841b5b97c20d5a3f77c61b5fcb177e2b933d0 (patch) | |
tree | 496eb12c83ed1946af4c8a1078e244622918d11c /meta | |
parent | 67925a6731b09fe9dd19b0e774720d509524390b (diff) | |
download | poky-84a841b5b97c20d5a3f77c61b5fcb177e2b933d0.tar.gz |
man-db: Fix reproducibility issue
Executing a sequence like:
bitbake man-db
bitbake man-db -c clean
bitbake man-db -c package_write_deb -f
results in the ownership of files in the man-db package changing from "man/man"
to "6/12". This is due to base-passwd not being installed in the recipe
sysroot.
Add the missing dependency so even if a recipe "re-packages", the name
of the user/group is found and the packages are reproducible.
[YOCTO #14172]
(From OE-Core rev: ba0797130d60d168ea85be4e5928492a73fa4e7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 769f8be29a192fd4fa0c4752f851fa3728d71179)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/man-db/man-db_2.9.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/man-db/man-db_2.9.3.bb b/meta/recipes-extended/man-db/man-db_2.9.3.bb index a28f77b750..e8da92bd19 100644 --- a/meta/recipes-extended/man-db/man-db_2.9.3.bb +++ b/meta/recipes-extended/man-db/man-db_2.9.3.bb | |||
@@ -11,6 +11,7 @@ SRC_URI[sha256sum] = "fa5aa11ab0692daf737e76947f45669225db310b2801a5911bceb7551c | |||
11 | 11 | ||
12 | DEPENDS = "libpipeline gdbm groff-native base-passwd" | 12 | DEPENDS = "libpipeline gdbm groff-native base-passwd" |
13 | RDEPENDS_${PN} += "base-passwd" | 13 | RDEPENDS_${PN} += "base-passwd" |
14 | PACKAGE_WRITE_DEPS += "base-passwd" | ||
14 | 15 | ||
15 | # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr' | 16 | # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr' |
16 | USE_NLS_libc-musl = "no" | 17 | USE_NLS_libc-musl = "no" |