summaryrefslogtreecommitdiff
path: root/system/sysvinit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/sysvinit/APKBUILD')
-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