From: Adrian Dudau <Adrian.Dudau@enea.com>
To: "jackie.huang@windriver.com" <jackie.huang@windriver.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [meta-cgl][PATCH] poky-cgl: avoid installing multiple syslogs
Date: Thu, 8 Jun 2017 12:01:01 +0000 [thread overview]
Message-ID: <1496923261.1730.5.camel@enea.com> (raw)
In-Reply-To: <20170602075946.31648-1-jackie.huang@windriver.com>
On fre, 2017-06-02 at 15:59 +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> do_rootfs fails if multiple syslogs are installed:
> >
> > Error: package syslog-ng-3.8.1-r0.i586 conflicts with sysklogd
> > provided
> by sysklogd-1.5.1-r0.i586
>
> core-image-cgl requires packagegroup-core-full-cmdline which depends
> on VIRTUAL-RUNTIME_syslog (default to sysklogd), so set the
> VIRTUAL-RUNTIME_syslog in distro conf and no need to depends
> on any syslog in packagegroup-cgl-applications, then we ensure
> that only one syslog is installed to avoid conflicts.
>
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
> meta-cgl-common/conf/distro/poky-cgl.conf | 4
> ++++
> meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb | 2
> --
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta-cgl-common/conf/distro/poky-cgl.conf b/meta-cgl-
> common/conf/distro/poky-cgl.conf
> index 90cc82b..69f6200 100644
> --- a/meta-cgl-common/conf/distro/poky-cgl.conf
> +++ b/meta-cgl-common/conf/distro/poky-cgl.conf
> @@ -5,3 +5,7 @@ DISTRO = "poky-cgl"
>
> IMAGE_CLASSES += "image_types_uboot"
> PREFERRED_PROVIDER_virtual/refpolicy="refpolicy-targeted"
> +
> +# we want to use rsyslog as the default syslog, but it's GPLv3, so
> need this
> +# check to switch to syslog-ng if GLPv3 is blacklisted.
> +VIRTUAL-RUNTIME_syslog ?= "${@bb.utils.contains('INCOMPATIBLE_LICENS
> E', 'GPLv3', 'syslog-ng', 'rsyslog', d)}"
> diff --git a/meta-cgl-common/packagegroups/packagegroup-cgl-
> applications.bb b/meta-cgl-common/packagegroups/packagegroup-cgl-
> applications.bb
> index b566e2d..be36075 100644
> --- a/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb
> +++ b/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb
> @@ -40,7 +40,6 @@ RDEPENDS_${PN} = " \
> quota \
> smartmontools \
> monit \
> - syslog-ng \
> ocfs2-tools \
> logcheck \
> samhain-client \
> @@ -48,7 +47,6 @@ RDEPENDS_${PN} = " \
> audit \
> pam-passwdqc \
> libpam \
> - rsyslog \
> makedumpfile \
> "
>
> --
> 2.11.0
>
Patch good but doesn't apply. Please rebase on origin/master and send
again.
best regards
--Adrian
next prev parent reply other threads:[~2017-06-08 12:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 7:59 [meta-cgl][PATCH] poky-cgl: avoid installing multiple syslogs jackie.huang
2017-06-08 12:01 ` Adrian Dudau [this message]
2017-06-09 0:54 ` Huang, Jie (Jackie)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496923261.1730.5.camel@enea.com \
--to=adrian.dudau@enea.com \
--cc=jackie.huang@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.