diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-08-24 11:19:53 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-28 11:06:04 +0200 |
commit | d853932c664edaed63d5491a7cee1e1031f41ff4 (patch) | |
tree | d1fa05672d3234862132268009966ba8b4f81306 /meta-perl/recipes-extended/logcheck/files/99_logcheck | |
parent | 8530df3ff6e1b3609926035677b6422da9445d22 (diff) | |
download | meta-openembedded-contrib-d853932c664edaed63d5491a7cee1e1031f41ff4.tar.gz |
logcheck: update to 1.3.18 and move to meta-perl
- logcheck depends on mime-construct which is in meta-perl,
so move it to meta-perl to avoid that meta-oe depends on
meta-perl.
- logcheck should not be run as root, so inherit useradd
and add proper user and group.
- Add missing runtime dependencies according to the file
debian/control and simple test by running "logcheck -ot".
- For syslog, debian directly depends on rsyslog, but logcheck
works with any syslog and we have busybox-syslog, sysklogd,
syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the
syslog dependency and set rsyslog as the default, which can be
easily overridden in distro conf file or local.conf.
- Don't install /var/lock when populating rootfs. Do it
through volatile.
- install header.txt for generated mails
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl/recipes-extended/logcheck/files/99_logcheck')
-rw-r--r-- | meta-perl/recipes-extended/logcheck/files/99_logcheck | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-perl/recipes-extended/logcheck/files/99_logcheck b/meta-perl/recipes-extended/logcheck/files/99_logcheck new file mode 100644 index 0000000000..4de33aca34 --- /dev/null +++ b/meta-perl/recipes-extended/logcheck/files/99_logcheck @@ -0,0 +1,2 @@ +# <type> <owner> <group> <mode> <path> <linksource> +d logcheck logcheck 0755 /var/lock/logcheck none |