site  contact  subhomenews

rEFInd compiled in OE

June 19, 2022 — BarryK

EasyOS has rEFInd version 0.12.0, that was released in 2020. It required a patch to properly support ext4, as I posted about:

Lots of commits to the project since then, including a fix for ext4, latest version is Here is the project page:

So, I have compiled the latest in OpenEmbedded. The new recipe is meta-quirky/recipes-quirky/refind/

# Recipe created by recipetool
# recipetool create -o

SUMMARY = "EFI boot manager software"

LIC_FILES_CHKSUM = "file://COPYING.txt;md5=d32239bcb673463ab874e80d47fae504 \

SRC_URI = "${PV}/refind-src-${PV}.tar.gz"

SRC_URI[md5sum] = "0463c04675bc8f312d7fa83c41959a42"
SRC_URI[sha256sum] = "7a3e3f0f81bd4ae95f24e120f44e01319231f488fef7cc8bf03a1aea23c6cfd1"

DEPENDS = "gnu-efi"

do_configure () {

do_compile () {
#oe_runmake all_gnuefi
oe_runmake gnuefi
cd filesystems
oe_runmake ext2_gnuefi
oe_runmake ext4_gnuefi
oe_runmake iso9660_gnuefi
oe_runmake btrfs_gnuefi
oe_runmake ntfs_gnuefi
cd ..

do_install () {
install -d ${D}/usr/share/refind/drivers_x64
install -m644 filesystems/ext2_x64.efi ${D}/usr/share/refind/drivers_x64
install -m644 filesystems/ext4_x64.efi ${D}/usr/share/refind/drivers_x64
install -m644 filesystems/iso9660_x64.efi ${D}/usr/share/refind/drivers_x64
install -m644 filesystems/btrfs_x64.efi ${D}/usr/share/refind/drivers_x64
install -m644 filesystems/ntfs_x64.efi ${D}/usr/share/refind/drivers_x64
install -m644 refind/refind_x64.efi ${D}/usr/share/refind
install -m644 gptsync/gptsync_x64.efi ${D}/usr/share/refind

As I have come to expect, the 'recipetool' utility only creates a basic skeleton recipe, and those compile and install steps were created by me, based on past experience with compiling refind.

I am interested to read what new features are available for the 'refind.conf' file:    

Tags: easy