From 633355b6c111b5910704736bf7c34c732ca58619 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Thu, 5 Aug 2021 19:40:54 +0200 Subject: [PATCH] clean up some shit, add update-grub, add /etc/default/grub and readd openrc, since hummingbird might not be enough --- {busybox => alnux}/payload/etc/group | 0 {busybox => alnux}/payload/etc/hostname | 0 {busybox => alnux}/payload/etc/hosts | 0 {busybox => alnux}/payload/etc/mdev.conf | 0 {busybox => alnux}/payload/etc/passwd | 0 {busybox => alnux}/payload/etc/resolv.conf | 0 busybox/postdeploy | 1 - grub/payload/etc/default/grub | 34 ++++++++++++++++++++++ grub/payload/usr/bin/update-grub | 3 ++ openrc/build | 5 ++++ openrc/package | 5 ++++ 11 files changed, 47 insertions(+), 1 deletion(-) rename {busybox => alnux}/payload/etc/group (100%) rename {busybox => alnux}/payload/etc/hostname (100%) rename {busybox => alnux}/payload/etc/hosts (100%) rename {busybox => alnux}/payload/etc/mdev.conf (100%) rename {busybox => alnux}/payload/etc/passwd (100%) rename {busybox => alnux}/payload/etc/resolv.conf (100%) delete mode 100755 busybox/postdeploy create mode 100644 grub/payload/etc/default/grub create mode 100644 grub/payload/usr/bin/update-grub create mode 100755 openrc/build create mode 100755 openrc/package diff --git a/busybox/payload/etc/group b/alnux/payload/etc/group similarity index 100% rename from busybox/payload/etc/group rename to alnux/payload/etc/group diff --git a/busybox/payload/etc/hostname b/alnux/payload/etc/hostname similarity index 100% rename from busybox/payload/etc/hostname rename to alnux/payload/etc/hostname diff --git a/busybox/payload/etc/hosts b/alnux/payload/etc/hosts similarity index 100% rename from busybox/payload/etc/hosts rename to alnux/payload/etc/hosts diff --git a/busybox/payload/etc/mdev.conf b/alnux/payload/etc/mdev.conf similarity index 100% rename from busybox/payload/etc/mdev.conf rename to alnux/payload/etc/mdev.conf diff --git a/busybox/payload/etc/passwd b/alnux/payload/etc/passwd similarity index 100% rename from busybox/payload/etc/passwd rename to alnux/payload/etc/passwd diff --git a/busybox/payload/etc/resolv.conf b/alnux/payload/etc/resolv.conf similarity index 100% rename from busybox/payload/etc/resolv.conf rename to alnux/payload/etc/resolv.conf diff --git a/busybox/postdeploy b/busybox/postdeploy deleted file mode 100755 index 7628ba5..0000000 --- a/busybox/postdeploy +++ /dev/null @@ -1 +0,0 @@ -# /bin/busybox --install diff --git a/grub/payload/etc/default/grub b/grub/payload/etc/default/grub new file mode 100644 index 0000000..516b07e --- /dev/null +++ b/grub/payload/etc/default/grub @@ -0,0 +1,34 @@ +# If you change this file, run 'update-grub' afterwards to update +# /boot/grub/grub.cfg. +# For full documentation of the options in this file, see: +# info -f grub -n 'Simple configuration' + +GRUB_DEFAULT=0 +#GRUB_HIDDEN_TIMEOUT=0 +GRUB_HIDDEN_TIMEOUT_QUIET=false +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="Alnux" +GRUB_CMDLINE_LINUX_DEFAULT="" +GRUB_CMDLINE_LINUX="" + +# Uncomment to enable BadRAM filtering, modify to suit your needs +# This works with Linux (no patch required) and with any kernel that obtains +# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) +#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" + +# Uncomment to disable graphical terminal (grub-pc only) +#GRUB_TERMINAL=console + +# The resolution used on graphical terminal +# note that you can use only modes which your graphic card supports via VBE +# you can see them in real GRUB with the command `vbeinfo' +#GRUB_GFXMODE=640x480 + +# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux +#GRUB_DISABLE_LINUX_UUID=true + +# Uncomment to disable generation of recovery mode menu entries +#GRUB_DISABLE_RECOVERY="true" + +# Uncomment to get a beep at grub start +#GRUB_INIT_TUNE="480 440 1" diff --git a/grub/payload/usr/bin/update-grub b/grub/payload/usr/bin/update-grub new file mode 100644 index 0000000..f24aa43 --- /dev/null +++ b/grub/payload/usr/bin/update-grub @@ -0,0 +1,3 @@ +#!/bin/sh + +grub-mkconfig -o /boot/grub/grub.cfg diff --git a/openrc/build b/openrc/build new file mode 100755 index 0000000..06134f3 --- /dev/null +++ b/openrc/build @@ -0,0 +1,5 @@ +git clone https://github.com/OpenRC/openrc.git +cd openrc + +make +make DESTDIR="$1" install diff --git a/openrc/package b/openrc/package new file mode 100755 index 0000000..52b811f --- /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=""