From ded599d846b219ff824b2973282ddabe2709684d Mon Sep 17 00:00:00 2001 From: hippoz Date: Mon, 30 Nov 2020 21:45:15 +0200 Subject: [PATCH] add grub-defconfig package --- grub-defconfig/package | 5 +++++ grub-defconfig/payload/boot/grub/grub.cfg | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100755 grub-defconfig/package create mode 100644 grub-defconfig/payload/boot/grub/grub.cfg diff --git a/grub-defconfig/package b/grub-defconfig/package new file mode 100755 index 0000000..0421340 --- /dev/null +++ b/grub-defconfig/package @@ -0,0 +1,5 @@ +AL_PKG_CONFIG_DEPLOY=true +AL_PKG_CONFIG_VER="0.1" +AL_PKG_CONFIG_NAME="grub-defconfig" +AL_PKG_CONFIG_MAKEDEPENDS="" +AL_PKG_CONFIG_DEPENDS="" \ No newline at end of file diff --git a/grub-defconfig/payload/boot/grub/grub.cfg b/grub-defconfig/payload/boot/grub/grub.cfg new file mode 100644 index 0000000..b288f94 --- /dev/null +++ b/grub-defconfig/payload/boot/grub/grub.cfg @@ -0,0 +1,12 @@ +set timeout=15 +set default=0 # Set the default menu entry + +menuentry "Alnux" { + # oh and also if the root is not /dev/sr0 you can change it + + linux /boot/bzImage noapic root=/dev/sr0 init=/usr/bin/hummingbird + # Do YOU want an initramfs? YES YOU! In order to do that, uncomment the line below and move the root and init args down here! Have fun! + # (the initramfs has to be built beforehand, of course) + #initrd /initramfs.cpio.gz + boot +}