summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
diff options
context:
space:
mode:
authorApachez <apachez@gmail.com>2023-09-16 05:09:56 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-17 09:05:19 +0000
commitd4689bc4be59da9297f8a990267de6bc0d1e5b5a (patch)
tree7deb07590aa773662030fcb04ddb3c74e7c8d752 /data/live-build-config/hooks/live/82-cleanup-udev-rules.chroot
parent221b622f7b2b63f16b811c5569f36ade400baec4 (diff)
downloadvyos-build-d4689bc4be59da9297f8a990267de6bc0d1e5b5a.tar.gz
vyos-build-d4689bc4be59da9297f8a990267de6bc0d1e5b5a.zip
T5511: Cleanup of unused directories (and files) in order to shrink image-size
(cherry picked from commit 0be277647d8d4c5c30e1a5667889803987ce7b7a)
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