site  contact  subhomenews

Limine 3.12 compiled in OE

July 15, 2022 — BarryK

The Limine bootloader project is jumping forward in leaps and bounds! Here are earlier posts to this blog:

Here are a couple of discussions just prior to release of 3.12:

https://github.com/limine-bootloader/limine/issues/197

https://github.com/limine-bootloader/limine/issues/196

In response to issue #196, mintsuki has created a new executable, 'limine-version', that just returns the version of Limine.

In response to #197, mintsuki has added "--undeploy" commandline option to the 'limine-deploy' executable. This will remove Limine from the mbr to which it was installed, and restore the mbr to how it was prior. With some caveats.

Both of these are great new features, and will be incorporated into the "Limine Installer".

Here is the recipe in OpenEmbedded, to compile Limine 3.12:

# Recipe created by recipetool
# recipetool create -o limine_3.12.bb https://github.com/limine-bootloader/limine/releases/download/v3.12/limine-3.12.tar.gz

SUMMARY = "x86/x86_64 BIOS/UEFI bootloader"
HOMEPAGE = "https://limine-bootloader.org/"

LICENSE = "UCB & GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=566da3e4be60cd868e42cb88c9c0ddd3 \
file://stivale/LICENSE.md;md5=21e2e2557201f26b907e5694c9e179b9 \
file://libgcc-binaries/COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
file://libgcc-binaries/COPYING;md5=64305ff51f34d0aca60d187e21a09d59 \
file://libgcc-binaries/COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
file://freestanding-headers/LICENSE.md;md5=9621911223dde43748ad798e3804a3ed \
file://limine-efi/COPYING;md5=c27a4b4a954b36c8afddf7587fd749be \
file://cross-detect/LICENSE.md;md5=9621911223dde43748ad798e3804a3ed"

SRC_URI = "https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.gz \
file://remove-ext4-encrypt-warning.patch"

SRC_URI[md5sum] = "6f5c53cedf76379aa75ec0012112f465"
SRC_URI[sha256sum] = "39b8b7c809a0eab07b65c26667d20ca2225ee054452504bae7d836409a17d6d7"

inherit autotools

DEPENDS = "mtools-native nasm-native coreutils-native"

# ref: https://github.com/limine-bootloader/limine/issues/193
export CROSS_TOOLCHAIN="${TARGET_SYS}"

EXTRA_OECONF = "--enable-all"

Exciting stuff. The days are not long enough for me.      

Tags: easy