Files
fabolous005 95954b2d6b Prepare for publication: license, disclaimer, limitations, kernel 7.3.7, polkit action rename
- LICENSE: ebuilds GPL-2.0-only (LICENSE.GPL-2), everything else MIT.
- README: unofficial/no-affiliation and account-risk disclaimer; requirements
  and limitations (NVIDIA/ZFS/r8125 EAC modules not packaged, keys, ESP,
  one tested machine).
- AGENTS.md: the values table is the author's example machine.
- progress: CachyOS's key is on Epic's trusted list (was wrong).
- overlay: kernel 7.3.7_p2 with module cleanup, compat -r3 (polkit action
  de.root64.engler-labs.eac-openrc-compat), pkgcheck fixes.
2026-12-04 09:13:45 +01:00

4.6 KiB

Progress, decisions and open items

Timeline (2026)

  • 11-24..26: first design: EFI-stub boot of the CachyOS kernel with a hand-made initramfs. Dropped: EAC wants a CachyOS-signed boot manager that measures into the TPM (systemd-boot). EFI stub, GRUB, Limine, rEFInd and a self-signed systemd-boot do not pass.
  • 11-26/27: cachyos-eac-kernel-bin written and installed. The first emerge failed in pkg_postinst (depmod -b "${EROOT}"; EROOT is empty under EAPI 8), fixed with "${EROOT:-/}". Secure Boot db rebuilt: the CachyOS wiki's sbctl enroll-keys --append had enrolled every certificate twice (14 -> 7). eac-boot setup 0201, Secure Boot enabled.
  • 11-28: EAC boot works, eac-status passes. Hyprland did not start: on the EAC kernel the iGPU is driven by i915 and becomes card1, the eGPU card0, while AQ_DRM_DEVICES named card0. Fixed with a udev symlink. Early microcode added to the initramfs (Gentoo's dracut defaults to early_microcode=no), which cleared the kernel taint.
  • 12-02: Epic released EAC Linux v2 and Fortnite on Linux (beta).
  • 12-03: EAC service install on OpenRC, one failure at a time:
    1. failed with 127: the setup could not load libsystemd.so.0.
    2. failed with 13: execvp systemd-run failed.
    3. failed with 2: pkexec auth failed. pkttyagent cannot serve it, and hyprpolkitagent crashed on a stale live-ebuild SONAME (hyprtoolkit).
    4. 15:44: install succeeded with sys-apps/eac-openrc-compat; Fortnite reached the lobby and ran creative islands with EAC sessions active.
  • 12-04: review. eac-boot enroll appends only the CA (keys sbctl does not manage survive); every path in eac-boot and eac-status configurable through /etc/eac-boot.conf, modules where kmod looks. eac-run starts the user agent and the root listener per launcher session (polkit rule for the active session) instead of autostart and runlevel. New package games-util/epic-games-launcher-bin from Epic's .deb, wrapped with eac-run.

Decisions

  • Repackage, never rebuild. EAC only trusts signatures from keys on Epic's list; a locally built kernel would carry the user's key. CachyOS's kernel, modules and systemd-boot are installed byte for byte (RESTRICT="mirror strip", no installkernel, no secureboot eclass).
  • Separate firmware entry. CachyOS's systemd-boot lives in EFI/cachyos-eac/ with its own entry at the end of BootOrder; Epic allows a separate boot entry for protected games. The normal boot is unchanged.
  • Keep the user's db key. The normal kernel is signed with it; Epic's rule covers only the keys that verify the protected boot session.
  • dracut for the initramfs: the CachyOS kernel has storage and filesystem drivers as modules.
  • Compatibility layer, not systemd. Only what the setup calls is provided; everything else answers like a non-systemd host, so other software is not misled into thinking systemd runs.
  • systemd-run --user through a session agent. Proton sets no_new_privs, which pkexec refuses. The agent starts commands from the Hyprland session, outside that process tree and in the same elogind session as the polkit agent. An openrc --user service would run in a background session where polkit finds no agent.
  • On demand, not at boot. On systemd the socket listens from boot and costs nothing until a game connects. Here eac-run brackets the launcher: both pieces exist only while it runs. The polkit action lets the active local session start and stop only socket-activate.* services that exist, through one root helper.
  • Launcher from the .deb, not the AppImage. Same binary; the .deb links the system's webkit-gtk 4.1 instead of bundling 120 MB of libraries, has a versioned URL that can go in a Manifest, and installs a desktop file and the com.epicgames.launcher:// handler. Self-update is off; updates come as ebuild bumps. Same approach as AUR's epic-games-launcher-bin.
  • Captured, not redistributed. The EAC setup binary is Epic's; this repository only documents what it calls.

Open items

  • eac-run covers launchers started through it only. A game started without the launcher (Heroic, Lutris) needs eac-run around that program too.
  • Battle Royale matchmaking untested.
  • The layer matches EAC setup 0.1.7; a later setup may call something new.
  • CachyOS's EAC key is on Epic's list of trusted distribution keys (CachyOS developer Peter Jung, heise, 2026-11). Epic supports CachyOS; that the same boot chain is accepted under a Gentoo userland was observed here (12-03), not promised by Epic.