public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] iproute2: Update to version 6.5.0
Date: Wed, 13 Sep 2023 12:32:39 +0200	[thread overview]
Message-ID: <6b969e4e-e919-4c7f-9271-c34860ac447e@ipfire.org> (raw)
In-Reply-To: <20230913101414.3434376-3-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 3743 bytes --]

Hi All,

Realised that I forgot to mention in the commit about the addition of the CONF_USR_DIR=/etc/iproute2

In previous versions of iproute2 they just had a single CONF_DIR which was /etc/iproute2

In version 6.5.0 they have split this into two CONF_ETC_DIR and CONF_USR_DIR

Here is a quote from the commit regarding this change:-

========================
Add support for the so called "stateless" configuration pattern (read
from /etc, fall back to /usr), giving system administrators a way to
define local configuration without changing any distro-provided files.

In practice this means that each configuration file FOO is loaded
from /usr/lib/iproute2/FOO unless /etc/iproute2/FOO exists.
========================

This resulted in the files that used to be in /etc/iproute2 not being there and the directory also being missing.

I could have just created the directory and copied across all the files in the LFS but it seemed that this would duplicate the files and we are not a typical distro where the user might create customised conf files.

So I changed the lfs to set CONF_USR_DIR to /etc/iproute2 rather than the default /usr/lib/iproute2 This basically keeps everything in the same place as it used to be with the earlier versions.

If anyone thinks it should be done differently I can always change it at the next update.

Regards,

Adolf.

On 13/09/2023 12:14, Adolf Belka wrote:
> - Update from version 6.4.0 to 6.5.0
> - Update of rootfile
> - Changelog is only available by reviewing the github commits
>     https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/
> 
> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
> ---
>   config/rootfiles/common/iproute2 |  1 +
>   lfs/iproute2                     | 13 +++++++++----
>   2 files changed, 10 insertions(+), 4 deletions(-)
> 
> diff --git a/config/rootfiles/common/iproute2 b/config/rootfiles/common/iproute2
> index 420a33c85..15bad27f7 100644
> --- a/config/rootfiles/common/iproute2
> +++ b/config/rootfiles/common/iproute2
> @@ -50,6 +50,7 @@ usr/share/bash-completion/completions/tc
>   #usr/share/man/man8/dcb-ets.8
>   #usr/share/man/man8/dcb-maxrate.8
>   #usr/share/man/man8/dcb-pfc.8
> +#usr/share/man/man8/dcb-rewr.8
>   #usr/share/man/man8/dcb.8
>   #usr/share/man/man8/devlink-dev.8
>   #usr/share/man/man8/devlink-dpipe.8
> diff --git a/lfs/iproute2 b/lfs/iproute2
> index cfdb474cb..1a55a1bb8 100644
> --- a/lfs/iproute2
> +++ b/lfs/iproute2
> @@ -24,7 +24,7 @@
>   
>   include Config
>   
> -VER        = 6.4.0
> +VER        = 6.5.0
>   
>   THISAPP    = iproute2-$(VER)
>   DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE)             = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_BLAKE2 = 76369d2a794afd13dba1a34ee9a7425775bb7b43c22164274749c01b18d061669aa5abd51d32a15d68f48e75f4837a887dfc28ea41e34d8e4c36b2ab865628dd
> +$(DL_FILE)_BLAKE2 = 537a956c2fb59df25e90d7899a981e5408c5ee029df2bb87461b899ecf8fe4424a1db5d1b1b67a67bdb2555f6cc4aaf099b0544a2c92ffc3843adc3d17defb96
>   
>   install : $(TARGET)
>   
> @@ -70,8 +70,13 @@ $(subst %,%_BLAKE2,$(objects)) :
>   $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>   	@$(PREBUILD)
>   	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
> -	cd $(DIR_APP) && make $(MAKETUNING) SBINDIR=/sbin
> -	cd $(DIR_APP) && make SBINDIR=/sbin install
> +	cd $(DIR_APP) && make $(MAKETUNING) \
> +					SBINDIR=/sbin \
> +					CONF_USR_DIR=/etc/iproute2
> +	cd $(DIR_APP) && make \
> +				SBINDIR=/sbin \
> +				CONF_USR_DIR=/etc/iproute2 \
> +				install
>   	cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin
>   
>   	# Add table for static routing

  reply	other threads:[~2023-09-13 10:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 10:14 [PATCH] alsa: Update to version 1.2.10 Adolf Belka
2023-09-13 10:14 ` [PATCH] dbus: Update to version 1.14.10 Adolf Belka
2023-09-13 10:14 ` [PATCH] iproute2: Update to version 6.5.0 Adolf Belka
2023-09-13 10:32   ` Adolf Belka [this message]
2023-09-13 14:26     ` Michael Tremer
2023-09-13 10:14 ` [PATCH] jq: Update to version 1.7 Adolf Belka
2023-09-13 10:14 ` [PATCH] qpdf: Update to version 11.6.1 Adolf Belka
2023-09-13 10:14 ` [PATCH] sqlite: Update to version 3430100 Adolf Belka

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=6b969e4e-e919-4c7f-9271-c34860ac447e@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /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