From 87989828052cfd9be59d97b800c94a81e7591817 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Fri, 9 Jul 2021 08:37:56 +0200 Subject: [PATCH] don't use cummingbird as it does not support ramdisk, instead use openrc wich is kinda also lighter than cummingbird --- grub-defconfig/payload/boot/grub/grub.cfg | 4 ++-- openrc/build | 4 ++++ openrc/package | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 openrc/build create mode 100755 openrc/package diff --git a/grub-defconfig/payload/boot/grub/grub.cfg b/grub-defconfig/payload/boot/grub/grub.cfg index 456aced..1476808 100644 --- a/grub-defconfig/payload/boot/grub/grub.cfg +++ b/grub-defconfig/payload/boot/grub/grub.cfg @@ -1,8 +1,8 @@ set timeout=15 set default=0 - + menuentry "Alnux" { # you will probably want to change the root below... - linux /boot/bzImage noapic root=/dev/sda1 init=/usr/bin/hummingbird + linux /boot/bzImage noapic root=/dev/sda1 init=/sbin/openrc-init boot } diff --git a/openrc/build b/openrc/build new file mode 100644 index 0000000..c1c57be --- /dev/null +++ b/openrc/build @@ -0,0 +1,4 @@ +wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz +tar -xf openrc-0.43.3.tar.gz +cd openrc-0.43.3 +make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1" diff --git a/openrc/package b/openrc/package new file mode 100755 index 0000000..a59cf95 --- /dev/null +++ b/openrc/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="0.43.3" +pkg_config_name="openrc" +pkg_config_makedepends="" +pkg_config_depends="make"