* [PATCH 0/1] man-db: remove '--disable-cache-owner' option
@ 2018-08-02 4:52 Chen Qi
2018-08-02 4:52 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2018-08-02 4:52 UTC (permalink / raw)
To: openembedded-core
*** BLURB HERE ***
The following changes since commit 2b2dfec80b6ce45325dfaa4bdf680ad0cd0a8460:
libtool: Fix patch status tag (2018-08-01 10:28:05 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/man-db
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/man-db
Chen Qi (1):
man-db: remove '--disable-cache-owner' option
meta/recipes-extended/man-db/man-db_2.8.3.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] man-db: remove '--disable-cache-owner' option
2018-08-02 4:52 [PATCH 0/1] man-db: remove '--disable-cache-owner' option Chen Qi
@ 2018-08-02 4:52 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2018-08-02 4:52 UTC (permalink / raw)
To: openembedded-core
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>
---
meta/recipes-extended/man-db/man-db_2.8.3.bb | 4 ++--
1 file 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 412e572..a214bd7 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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-02 4:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-02 4:52 [PATCH 0/1] man-db: remove '--disable-cache-owner' option Chen Qi
2018-08-02 4:52 ` [PATCH 1/1] " Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox