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 +}