mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Started integrating Limine with mapleconf
This commit is contained in:
12
sources/limine/limine.conf
Normal file
12
sources/limine/limine.conf
Normal 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():/
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user