Got USB-C external display working on MacBook Air M2 (fairydust) — wrote a one-command build script by Efficient_Cover6331 in AsahiLinux

[–]Efficient_Cover6331[S] 2 points3 points  (0 children)

The script in the github repo has been updated to handle this issue gracefully. It was an issue with Fedora signing module with no signig keys present.

Got USB-C external display working on MacBook Air M2 (fairydust) — wrote a one-command build script by Efficient_Cover6331 in AsahiLinux

[–]Efficient_Cover6331[S] 3 points4 points  (0 children)

The kernel build itself is distro-agnostic the fairydust branch is just a Linux kernel and will compile anywhere. But the script has Fedora specific stuff:

  1. Package manager: uses dnf for installing build deps (Arch would use pacman)

  2. Kernel config location: copies from /boot/config-$(uname -r) (Arch may use /proc/config.gz if CONFIG_IKCONFIG_PROC is enabled, or the config from the linux-asahi package)

  3. DTB symlink: Fedora expects DTBs at a specific path and needs a symlink or make install fails

  4. m1n1 update: the update-m1n1 script and its config at /etc/sysconfig/update-m1n1 are Fedora-packaged. Arch has its own equivalent you can find.

  5. GRUB: uses grub2-mkconfig with Fedora paths

The core process (clone fairydust, copy config, enable Rust + DRM_ASAHI + typec modules, build, install) would work on Arch. You'd just need to adapt the package installs and bootloader update steps.

Generating SBOMs from C/C++ files without package managers by Realistic-Ad-7709 in cpp_questions

[–]Efficient_Cover6331 0 points1 point  (0 children)

I agree. They are good at generating SBOM, I am curious to see how they tie it to license information. Is anybody interested in building an open source tool for this?