Skip to Content.
Please activate JavaScript in your web browser
List archive
Re: [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (3ccd4431d27435f1a5ffaf42ad5c04742b2346ee)
Chronological
Thread
<
Chronological
>
<
Thread
>
From
: public AT sourcemage.org
To
: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
Subject
: Re: [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (3ccd4431d27435f1a5ffaf42ad5c04742b2346ee)
Date
: Fri, 14 Feb 2025 11:32:53 -0500
No sha512 hash.
On Fri, Feb 14, 2025 at 12:00:12PM +0000, Treeve Jelbert wrote:
>
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
>
>
ChangeLog | 3 ++
>
disk/limine/BUILD | 6 ++++
>
disk/limine/CONFIGURE | 4 +++
>
disk/limine/DEPENDS | 4 +++
>
disk/limine/DETAILS | 20 ++++++++++++++++
>
disk/limine/HISTORY | 4 +++
>
disk/limine/mk-limine-cfg.sh | 52
>
+++++++++++++++++++++++++++++++++++++++++++
>
7 files changed, 93 insertions(+)
>
>
New commits:
>
commit 3ccd4431d27435f1a5ffaf42ad5c04742b2346ee
>
Author: Treeve Jelbert <treeve AT sourcemage.org>
>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
>
>
add limine 8.7.0
>
>
diff --git a/ChangeLog b/ChangeLog
>
index 1e7b32a..ffa0666 100644
>
--- a/ChangeLog
>
+++ b/ChangeLog
>
@@ -1,3 +1,6 @@
>
+2025-02-14 Treeve Jelbert <treeve AT sourcemage.org>
>
+ * disk/limine: added, simple bootloader for bios and UEFI
>
+
>
2025-02-06 Pavel Vinogradov <public AT sourcemage.org>
>
* gnu.gpg: added new key,D73CF638C53C06BE, Simon Josefsson
>
<simon AT josefsson.org>
>
diff --git a/disk/limine/BUILD b/disk/limine/BUILD
>
new file mode 100755
>
index 0000000..c2e8b85
>
--- /dev/null
>
+++ b/disk/limine/BUILD
>
@@ -0,0 +1,6 @@
>
+local OO &&
>
+for OO in $LIM; do
>
+ OPTS+=" --enable-$OO"
>
+done &&
>
+message OPTS= $OPTS &&
>
+default_build
>
diff --git a/disk/limine/CONFIGURE b/disk/limine/CONFIGURE
>
new file mode 100755
>
index 0000000..e1076ae
>
--- /dev/null
>
+++ b/disk/limine/CONFIGURE
>
@@ -0,0 +1,4 @@
>
+source $GRIMOIRE/config_query_multi.function &&
>
+
>
+config_query_multi LIM 'which ports to build?' \
>
+ bios bios-cd bios-pxe uefi-ia32 uefi-x86-64 uefi-cd
>
diff --git a/disk/limine/DEPENDS b/disk/limine/DEPENDS
>
new file mode 100755
>
index 0000000..a297423
>
--- /dev/null
>
+++ b/disk/limine/DEPENDS
>
@@ -0,0 +1,4 @@
>
+depends -sub CLANG llvm &&
>
+depends nasm &&
>
+depends gzip &&
>
+suggest_depends INITRAMFS '' '' 'for making initramfs images'
>
diff --git a/disk/limine/DETAILS b/disk/limine/DETAILS
>
new file mode 100755
>
index 0000000..a9f07d8
>
--- /dev/null
>
+++ b/disk/limine/DETAILS
>
@@ -0,0 +1,20 @@
>
+ SPELL=limine
>
+ VERSION=8.7.0
>
+ SOURCE_HASH=sha512:
>
+ SOURCE=$SPELL-$VERSION.tar.xz
>
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
>
+
>
SOURCE_URL[0]=
https://github.com/limine-bootloader/limine/releases/download/v$VERSION/$SOURCE
>
+ WEB_SITE=
https://limine-bootloader.org
>
+ LICENSE[0]=BSD
>
+ ENTERED=20240323
>
+ KEYWORDS="DISK"
>
+ SHORT="modern, advanced, portable, multiprotocol bootloader"
>
+cat << EOF
>
+Limine (pronounced is a modern, advanced, portable, multiprotocol
>
+bootloader and boot manager, also used as the reference implementation for
>
+the Limine boot protocol.
>
+
>
+You will need to put your kernel modules in an EFI partition (fat32) and
>
+provide an initramfs module.
>
+EFI should be mounted at /boot.
>
+EOF
>
diff --git a/disk/limine/HISTORY b/disk/limine/HISTORY
>
new file mode 100644
>
index 0000000..6429596
>
--- /dev/null
>
+++ b/disk/limine/HISTORY
>
@@ -0,0 +1,4 @@
>
+2025-01-10 Treeve Jelbert <treeve AT sourcemage.org>
>
+ * DETAILS: version 8.7.0
>
+ * mk-limine-cfg.sh: added
>
+ spell created
>
diff --git a/disk/limine/mk-limine-cfg.sh b/disk/limine/mk-limine-cfg.sh
>
new file mode 100755
>
index 0000000..aaf43a4
>
--- /dev/null
>
+++ b/disk/limine/mk-limine-cfg.sh
>
@@ -0,0 +1,52 @@
>
+#!/bin/bash
>
+# create the limine config files
>
+# run this script in the ESP partition, or a FAT32 boot partition
>
+
>
+# Limine expects the boot kernels to exist on a FAT32 disk.
>
+
>
+# Move any existing /boot files to the ESP (EFI System Partition).
>
+
>
+# Whenever you update the kernel, mount the ESP over an empty /boot on
>
your root file system.
>
+
>
+ROOT=`dracut --print-cmdline`
>
+#ROOT='root=LABEL=root64'
>
+
>
+DEST=limine.conf
>
+
>
+cat > $DEST << EOF
>
+limine:config:
>
+
>
+
>
+verbose:yes
>
+cmdline: $ROOT
>
+interface_branding:SourceMage GNU/Linux (Limine boot)
>
+wallpaper:boot():/smgl-splash.png
>
+
>
+/SourceMage GNU/Linux
>
+EOF
>
+
>
+for VX in `ls /boot/vmlinuz-* | cut -d- -f2|sort -r`;do
>
+ cat >> $DEST << EOF
>
+//Linux $VX
>
+protocol:linux
>
+path:boot():/boot/vmlinuz-$VX
>
+EOF
>
+
>
+ MOD='/boot/initramfs-$VX.img'
>
+ if [[ -f $MOD ]];then
>
+ cat >> $DEST << EOF
>
+ module_path:boot():$MOD
>
+EOF
>
+ fi
>
+done # linux kernels
>
+
>
+# extra systems
>
+if [[ -f /boot/memtest+ ]];then
>
+ cat >> $DEST << EOF
>
+/Memtest+
>
+protocol:linux
>
+path:boot():/boot/memtest+
>
+
>
+EOF
>
+fi
>
+
[[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (3ccd4431d27435f1a5ffaf42ad5c04742b2346ee)
,
Treeve Jelbert, 02/14/2025
Re: [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (3ccd4431d27435f1a5ffaf42ad5c04742b2346ee)
,
public, 02/14/2025
Archive powered by
MHonArc 2.6.24
.