busybox: create /usr/bin/vi symlink to make some commands work out of the box.
This commit is contained in:
parent
aa8a26209b
commit
b58b581975
|
@ -1,6 +1,7 @@
|
|||
# Build template for 'busybox'.
|
||||
pkgname=busybox
|
||||
version=1.19.2
|
||||
revision=1
|
||||
homepage="http://www.busybox.net"
|
||||
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
|
||||
build_style=custom-install
|
||||
|
@ -36,4 +37,7 @@ do_install()
|
|||
{
|
||||
vinstall busybox 755 bin
|
||||
vinstall docs/busybox.1 644 usr/share/man/man1
|
||||
# Create /usr/bin/vi symlink for base.
|
||||
vmkdir usr/bin
|
||||
cd ${DESTDIR}/usr/bin && ln -sf ../../bin/busybox vi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue