summaryrefslogtreecommitdiff
path: root/system/sysvinit
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /system/sysvinit
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
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