From 029ec5adda27c3f1d50917d112fd1eba409d1187 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Wed, 17 Mar 2021 14:44:26 +0000 Subject: systemd-udev: T3242: Add hook to prevent link_config redundancy call --- data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot diff --git a/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot b/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot new file mode 100755 index 00000000..a0173e49 --- /dev/null +++ b/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot @@ -0,0 +1,7 @@ +#!/bin/sh + +# 99-default.link rule always calls link_config that trying to set +# autonegotiation and duplex even for PPP interfaces. +# Need to delete this rule to prevent overhead on interface creation stage + +rm /lib/systemd/network/99-default.link -- cgit v1.2.3