[Buildroot] [git commit] package/vim: extend comment about vi symlink

Julien Olivain ju.o at free.fr
Tue Apr 15 19:53:56 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=06c5a024f120335d0971be6520208369f0957a52
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The current comment is not very helpful; extend it to be more explicit.

Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 package/vim/vim.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/vim/vim.mk b/package/vim/vim.mk
index fb8062e1fa..7d51a6ddab 100644
--- a/package/vim/vim.mk
+++ b/package/vim/vim.mk
@@ -63,7 +63,8 @@ define VIM_REMOVE_DOCS
 	$(RM) -rf $(TARGET_DIR)/usr/share/vim/vim*/doc/
 endef
 
-# Avoid oopses with vipw/vigr, lack of $EDITOR and 'vi' command expectation
+# Avoid oopses with vipw/vigr (from package shadow), lack of $EDITOR,
+# or other packages expecting plain 'vi' command to exist.
 ifeq ($(BR2_ROOTFS_MERGED_USR),y)
 define VIM_INSTALL_VI_SYMLINK
 	ln -sf vim $(TARGET_DIR)/usr/bin/vi


More information about the buildroot mailing list