https://blue-build.org/ logo
akmods with external copr repo fails
# questions
s
Copy code
[09:35:24 g.i/t/apple-dots:latest] => 11.01 Resolving dependencies...done
[09:35:24 g.i/t/apple-dots:latest] => 11.03 error: Could not depsolve transaction; 1 problem detected:
[09:35:24 g.i/t/apple-dots:latest] => 11.03  Problem: package kernel-uki-virt-6.11.10-300.fc41.x86_64 from updates-archive requires kernel-modules-core-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03   - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03   - cannot install both kernel-modules-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-modules-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03   - cannot install both kernel-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03   - conflicting requests
is that not the same kernel package?
a
message has been deleted
s
Copy code
yml
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: apple-dots
# description will be included in the image's metadata
description: MacBookPro14,2 work maybe???

# the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/aurora-dx
image-version: stable # latest is also supported if you want new updates ASAP

modules:
- type: files
  files:
  - source: system/etc
    destination: /etc
  - source: system/usr
    destination: /usr
  - source: system/lib/firmware # brcmfmac43602-pcie.txt config taken from https://github.com/Dunedan/mbp-2016-linux/issues/47#issuecomment-663926000
    destination: /lib/firmware

- type: rpm-ostree
  repos:
  - https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-%OS_VERSION%/mulderje-facetimehd-kmod-fedora-%OS_VERSION%.repo
  
  install:
  - tiny-dfr
#  - bpftune # oh it isn't available in the repos lol; if i ever feel like it, gotta compile at build
#  - facetimehd-kmod # webcam kernel module
  - mbpfan

- type: akmods
  install:
  - facetimehd # available as an akmod

- type: script
  scripts:
    # pull Wifi/BT firmware sources from arch-t2 mirror
    # using asahi-installer fork to package for use in fedora
    # it's hacky <3
    - apple-bcm-firmware.sh

# - type: initramfs # rebuild initramfs (https://github.com/blue-build/modules/pull/376)
- type: signing # this sets up the proper policy & signing files for signed images to work fully
f
that akmod probably isn't built for latest kernel version, hence the build failure
6.11.11 is the latest kernel version, while that akmod requires 6.11.10 So the only thing you can do is wait for the akmod rebuild to happen with compatible kernel version
s
ohh for next time, where were you able to check what version the akmod requires? thanks!
f
It says it in logs, although a bit unclear. This part of log is clearer:
Copy code
[09:35:24 g.i/t/apple-dots:latest] => 11.03   - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
s
dam missed a zero
thx
hm, wait, since it's being pulled from a repo i supplied anyways, could i make my own repo and have an updated build there?
f
In comments, I see that this repo is recommended instead: https://copr.fedorainfracloud.org/coprs/mulderje/intel-mac-rpms
ublue-os akmods should update the link
s
~~why does the original repo have automatic builds but not the new one 😭 ~~
tyty!
we'll seeeee
f
ublue-os akmods should also update the build actions to use this link, not just readme
s
i'll open a pr and tag mulderje ig
f
I asked ublue to rebuild akmods for 6.11.11 kernel
s
seems like that repo's builds also require the same version, so i won't for now
wait but
i actually want it for 6.11.3 don't i
since it's aurora-dx:stable
6.11.3-300.fc41.x86_64
hm when trying to install it in the rpm-ostree module:
Copy code
l/apple-dots:latest => #24 17.02 Building /usr/src/akmods/facetimehd-kmod-0.6.8.1-1.20240319git0.6.8.1.fc41.src.rpm for kernel 6.11.3-300.fc41.x86_64
l/apple-dots:latest => #24 17.03 ERROR: Not to be used as root; start as user or 'akmodsbuild' instead.
which doesn't fail the build anymore?