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:13:02 +0100 |
commit | bf02f255def72584a4437efafb50a8325ad8364e (patch) | |
tree | 7d2c0958af8229ed7972523365dd11ac5a11ac21 /meta/recipes-extended/man-db | |
parent | 47aa941e62d7953aae543ae80282a5f3a57791a6 (diff) | |
download | poky-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/man-db')
-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" | |||
8 | SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7" | 8 | SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7" |
9 | SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac" | 9 | SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac" |
10 | 10 | ||
11 | DEPENDS = "libpipeline gdbm groff-native" | 11 | DEPENDS = "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' |
14 | USE_NLS_libc-musl = "no" | 14 | USE_NLS_libc-musl = "no" |
15 | 15 | ||
16 | inherit gettext pkgconfig autotools | 16 | inherit gettext pkgconfig autotools |
17 | 17 | ||
18 | EXTRA_OECONF = "--with-pager=less --disable-cache-owner" | 18 | EXTRA_OECONF = "--with-pager=less" |
19 | 19 | ||
20 | do_install_append_libc-musl() { | 20 | do_install_append_libc-musl() { |
21 | rm -f ${D}${libdir}/charset.alias | 21 | rm -f ${D}${libdir}/charset.alias |