summaryrefslogtreecommitdiff
path: root/system/sysvinit
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:20:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:20:54 +0000
commit0bde1639103fa9dab748dc0bfc7d483c652e96a7 (patch)
tree6c069dcce082b1e93d14e12d8c00b835065ee368 /system/sysvinit
parent8dd6cd1e8ed01b08a6328e1c842c645cda9ec532 (diff)
downloadpackages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.gz
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.bz2
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.tar.xz
packages-0bde1639103fa9dab748dc0bfc7d483c652e96a7.zip
system/s*: modernise, fix metadata
Diffstat (limited to 'system/sysvinit')
-rw-r--r--system/sysvinit/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/system/sysvinit/APKBUILD b/system/sysvinit/APKBUILD
index e13e92043..67ce05459 100644
--- a/system/sysvinit/APKBUILD
+++ b/system/sysvinit/APKBUILD
@@ -22,7 +22,6 @@ source="https://download.savannah.nongnu.org/releases/sysvinit/sysvinit-${pkgver
builddir="$srcdir/sysvinit-${pkgver}dsf"
prepare() {
- cd "$builddir"
default_prepare
# util-linux
@@ -45,13 +44,11 @@ prepare() {
}
build() {
- cd "$builddir"
export DISTRO="Adélie"
make -C src
}
-_install_s6_stuff()
-{
+_install_s6_stuff() {
svcimg="$pkgdir/etc/s6-linux-init/current/run-image/service"
mkdir -p -m 0755 "$pkgdir/sbin" "$svcimg/.s6-svscan" "$svcimg/s6-svscan-log"
{ echo '#!/bin/execlineb -P' ; echo 'false' ; } > "$svcimg/.s6-svscan/crash"
@@ -64,7 +61,6 @@ _install_s6_stuff()
}
package() {
- cd "$builddir"
make -C src install ROOT="$pkgdir"
rm "$pkgdir"/usr/bin/lastb || true
install -D -m644 "$srcdir"/inittab-2.88 "$pkgdir"/etc/inittab