Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Floris Bos <bos@je-eigen-domein.nl>,
	Heiko Thiery <heiko.thiery@gmail.com>,
	linux-amarula@amarulasolutions.com,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/ipmitool: download enterprise-numbers versioned
Date: Thu, 5 Sep 2024 10:55:21 +0200	[thread overview]
Message-ID: <Ztlx-byJyg2ryXIF@landeda> (raw)
In-Reply-To: <CABGWkvqUodd2xpSpELk+_SbwuPrcpgiMfjWPsGDdWTme7_L=EQ@mail.gmail.com>

Dario, All,

On 2024-09-05 08:09 +0200, Dario Binacchi spake thusly:
> On Wed, Sep 4, 2024 at 8:17 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
[--SNIP--]
> > I tried a few hacks, notably the infamous GET parameters, like:
> > https://github.com/larseggert/iana-assignments/raw/6eaf[...]enterprise-numbers/enterprise-numbers&path=foo/enterprise-numbers-6eaf[...].txt
> > and various variants of that, but to not avail... So, unless you can
> > come up with a way to hack a verioned filename in the URL, we'll have to
> > introduce a dedicated package... :-/
> AFAIK, adding the package is probably the cleanest solution.

Agreed.

In this case, the new package should probably be something like:

    config BR2_PKG_IANA_ASSIGNMENTS
        bool "iana-assignments"
        select BR2_PKG_IANA_ASSIGNMENTS_PEN_REG

    if BR2_PKG_IANA_ASSIGNMENTS

    config BR2_PKG_IANA_ASSIGNMENTS_PEN_REG
        bool "PEN (Enterprise Numbers)  registry"

    endif

(we need the select to ensure something gets installed, and we have the
sub-option in case we need to install other aissignments in the future).

And then it should install that into:

    $(TARGET_DIR)/usr/share/misc/iana/enterprise-numbers

And ipmitool should be configured to use that:

    ifeq ($(BR2_PKG_IANA_ASSIGNMENTS_PEN_REG),y)
    IPMITOOL_CONF_ENV += IANADIR=/usr/share/misc/iana
    endif

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-09-05  8:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 17:40 [Buildroot] [PATCH v2 1/1] package/ipmitool: download enterprise-numbers versioned Dario Binacchi
2024-09-04 18:17 ` Yann E. MORIN
2024-09-05  6:09   ` Dario Binacchi
2024-09-05  8:55     ` Yann E. MORIN [this message]
2024-09-06 17:04       ` Dario Binacchi

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=Ztlx-byJyg2ryXIF@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=bos@je-eigen-domein.nl \
    --cc=buildroot@buildroot.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=heiko.thiery@gmail.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=thomas.petazzoni@bootlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox