Yocto Project Discussions
 help / color / mirror / Atom feed
From: "akuster" <akuster808@gmail.com>
To: Charlie Davies <charles.davies@whitetree.xyz>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] [meta-security][zeus][PATCH 1/1] clamav: add INSTALL_CLAMAV_CVD flag to do_install
Date: Fri, 9 Oct 2020 07:32:30 -0700	[thread overview]
Message-ID: <6cddd642-6d7b-4442-efda-e02c503d4cab@gmail.com> (raw)
In-Reply-To: <20201007012006.2579-1-charles.davies@whitetree.xyz>



On 10/6/20 6:20 PM, Charlie Davies wrote:
> Recipe provides INSTALL_CLAMAV_CVD flag to bypass clamav
> cvd db creation. During do_install this flag should be
> used to conditionally skip install of cvd db if needed.
>
> Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>

merged.

thanks
> ---
>  recipes-security/clamav/clamav_0.99.4.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-security/clamav/clamav_0.99.4.bb b/recipes-security/clamav/clamav_0.99.4.bb
> index a340b48..1ee3f58 100644
> --- a/recipes-security/clamav/clamav_0.99.4.bb
> +++ b/recipes-security/clamav/clamav_0.99.4.bb
> @@ -102,7 +102,10 @@ do_install_append_class-target () {
>      install -m 0644 ${WORKDIR}/volatiles.03_clamav  ${D}${sysconfdir}/default/volatiles/volatiles.03_clamav
>      sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/libclamav.pc
>      rm ${D}/${libdir}/libclamav.so
> -    install -m 666 ${S}/clamav_db/* ${D}/${localstatedir}/lib/clamav/.
> +    if [ "${INSTALL_CLAMAV_CVD}" = "1" ]; then
> +        bbnote "CLAMAV installing cvd"
> +        install -m 666 ${S}/clamav_db/* ${D}/${localstatedir}/lib/clamav/.
> +    fi
>      if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
>          install -D -m 0644 ${WORKDIR}/clamav.service ${D}${systemd_unitdir}/system/clamav.service
>          install -d ${D}${sysconfdir}/tmpfiles.d
>
> 
>


      reply	other threads:[~2020-10-09 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07  1:20 [meta-security][zeus][PATCH 1/1] clamav: add INSTALL_CLAMAV_CVD flag to do_install Charlie Davies
2020-10-09 14:32 ` akuster [this message]

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=6cddd642-6d7b-4442-efda-e02c503d4cab@gmail.com \
    --to=akuster808@gmail.com \
    --cc=charles.davies@whitetree.xyz \
    --cc=yocto@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox