libmbim: backport Intel mutual authentication and intel tools patches
These patches are merged into 1.30, and were backported to at least openSUSE, Fedora and ChromeOS. They're used to FCC unlock various wwan modems.
This commit is contained in:
parent
927fef8e5d
commit
4ec3ee592e
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
|
@ -31,6 +32,24 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-aaYjvJ2OMTzkUyqWCyHdmsKJ3VGqBmKQzb1DWK/1cPU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Intel Mutual Authentication - FCC lock. Part of 1.30, backported to
|
||||
# openSUSE and Fedora and ChromeOS.
|
||||
# https://src.fedoraproject.org/rpms/libmbim/blob/rawhide/f/libmbim.spec
|
||||
(fetchpatch {
|
||||
url = "https://cgit.freedesktop.org/libmbim/libmbim/patch/?id=910db9cb2b6fde303d3b4720890cf6dc6fc00880";
|
||||
hash = "sha256-412sXdWb8WsSexe1scI/C57dwENgNWoREGO1GxSF4hs=";
|
||||
})
|
||||
|
||||
# Intel Tools. Allows tracing various commands. Part of 1.30, backported to
|
||||
# openSUSE, Fedora and ChromeOS.
|
||||
# https://src.fedoraproject.org/rpms/libmbim/blob/rawhide/f/libmbim.spec
|
||||
(fetchpatch {
|
||||
url = "https://cgit.freedesktop.org/libmbim/libmbim/patch/?id=8a6dec6ed11931601e605c9537da9904b3be5bc0";
|
||||
hash = "sha256-tU4zkUl5aZJE+g/qbnWprUHe/PmZvqVKB9qecSaUBhk=";
|
||||
})
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dudevdir=${placeholder "out"}/lib/udev"
|
||||
(lib.mesonBool "introspection" withIntrospection)
|
||||
|
|
Loading…
Reference in a new issue