From e5c3db51b8625582e9c50c51bc293244d4bcca74 Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Mon, 2 Feb 2026 22:06:04 -0500 Subject: [PATCH] Started integrating Limine with mapleconf --- sources/limine/limine.conf | 12 ++++++++++++ sources/limine/limine.spec | 10 ++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 sources/limine/limine.conf diff --git a/sources/limine/limine.conf b/sources/limine/limine.conf new file mode 100644 index 0000000..571b958 --- /dev/null +++ b/sources/limine/limine.conf @@ -0,0 +1,12 @@ +timeout: 3 + +{% comment %} +NOTE: liquid-lua doesn't support the `where` filter, so I had to improvise and + use a for loop with a conditional statement. Ugly, but functional. ~ahill +{% endcomment %} + +/Maple Linux + protocol: Linux + kernel_path: boot():/vmlinuz + kernel_cmdline: root=UUID={%for p in partition%}{%if p.location == "/"%}{{p.uuid}}{%endif%}{%endfor%} rw + module_path: boot():/ diff --git a/sources/limine/limine.spec b/sources/limine/limine.spec index 2b64995..d653bf3 100644 --- a/sources/limine/limine.spec +++ b/sources/limine/limine.spec @@ -1,14 +1,16 @@ # Maintainer: Alexander Hill -SRC_HASH="baf5bcbe7b04042d84fb47035aaf3312800c6d36a65fc411a3f74aba1c48c3c6" +SRC_HASH="4ec91681c4b0ade967138561ae8da5aa5bff83dd3b6be2e9fb7501eb9162e0ee" SRC_NAME="limine" -SRC_URL="https://github.com/limine-bootloader/limine/releases/download/v10.6.3/limine-10.6.3.tar.xz" -SRC_VERSION="10.6.3" +SRC_URL="https://github.com/limine-bootloader/limine/releases/download/v10.6.4/limine-10.6.4.tar.xz" +SRC_VERSION="10.6.4" build() { + mkdir -p $TT_INSTALLDIR$TT_DATADIR/mapleconf/boot + cp limine.conf $TT_INSTALLDIR$TT_DATADIR/mapleconf/boot/ tar xf ../$SRC_FILENAME cd limine-$SRC_VERSION/ # TODO: How should other architectures be handled? ~ahill ./configure $TT_AUTOCONF_COMMON --enable-uefi-x86-64 make -O -j $TT_PROCS make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR -} \ No newline at end of file +}