mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-12 18:54:48 +01:00
3a002c5a64
nixos unstable and 24.05 switched to zstd compression for firmware files. Roll back to the previous setup of creating a package of the qcom firmware uncompressed, and patching pd-mapper. closes #14
14 lines
362 B
Diff
14 lines
362 B
Diff
diff --git a/pd-mapper.c b/pd-mapper.c
|
|
index 65c4b80..669d9a0 100644
|
|
--- a/pd-mapper.c
|
|
+++ b/pd-mapper.c
|
|
@@ -194,7 +194,7 @@ static int pd_load_map(const char *file)
|
|
}
|
|
|
|
#ifndef ANDROID
|
|
-#define FIRMWARE_BASE "/lib/firmware/"
|
|
+#define FIRMWARE_BASE "/run/current-system/sw/share/uncompressed-firmware/"
|
|
#else
|
|
#define FIRMWARE_BASE "/vendor/firmware/"
|
|
#endif
|