vim: install /bin/vi as a relative symlink
authorCarlos Santos <casantos@datacom.com.br>
Wed, 18 Jul 2018 12:34:43 +0000 (09:34 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 5 Aug 2018 12:42:26 +0000 (14:42 +0200)
commit52385d789af0d17bf12406e5c028651ccbd841f0
treeb589c7cc01d491aed4c4820e5c32cfe0c5a35b91
parent85dd98c31e93114995b36ccd398493cd5375ab94
vim: install /bin/vi as a relative symlink

Prevent creating a dangling symlink when vim is not present on the host
machine. With BR2_ROOTFS_MERGED_USR, just link to "vim", since they are
on the same directory, otherwise link to "../usr/bin/vim".

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/vim/vim.mk