summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
diff options
context:
space:
mode:
authorApachez <apachez@gmail.com>2023-09-16 05:09:56 +0200
committerApachez <apachez@gmail.com>2023-09-16 05:09:56 +0200
commit0be277647d8d4c5c30e1a5667889803987ce7b7a (patch)
tree87f94644890dea603a00097b5bfad330bce6ee9c /data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
parent5f35b3354369dd8cf610d15bdb3554fdc8bdb866 (diff)
downloadvyos-build-0be277647d8d4c5c30e1a5667889803987ce7b7a.tar.gz
vyos-build-0be277647d8d4c5c30e1a5667889803987ce7b7a.zip
T5511: Cleanup of unused directories (and files) in order to shrink image-size
Diffstat (limited to 'data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot10
1 files changed, 7 insertions, 3 deletions
diff --git a/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
index 9d8dc97e..51116480 100755
--- a/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
+++ b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
@@ -1,4 +1,8 @@
#!/bin/sh
-if [ -f /etc/update-motd.d/10-uname ]; then
- rm -f /etc/update-motd.d/10-uname
-fi
+
+# Made obsolete by T5511, use rootfs/excludes instead.
+#
+#if [ -f /etc/update-motd.d/10-uname ]; then
+# rm -f /etc/update-motd.d/10-uname
+#fi
+