Skip to content

mulderje/facetimehd-kmod-rpm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facetimehd-kmod

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...?)

Copr Build

Package Build Status
facetimehd badge
facetimehd-kmod badge
facetimehd-firmware badge

Using facetimehd-kmod spec files

To install, add the mulderje/facetimehd-kmod COPR and install facetimehd-kmod via dnf or rpm-ostree.

Add copr and install with 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

Building locally

$ 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 ...

About

RPM Kmod Packaging for FacetimeHD (Broadcom 1570) PCIe webcam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published