Package Details: limine-mkinitcpio-hook 1.40.0-1

Git Clone URL: https://aur.archlinux.org/limine-mkinitcpio-hook.git (read-only, click to copy)
Package Base: limine-mkinitcpio-hook
Description: Install kernels for the Limine bootloader.
Upstream URL: https://gitlab.com/Zesko/limine-entry-tool
Keywords: boot hook initramfs initrd kernel limine mkinitcpio
Licenses: GPL3
Conflicts: limine-entry-tool
Provides: limine-entry-tool
Submitter: Zesko
Maintainer: Zesko
Last Packager: Zesko
Votes: 17
Popularity: 3.38
First Submitted: 2025-04-11 12:14 (UTC)
Last Updated: 2026-09-27 09:39 (UTC)

Latest Comments

1 2 Next › Last »

Zesko commented on 2026-08-23 14:58 (UTC)

@poptrek This is a known bug in the Arch package gradle 9.7.0. You can either downgrade to 9.6.1 or upgrade to 9.7.1. That should fix the issue.

poptrek commented on 2026-08-23 14:44 (UTC)

Latest Version failing to build

Cannot find module 'gradle-public-api-legacy' in distribution directory '/usr/share/java/gradle'.

Tried reinstalling gradle no luck

Zesko commented on 2026-02-22 08:24 (UTC)

@ryanrhughes

the build option -march=compatibility was already added to the gradle script like 3 weeks ago.

Did that not fix it?

ryanrhughes commented on 2026-02-22 06:20 (UTC)

The current version has started throwing an error on older CPUs. Adding export NATIVE_IMAGE_OPTIONS="-march=compatibility" before the gradle call in the build seems to resolve this.

Kernel stored in /boot/d011433f085544ff88212bd38e983d42/linux/vmlinuz-linux
Initramfs stored in /boot/d011433f085544ff88212bd38e983d42/linux/initramfs-linux
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA, F16C].
Please rebuild the executable with an appropriate setting of the -march option.
Please rebuild the executable with an appropriate setting of the -march option.
error: command failed to execute correctly

Zesko commented on 2026-02-10 12:31 (UTC) (edited on 2026-02-10 12:58 (UTC) by Zesko)

@alwyn The extra makedepends is needed because gradle and GraalVM can build a native binary, which lets us ship a standalone executable without requiring a JRE at runtime. Here are pros:

  • No need for users to install JRE just to run the program.
  • Much better runtime performance.
  • The make dependency is build-time only. After build, you can remove it.
  • No longer depends on JAVA_HOME, avoiding conflicts with other programs.

alwyn commented on 2026-02-10 12:07 (UTC)

Personally I'm not sure how much I like the idea of requiring the installation of an external dependency in my makedepends. Have the pros been considered against the cons for this?

jmp0 commented on 2026-02-03 22:07 (UTC)

Working great now, was able to drop my changes. The self contained make Java is very convenient. Thanks.

Zesko commented on 2026-01-29 21:25 (UTC)

@jmp0

Currently, limine-mkinitcpio-hook-git already uses Gradle and GraalVM25 to build a native image. Feel free to try it out.

Note: GraalVM is not available in the pacman repos, only in AUR. Since makedepends can't depend on AUR packages, GraalVM is bundled in the limine-mkinitcpio-hook-git PKGBUILD.

jmp0 commented on 2026-01-29 20:12 (UTC) (edited on 2026-01-29 20:19 (UTC) by jmp0)

Thanks, I got it working with a PKGBUILD tweak and setting that config. However it seems like limine-snapper-sync's watcher daemon doesn't respect it properly, I had to add a systemd override to update the PATH. I think native images would improve this for both projects!

If Gradle's toolchain feature and the Gradle Wrapper is used, the make requirement could also be reduced to java-runtime>=17 (for latest Gradle).

And something like: optdepends=('jdk21-graalvm-bin: Install system-managed GraalVM JDK for compilation (without: Gradle will resolve a GraalVM JDK)') could also be added for completeness (matching the version configured in Gradle)

https://docs.gradle.org/current/userguide/toolchains.html#sec:provisioning

This way the package will "just work" in more cases than currently, and advanced users can more easily tune their install.