Releases: TheGreatMcPain/buildkernel-dracut
It's been a while.
This release adds a couple new config options and a bug fix. See buildkernel.conf for more details.
- Different compression algorithms for the initramfs. (via COMPRESSINITRAMFS_TYPE)
- Allow building the kernel with Clang and/or LTO. (via USE_CLANG and CLANG_LTO)
- Prevent dracut from adding early microcode to initramfs fixing an issue where the
unpack_initramfs_dracut
would fail if the early microcode wasn't added. (The early microcode would get discarded anyway.)
(This release has been re-released to address Issue #1)
Pre-release 2: Electric Boogaloo
This version changes a far amount from the previous pre-release, which
include.
-
Changed all references of genkernel to dracut in documentation.
-
Removed unused genkernel code from script.
-
Decided to let the script create the entire kernel cmdline instead of
letting dracut handle it via--hostonly
. -
The script will also automatically add
rootflags
to the kernel cmdline,
because I primarily use btrfs with/
being in a seperate subvolume. -
Removed the need to install staticgpg since I haven't ran into issues with
dracut'scrypt-gpg
module yet.
Initial attempt to replace genkernel with dracut.
This is by no means a stable release, but it works at least from my initial testing from my current setup.
A few things to note though.
-
A fair amount of code in the script is now unused because I'm using dracut's
--host-only
to generate the necessary kernel commands for mounting the
root device, so the only extra commands I add to the kernel cmdline is
rd.luks.key="the luks-key.gpg location":UUID="keyfile's partition uuid"
,
andquiet splash
to get plymouth working. -
The manpages have not been updated.