nixpkgs/pkgs/by-name/rp/rpi-imager/lsblkCheckFix.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
564 B
Diff
Raw Normal View History

2021-01-18 11:00:17 +00:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170ce7a..063a137 100644
2021-01-18 11:00:17 +00:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -332,11 +332,6 @@ else()
2021-01-18 11:00:17 +00:00
if (NOT LSBLK)
message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
endif()
-
- execute_process(COMMAND "${LSBLK}" "--json" OUTPUT_QUIET RESULT_VARIABLE ret)
2021-01-18 11:00:17 +00:00
- if (ret EQUAL "1")
- message(FATAL_ERROR "util-linux package too old. lsblk does not support --json (used for disk enumeration)")
- endif()
endif()
2021-01-18 11:00:17 +00:00
configure_file(