diff --git a/buildroot-external/scripts/rootfs-layer.sh b/buildroot-external/scripts/rootfs-layer.sh index e325073d2..abd5209eb 100755 --- a/buildroot-external/scripts/rootfs-layer.sh +++ b/buildroot-external/scripts/rootfs-layer.sh @@ -16,6 +16,9 @@ function fix_rootfs() { # Cleanup miscs rm -rf "${TARGET_DIR}/usr/lib/modules-load.d" + # Don't announce services we don't offer + rm -rf "${TARGET_DIR}/etc/avahi/services/sftp-ssh.service" "${TARGET_DIR}/etc/avahi/services/ssh.service" + # Fix: permission for system connection files chmod 600 "${TARGET_DIR}/etc/NetworkManager/system-connections"/*