mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
fwupd: fix seal check rejecting files on tmpfs
Backport the upstream fix, to be removed when updating to 2.1.7.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
unstableGitUpdater,
|
||||
|
||||
# fwupd
|
||||
fetchpatch2,
|
||||
pkg-config,
|
||||
pkgsBuildBuild,
|
||||
|
||||
@@ -147,6 +148,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./0001-Install-fwupdplugin-to-out.patch
|
||||
./0002-Add-output-for-installed-tests.patch
|
||||
./0003-Add-option-for-installation-sysconfdir.patch
|
||||
|
||||
# The memfd seal check added in 2.1.6 rejects any file on tmpfs, since
|
||||
# F_GET_SEALS also works on tmpfs files on recent kernels.
|
||||
# Remove when updating to 2.1.7.
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/fwupd/fwupd/commit/c2ff6e0bf9e3fea5b8502ed12fdc9ab604a51518.patch";
|
||||
hash = "sha256-Y8YbECfUGqvpNTlKCLOXgRSIZYO+MsZYIMcMgIQfkIs=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user