Started integrating Limine with mapleconf

This commit is contained in:
Alexander Hill
2026-02-02 22:06:04 -05:00
parent b23ee115f8
commit e5c3db51b8
2 changed files with 18 additions and 4 deletions

View File

@@ -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():/

View File

@@ -1,14 +1,16 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
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
}
}