public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Yedaya Katsman <yedaya.ka@gmail.com>
Cc: David Ahern <dsahern@kernel.org>,
	Andrea Claudi <aclaudi@redhat.com>,
	Luca Boccassi <luca.boccassi@gmail.com>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] Update old references to /usr/lib/iproute2
Date: Mon, 2 Mar 2026 08:18:42 -0800	[thread overview]
Message-ID: <20260302081842.17003c8a@phoenix.local> (raw)
In-Reply-To: <20260228-usr-lib-to-usr-share-v1-1-a09da2a7675e@gmail.com>

On Sat, 28 Feb 2026 23:03:59 +0200
Yedaya Katsman <yedaya.ka@gmail.com> wrote:

> In 962692356a1c ("Makefile: use /usr/share/iproute2 for config files")
> The path was changed to /usr/share/, but a comment and a define were still
> using the old path, Update them.
> 
> Signed-off-by: Yedaya Katsman <yedaya.ka@gmail.com>

I would rather remove the #define's in include/utils.h
The file is internal, and everywhere is using the values that
are in the Makefile.

diff --git a/include/utils.h b/include/utils.h
index e0a9c780..adf6a581 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -39,13 +39,6 @@ extern bool do_all;
 extern int echo_request;
 extern int use_iec;
 
-#ifndef CONF_USR_DIR
-#define CONF_USR_DIR "/usr/lib/iproute2"
-#endif
-#ifndef CONF_ETC_DIR
-#define CONF_ETC_DIR "/etc/iproute2"
-#endif
-
 #define SPRINT_BSIZE 64
 #define SPRINT_BUF(x)  char x[SPRINT_BSIZE]
 

      reply	other threads:[~2026-03-02 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28 21:03 [PATCH] Update old references to /usr/lib/iproute2 Yedaya Katsman
2026-03-02 16:18 ` Stephen Hemminger [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=20260302081842.17003c8a@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=aclaudi@redhat.com \
    --cc=dsahern@kernel.org \
    --cc=luca.boccassi@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=yedaya.ka@gmail.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