Skip to content
Snippets Groups Projects
Verified Commit e070336d authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

harmony/busybox: split /bin/sh properly

parent bcd53768
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox
pkgver=1.27.2
pkgrel=3
pkgrel=4
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
arch="all"
......@@ -15,7 +15,7 @@ checkdepends="zip"
provides="/bin/sh /sbin/init"
install="$pkgname.post-install $pkgname.post-upgrade
$pkgname-extras.post-install $pkgname-extras.pre-deinstall"
subpackages="$pkgname-static $pkgname-suid $pkgname-extras"
subpackages="$pkgname-static $pkgname-suid $pkgname-extras $pkgname-binsh"
options="suid !check"
triggers="busybox.trigger=/bin:/usr/bin:/sbin:/usr/sbin:/lib/modules/*"
source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
......@@ -164,6 +164,14 @@ suid() {
install -m4111 bbsuid "$subpkgdir"/bin/bbsuid
}
binsh() {
pkgdesc="Provide /bin/sh with BusyBox ash"
depends="${pkgname}"
mkdir -p "$subpkgdir"/bin
mv "$pkgdir"/bin/sh "$subpkgdir"/bin
}
static() {
pkgdesc="Statically linked Busybox"
mkdir -p "$subpkgdir"/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment