Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909375 - sys-kernel/booster-0.10 - fast and secure initramfs generator
Summary: sys-kernel/booster-0.10 - fast and secure initramfs generator
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement
Assignee: Default Assignee for New Packages
URL: https://github.com/anatol/booster
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-29 11:23 UTC by rogerroger
Modified: 2023-06-29 15:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to get booster working under Gentoo (booster-fix-lib-path.patch,939 bytes, patch)
2023-06-29 11:27 UTC, rogerroger
Details | Diff
Change consolefontsDir to correct path on Gentoo (booster-fix-console-font-path.patch,524 bytes, patch)
2023-06-29 11:28 UTC, rogerroger
Details | Diff
Working booster ebuild (booster-0.10.ebuild,1.15 KB, text/plain)
2023-06-29 11:33 UTC, rogerroger
Details

Note You need to log in before you can comment on or make changes to this bug.
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.