summaryrefslogtreecommitdiff
path: root/repo/system/bootscripts.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-29 23:37:34 +0100
committerdavidovski <david@davidovski.xyz>2022-03-29 23:37:34 +0100
commitd28d2287b138ede0591d9facd5dbe7ca4f329f83 (patch)
treecea79933059dd721d6a9578f6214ac6fe9057d56 /repo/system/bootscripts.xibuild
parent14a1fee0a54d94f0f57f50d2532849f3c2383a15 (diff)
added sysvinit and openrc
Diffstat (limited to 'repo/system/bootscripts.xibuild')
-rw-r--r--repo/system/bootscripts.xibuild18
1 files changed, 3 insertions, 15 deletions
diff --git a/repo/system/bootscripts.xibuild b/repo/system/bootscripts.xibuild
index f133786..6fe5e6f 100644
--- a/repo/system/bootscripts.xibuild
+++ b/repo/system/bootscripts.xibuild
@@ -1,23 +1,11 @@
#!/bin/sh
-MAKEDEPS="make s6-linux-init s6-rc utmps"
-DEPS="sh eudev s6 s6-rc s6-linux-utils s6-portable-utils s6-linux-init"
+MAKEDEPS="make "
+DEPS="sh eudev"
SOURCE=https://xi.davidovski.xyz/git/bootscripts.git
DESC="Bootscripts to initiate the system on boot"
package () {
- make DESTDIR=$PKG_DEST bootscripts
-
- # Compile a basic database for boot
- s6-rc-compile $PKG_DEST/etc/s6/db/basic $PKG_DEST/etc/s6/sv
- ln -s /etc/s6/db/basic $PKG_DEST/etc/s6/db/current
-
- # initialize s6 init base.
- s6-linux-init-maker -1 -t 2 -L \
- -f $PKG_DEST/etc/s6/skel \
- -p "/usr/bin:/usr/sbin:/bin:/sbin" \
- -D default \
- -G "/sbin/agetty -L -8 tty1 115200" \
- -c $PKG_DEST/etc/s6/base -u root -U utmp $PKG_DEST/etc/s6/base
+ make DESTDIR=$PKG_DEST install
}