diff options
author | Ivan Kovmir <i@kovmir.eu> | 2023-05-08 17:51:24 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-16 17:39:31 +0700 |
commit | b8d9c2bebe8a488a7d6b425a41d8d1fe22dbeec9 (patch) | |
tree | 40328ffc454ad76ef56d982ccdbf6bcfd970bfdf /system | |
parent | 1b074e5d816b72b5ceb07e4edbdbfd59a79e1375 (diff) |
system/limine: updated for version 4.20230503.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/limine/README.SBo | 23 | ||||
-rw-r--r-- | system/limine/limine-sample.cfg | 22 | ||||
-rw-r--r-- | system/limine/limine.SlackBuild | 5 | ||||
-rw-r--r-- | system/limine/limine.info | 6 |
4 files changed, 51 insertions, 5 deletions
diff --git a/system/limine/README.SBo b/system/limine/README.SBo new file mode 100644 index 0000000000000..a3b5bfafbe8a1 --- /dev/null +++ b/system/limine/README.SBo @@ -0,0 +1,23 @@ +USAGE +===== + +Posibly prepend the commands with 'sudo': + +``` +EFI_PART_MOUNTPT=/boot/efi +mkdir -p "$EFI_PART_MOUNTPT"/EFI/BOOT + +# Install Limine. +cp /usr/share/limine-"$(limine-version)"/limine/BOOTX64.EFI \ + "$EFI_PART_MOUNTPT"/EFI/BOOT/BOOTX64.EFI +# Install Limine config. +cp /usr/share/limine-"$(limine-version)"/limine/limine-sample.cfg \ + "$EFI_PART_MOUNTPT/limine.cfg" + +$EDITOR "$EFI_PART_MOUNTPT"/limine.cfg # Adjust the paths as needed. +``` + +SEE ALSO +======== + +1. To understand UEFI - https://kovmir.eu/posts/uefi_demystified.html diff --git a/system/limine/limine-sample.cfg b/system/limine/limine-sample.cfg new file mode 100644 index 0000000000000..34aeb2411d06e --- /dev/null +++ b/system/limine/limine-sample.cfg @@ -0,0 +1,22 @@ +TIMEOUT=5 # Boot prompt timeout in seconds. +TERM_FONT_SCALE=2x2 # Scale font both vertically and horizontally. + +# Example Slackware boot entry. +# Limine can boot Linux natively. +# +# boot:// refers to the partition limine config is located at. +:Slackware + PROTOCOL=linux + KERNEL_PATH=boot:///EFI/Slackware/vmlinuz # Adjust kernel path. + MODULE_PATH=boot:///EFI/Slackware/initrd.gz # Adjust ramdisk path. + CMDLINE=root=/dev/sda3 vga=normal ro # Adjust root filesystem path. + +# Example MS Windows entry using UEFI bootloader chainloading. +# Limine cannot boot MS Windows natively, so it will instead launch the UEFI +# bootloader provided by MS Windows and let it do the job. +# +# This entry refers to the partition by its UUID, invoke `sudo blkid` to list +# out partition UUIDs. +:Windows + PROTOCOL=chainload + IMAGE_PATH=uuid://6c1ac528-cc9a-804d-b28a-82b7ae8ec9d7/EFI/Microsoft/Boot/bootmgfw.efi diff --git a/system/limine/limine.SlackBuild b/system/limine/limine.SlackBuild index 91f29b4de7034..a569477e3d7c2 100644 --- a/system/limine/limine.SlackBuild +++ b/system/limine/limine.SlackBuild @@ -25,7 +25,7 @@ cd "$(dirname "$0")" ; CWD=$(pwd) PRGNAM=limine -VERSION=${VERSION:-4.20230227.0} +VERSION=${VERSION:-4.20230503.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,11 +89,12 @@ mkdir -p "$PKG/usr/doc/$NAMVER" mkdir -p "$PKG/usr/share/$NAMVER" cat "$CWD/$PRGNAM.SlackBuild" > "$PKG/usr/doc/$NAMVER/$PRGNAM.SlackBuild" cat "$CWD/README" > "$PKG/usr/doc/$NAMVER/README" +cat "$CWD/limine-sample.cfg" > "$PKG/usr/share/$NAMVER/limine/limine-sample.cfg" cat "$CWD/slack-desc" > "$PKG/install/slack-desc" # Copy useful things directly from the repository folder. cat "$SRC/CONFIG.md" > "$PKG/usr/doc/$NAMVER/CONFIG.md" -cat "$SRC/LICENSE.md" > "$PKG/usr/share/$NAMVER/LICENSE.md" +cat "$SRC/LICENSE" > "$PKG/usr/share/$NAMVER/LICENSE" cat "$SRC/PHILOSOPHY.md" > "$PKG/usr/share/$NAMVER/PHILOSOPHY.md" cat "$SRC/PROTOCOL.md" > "$PKG/usr/share/$NAMVER/PROTOCOL.md" cat "$SRC/README.md" > "$PKG/usr/doc/$NAMVER/repository-README.md" diff --git a/system/limine/limine.info b/system/limine/limine.info index 9ad1d7916e904..7a251e564d7f9 100644 --- a/system/limine/limine.info +++ b/system/limine/limine.info @@ -1,8 +1,8 @@ PRGNAM="limine" -VERSION="4.20230227.0" +VERSION="4.20230503.0" HOMEPAGE="https://limine-bootloader.org/" -DOWNLOAD="https://github.com/limine-bootloader/limine/releases/download/v4.20230227.0/limine-4.20230227.0.tar.gz" -MD5SUM="d16d080ecaca96ccb2fe386aa828425f" +DOWNLOAD="https://github.com/limine-bootloader/limine/releases/download/v4.20230503.0/limine-4.20230503.0.tar.gz" +MD5SUM="daa97e830158bc6cbaefd74bbe9f2438" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |