Search Criteria
Package Details: limine-mkinitcpio-hook 1.36.0-1
Package Actions
| 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: | 12 |
| Popularity: | 2.16 |
| First Submitted: | 2025-04-11 12:14 (UTC) |
| Last Updated: | 2026-04-29 07:10 (UTC) |
Dependencies (11)
- bash (bash-gitAUR, bash-devel-gitAUR)
- efibootmgr (efibootmgr-json-gitAUR, efibootmgr-gitAUR)
- grep (grep-gitAUR, grep-compatAUR, uutils-grep-gitAUR, rg-grepAUR)
- limine
- mkinitcpio (mkinitcpio-gitAUR)
- tar (tar-gitAUR, uutils-tar-gitAUR)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- gradle (make)
- journalctl-desktop-notificationAUR (journalctl-desktop-notification-gitAUR, journalctl-desktop-notificationAUR) (optional) – Sends desktop notifications when errors occur
- kernel-modules-hook (kernel-modules-hook-hardlinksAUR, kernel-modules-hook-bindmountAUR) (optional) – Safely keeps kernel on upgrade failure
- sbctl (optional) – Signs UEFI boot files for Secure Boot when enabled
Required by (2)
- limine-snapper-sync (optional)
- limine-snapper-sync-git (optional)
Latest Comments
Zesko commented on 2026-02-22 08:24 (UTC)
@ryanrhughes
the build option
-march=compatibilitywas 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 thebuildseems to resolve this.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:
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.
Zesko commented on 2026-01-29 10:31 (UTC)
@jmp0
The PKGBUILD uses the fixed, stable, tested JDK 21 only for compiling, mainly for non-tech users who might otherwise fail to build due to a wrong or older Java version on their system.
For runtime, you can edit /etc/default/limine and set: JAVA_BIN_PATH="/usr/lib/jvm/<your custom JRE version>/bin"
The tool will run with your custom Java path for system, and should not conflict with any JAVA_HOME set for other apps or development.
I would also consider removing the runtime JRE dependency by using GraalVM 25 to create a native binary that doesn't require any installed JRE.
jmp0 commented on 2026-01-29 04:51 (UTC) (edited on 2026-01-29 04:51 (UTC) by jmp0)
The PKGBUILD hardcodes the Java path, so only some of the Java runtime deps actually work, and custom JAVA_HOME won't work.