From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 From: Anton Midyukov To: devel-distro@lists.altlinux.org Date: Wed, 4 Dec 2024 18:53:45 +0300 Message-ID: <20241204155345.2399389-1-antohami@altlinux.org> X-Mailer: git-send-email 2.42.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [devel-distro] [PATCH] net-eth: setup e*.network for networkd-dhcp, networkd-dhcp4 X-BeenThere: devel-distro@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Distributions development List-Id: Distributions development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2024 15:53:58 -0000 Archived-At: List-Archive: Setup dhcp for all e* network interface, when systemd-networkd. This allows us to abandon the use of udev-rule-generator-net. --- features.in/net-eth/config.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/features.in/net-eth/config.mk b/features.in/net-eth/config.mk index 6fa0b4dfb3..c257c93b4b 100644 --- a/features.in/net-eth/config.mk +++ b/features.in/net-eth/config.mk @@ -11,7 +11,6 @@ use/net-eth: use/net/etcnet use/net-eth/networkd: use/net/networkd @$(call add_feature) @$(call xport,NET_ETH) - @$(call add,BASE_PACKAGES,udev-rule-generator-net) # typical boilerplate use/net-eth/dhcp: use/net-eth use/net/dhcp @@ -23,9 +22,9 @@ use/net-eth/dhcp/timeout/%: use/net-eth/dhcp @$(call set,NET_ETH_TIMEOUT,$*) use/net-eth/networkd-dhcp: use/net-eth/networkd - @$(call add,NET_ETH,eth0:dhcp) + @$(call set,NET_ETH,e*:dhcp) use/net-eth/networkd-dhcp4: use/net-eth/networkd - @$(call add,NET_ETH,eth0:dhcp4) + @$(call set,NET_ETH,e*:dhcp4) # use e.g. eth0:static:10.0.0.2/24:10.0.0.1 for predefined static configuration -- 2.42.2