From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/netsnmp: fix script net-snmp-create-v3-user's usage of 'ps'.
Date: Sun, 04 Apr 2021 11:25:02 +0200 [thread overview]
Message-ID: <87a6qe2yhd.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20210331081447.29552-1-nicolas.cavallari@green-communications.fr> (Nicolas Cavallari's message of "Wed, 31 Mar 2021 10:14:47 +0200")
>>>>> "Nicolas" == Nicolas Cavallari <nicolas.cavallari@green-communications.fr> writes:
> net-snmp-create-v3-user uses ps to check if snmpd is running. To know
> how to invoke 'ps', the build system use 'which ps' and does other
> checks for the output format of 'ps', therefore inspecting 'ps' on the
> build machine instead of the target.
> If the build machine runs a OS like Debian, that uses a merged-usr and a
> PATH of '/usr/bin:/bin', then 'which ps' returns /usr/bin/ps, which will
> not work on the target if it does not also use a merged-usr.
> Hardcode 'ps' to be /bin/ps to fix this issue and to improve build
> reproducibility.
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2021-04-04 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-31 8:14 [Buildroot] [PATCH 1/1] package/netsnmp: fix script net-snmp-create-v3-user's usage of 'ps' Nicolas Cavallari
2021-03-31 19:49 ` Yann E. MORIN
2021-04-04 9:25 ` Peter Korsgaard [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=87a6qe2yhd.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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.