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 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Build template for 'busybox'.
|
# Build template for 'busybox'.
|
||||||
pkgname=busybox
|
pkgname=busybox
|
||||||
version=1.19.2
|
version=1.19.2
|
||||||
|
revision=1
|
||||||
homepage="http://www.busybox.net"
|
homepage="http://www.busybox.net"
|
||||||
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
|
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
|
@ -36,4 +37,7 @@ do_install()
|
||||||
{
|
{
|
||||||
vinstall busybox 755 bin
|
vinstall busybox 755 bin
|
||||||
vinstall docs/busybox.1 644 usr/share/man/man1
|
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…
Add table
Add a link
Reference in a new issue