From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Subject: Re: [PATCH] Fix parsing of LINKS
Date: Wed, 06 Jul 2022 19:50:15 +0200 [thread overview]
Message-ID: <20220706195015.5be75028@elisabeth> (raw)
In-Reply-To: <20220706072323.596133-1-david@gibson.dropbear.id.au>
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
On Wed, 6 Jul 2022 17:23:23 +1000
David Gibson <david(a)gibson.dropbear.id.au> wrote:
> Currently mbuto misparses the LINKS variable in the profile. It will
> correctly assign the first two tokens to the target and link name, but for
> subsequent tokens ${__target} will always be non-empty, and so we'll never
> change it for later links.
>
> AFAICT this has been missed because the existing sample profiles only have
> links all going to the same target.
Right, I didn't think of this problem at all.
> Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au>
> ---
> mbuto | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mbuto b/mbuto
> index 4ffe549..7530c72 100755
> --- a/mbuto
> +++ b/mbuto
> @@ -808,6 +808,7 @@ prog_add() {
> prog_link "${1}" \
> "${__bindir##${wd}}/$("${BASENAME}" "${__bin}")" \
> "${__target}" "${__l}"
> + __target=
> done
>
> libs_copy "${__bin}"
Merged now, thanks.
--
Stefano
prev parent reply other threads:[~2022-07-06 17:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 7:23 [PATCH] Fix parsing of LINKS David Gibson
2022-07-06 17:50 ` Stefano Brivio [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=20220706195015.5be75028@elisabeth \
--to=sbrivio@redhat.com \
--cc=passt-dev@passt.top \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).