summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-16 08:02:32 +0200
committerGitHub <noreply@github.com>2023-09-16 08:02:32 +0200
commit67339c8c3988bf6f075abda89b7b2cd0ef6a213c (patch)
tree87f94644890dea603a00097b5bfad330bce6ee9c /data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
parent5f35b3354369dd8cf610d15bdb3554fdc8bdb866 (diff)
parent0be277647d8d4c5c30e1a5667889803987ce7b7a (diff)
downloadvyos-build-67339c8c3988bf6f075abda89b7b2cd0ef6a213c.tar.gz
vyos-build-67339c8c3988bf6f075abda89b7b2cd0ef6a213c.zip
Merge pull request #413 from Apachez-/T5511
T5511: Cleanup of unused directories (and files) in order to shrink image-size
Diffstat (limited to 'data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/82-cleanup-udev-rules.chroot11
1 files changed, 7 insertions, 4 deletions
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
index a0173e49..0345a561 100755
--- a/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
+++ b/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
@@ -1,7 +1,10 @@
#!/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
+# Made obsolete by T5511, use rootfs/excludes instead.
+#
+## 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
-rm /lib/systemd/network/99-default.link