Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909375

Summary: sys-kernel/booster-0.10 - fast and secure initramfs generator
Product: Gentoo Linux Reporter: rogerroger <me>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://github.com/anatol/booster
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to get booster working under Gentoo
Change consolefontsDir to correct path on Gentoo
Working booster ebuild

Description rogerroger 2023-06-29 11:23:48 UTC
Booster advantages:

- Fast image build time and fast boot time.
- Out-of-box support for full disk encryption setup.
- Clevis style data binding. The encrypted filesystem can be bound to TPM2
  chip or to a network service. This helps to unlock the drive automatically
  but only if the TPM2/network service presents.
- Systemd-cryptenroll type of binding. Booster is able to detect and unlock 
  systemd-fido2 and systemd-tpm2 style partitions.
- Supports autodiscoverable root partition
- Easy to configure.
- Automatic host configuration discovery. This helps to create minimalistic 
  images specific for the current host.



Reproducible: Always
Comment 1 rogerroger 2023-06-29 11:27:07 UTC
Created attachment 864812 [details, diff]
patch to get booster working under Gentoo

As Gentoo doesn't have /usr/lib symlinked to /usr/lib64 it is possible for booster to pick wrong libraries and produce a non functioning initramfs.

See https://github.com/anatol/booster/issues/220
Comment 2 rogerroger 2023-06-29 11:28:29 UTC
Created attachment 864813 [details, diff]
Change consolefontsDir to correct path on Gentoo
Comment 3 rogerroger 2023-06-29 11:33:18 UTC
Created attachment 864814 [details]
Working booster ebuild

I tried my best to get a working ebuild for booster. It's the first ebuild I wrote so probably needs a few changes. Mostly tried to convert the pkgbuild for Archlinux (https://gitlab.archlinux.org/archlinux/packaging/packages/booster/-/blob/main/PKGBUILD) to Gentoo's ebuild syntax.