[Buildroot] [PATCH] vim: install /bin/vi as a relative symlink
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Aug 5 12:43:03 UTC 2018
Hello,
On Wed, 18 Jul 2018 09:34:43 -0300, Carlos Santos wrote:
> 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 at datacom.com.br>
> ---
> package/vim/vim.mk | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
I know there is some ongoing discussion on how to handle this better in
a more generic way, but until those discussions are resolved, I've
applied this patch to master.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list