[ARMedslack] miniroot 14 and current: vi is broken

Stuart Winter m-lists at biscuit.org.uk
Tue Apr 16 15:34:08 UTC 2013


On Tue, 16 Apr 2013, Davide wrote:

> Well actually on my live slackware 14 (x86)  vi is a link to elvis
>
> Although both are installed, by default vi is linked to elvis (and it's
> not something I did manually). looking at the sizes I cannot but agree
> that on the miniroot vim is just eating up space (just guessing that the
> arm packages will me more or less the same size) and on top of that
> there's 120Mb of dependencies to use it !
[..]

Since (if selected) elvis is installed first (due to being in series 'a'),
it sets up a symlink in the doinst.sh script.
If vim is installed, its doinst.sh script checks for the presence of the
'vi' symlink, and if not present, will symlink 'vi' to 'vim'.
root at pepa:~/ac/source/a/elvis# head -n2 /var/log/scripts/elvis-2.2-arm-2
( cd usr/bin ; rm -rf vi )
( cd usr/bin ; ln -sf elvis vi )
root at pepa:~/ac/source/a/elvis#



More information about the ARMedslack mailing list