summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-08-02 12:52:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-07 12:13:02 +0100
commitbf02f255def72584a4437efafb50a8325ad8364e (patch)
tree7d2c0958af8229ed7972523365dd11ac5a11ac21 /meta/recipes-extended
parent47aa941e62d7953aae543ae80282a5f3a57791a6 (diff)
downloadpoky-bf02f255def72584a4437efafb50a8325ad8364e.tar.gz
man-db: remove '--disable-cache-owner' option
The following error appeared at boot. systemd-tmpfiles[115]: [/usr/lib/tmpfiles.d/man-db.conf:1] Unknown user '1w' By default cache owner is enabled and defaults to 'man'. Users could supply '--enable-cache-owner=[ARG]' to change the default cache owner. Using '--disable-cache-owner' leaves the ownership of system-wide cache files unconstrained, and users will allowed to modify them. We'd better keep the default behavior, just like other distros do. I can guess that we used '--disable-cache-owner' to bypass the following error at do_install. | chown: invalid user: ‘man:man’ The 'man' user is provided by base-passwd recipe, so add it to DEPENDS. (From OE-Core rev: 7080df4b6bc50440eed600e81f2c6fa76a80623d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/man-db/man-db_2.8.3.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/man-db/man-db_2.8.3.bb b/meta/recipes-extended/man-db/man-db_2.8.3.bb
index 412e5727cd..a214bd7dd1 100644
--- a/meta/recipes-extended/man-db/man-db_2.8.3.bb
+++ b/meta/recipes-extended/man-db/man-db_2.8.3.bb
@@ -8,14 +8,14 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz"
8SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7" 8SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7"
9SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac" 9SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac"
10 10
11DEPENDS = "libpipeline gdbm groff-native" 11DEPENDS = "libpipeline gdbm groff-native base-passwd"
12 12
13# | /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' 13# | /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'
14USE_NLS_libc-musl = "no" 14USE_NLS_libc-musl = "no"
15 15
16inherit gettext pkgconfig autotools 16inherit gettext pkgconfig autotools
17 17
18EXTRA_OECONF = "--with-pager=less --disable-cache-owner" 18EXTRA_OECONF = "--with-pager=less"
19 19
20do_install_append_libc-musl() { 20do_install_append_libc-musl() {
21 rm -f ${D}${libdir}/charset.alias 21 rm -f ${D}${libdir}/charset.alias