about summary refs log tree commit diff
path: root/pkgs/tools/misc/rpi-imager/lsblkCheckFix.patch
blob: aa4fdeecfdb05ecdbff572e5e69e4aa35e2c0706 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170ce7a..063a137 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -332,11 +332,6 @@ else()
         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)
-        if (ret EQUAL "1")
-            message(FATAL_ERROR "util-linux package too old. lsblk does not support --json (used for disk enumeration)")
-        endif()
     endif()

     configure_file(