From: Denys Dmytriyenko <denis@denix.org>
To: reatmon@ti.com
Cc: Praneeth Bajjuri <praneeth@ti.com>,
Denys Dmytriyenko <denys@konsulko.com>,
meta-arago@lists.yoctoproject.org
Subject: Re: [meta-arago][master/kirkstone][PATCH] mstpd: Add FILES variable
Date: Mon, 14 Aug 2023 14:10:56 -0400 [thread overview]
Message-ID: <20230814181056.GG3359@denix.org> (raw)
In-Reply-To: <20230812131654.25185-1-reatmon@ti.com>
On Sat, Aug 12, 2023 at 08:16:54AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> Bring this recipe into compliance with the latest standards. Add
> missing FILES and update hardcoded /sbin path to $base_sbindir.
Well, you don't have to touch FILES, as the defaults here seem to cover
everything just fine. Plus, you are adding to the defaults, not replacing
them, so that's a no-op.
Changing hardcoded /sbin to ${base_sbindir} is all you need here.
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb b/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
> index a410f584..be75b1c5 100644
> --- a/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
> +++ b/meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb
> @@ -17,7 +17,15 @@ RDEPENDS:${PN} = "python3-core"
>
> inherit autotools
>
> -EXTRA_OECONF = "--sbindir=/sbin"
> +EXTRA_OECONF = "--sbindir=${base_sbindir}"
> +
> +FILES:${PN} += " \
> + ${base_sbindir}/mstp* \
> + ${base_sbindir}/bridge-stp \
> + ${libexecdir}/mstpctl-utils/* \
> + ${sysconfdir}/bridge-stp.conf \
> + ${sysconfdir}/bash_completion.d/mstpctl \
> +"
So, the defaults already have ${base_sbindir}/* ${libexecdir}/* and
${sysconfdir} and will scoop up everything the recipe installs in those
directories.
https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.conf#n331
> do_configure:prepend() {
> sed -i -e "s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/utils/ifquery
> --
> 2.17.1
next prev parent reply other threads:[~2023-08-14 18:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-12 13:16 [meta-arago][master/kirkstone][PATCH] mstpd: Add FILES variable Ryan Eatmon
2023-08-14 18:10 ` Denys Dmytriyenko [this message]
2023-08-14 18:32 ` Ryan Eatmon
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=20230814181056.GG3359@denix.org \
--to=denis@denix.org \
--cc=denys@konsulko.com \
--cc=meta-arago@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
/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.