Spec files for building kernel module for patjak/facetimehd.
WARNING: this is a WIP to get the driver working on an old MacBookAir6,2. These are my first spec files, but they are building are working for me locally. This is provided as is. Contributions and suggestions for improvements welcome.
Build process / TODOs:
- Initially forked from ktdreyer/facetimehd-kmod-rpm
- Update specs:
- Remove rpmfusion
- Update to latest git revs
- Add spec for facetimehd-firmware
- Consolidate facetimehd-firmware into main spec?
- Copr created and builds
- Contribut to ublue (WIP: ublue-os/akmods#163)
- Best practices (Packit, Bohdi, Koji...?)
Package | Build Status |
---|---|
facetimehd | |
facetimehd-kmod | |
facetimehd-firmware |
To install, add the mulderje/facetimehd-kmod COPR and install facetimehd-kmod
via dnf
or rpm-ostree
.
$ sudo wget "https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-$(rpm -E %fedora)/mulderje-facetimehd-kmod-fedora-$(rpm -E %fedora).repo" -O /etc/yum.repos.d/_copr_mulderje-facetimehd-kmod.repo
$ sudo rpm-ostree install facetimehd-kmod facetimehd-firmware
$ git clone https://github.com/mulderje/facetimehd-kmod-rpm.git
$ cd facetimehd-kmod-rpm
$ rpmbuild -ba facetimehd*.spec --define "kernels $(uname -r)" --target $(uname -m)
$ rpmbuild -bs facetimehd*.spec --define "kernels $(uname -r)" --target $(uname -m)
$ mkdir -p /tmp/mockbuild
$ mock --enable-network -r fedora-rawhide-x86_64 --rebuild --resultdir=/tmp/mockbuild/ ~/rpmbuild/SRPMS/facetimehd-*.src.rpm
$ sudo rpm-ostree install ...