diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-08-02 12:52:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-07 12:12:55 +0100 |
commit | 7080df4b6bc50440eed600e81f2c6fa76a80623d (patch) | |
tree | ab8066a00f60744838c9e5f6e6e665236e1a7337 | |
parent | d0881e7401173e012e197c7371a30e8219c81cf6 (diff) | |
download | openembedded-core-7080df4b6bc50440eed600e81f2c6fa76a80623d.tar.gz openembedded-core-7080df4b6bc50440eed600e81f2c6fa76a80623d.tar.bz2 openembedded-core-7080df4b6bc50440eed600e81f2c6fa76a80623d.zip |
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.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/man-db/man-db_2.8.3.bb | 4 |
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" SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7" SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac" -DEPENDS = "libpipeline gdbm groff-native" +DEPENDS = "libpipeline gdbm groff-native base-passwd" # | /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' USE_NLS_libc-musl = "no" inherit gettext pkgconfig autotools -EXTRA_OECONF = "--with-pager=less --disable-cache-owner" +EXTRA_OECONF = "--with-pager=less" do_install_append_libc-musl() { rm -f ${D}${libdir}/charset.alias |