My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/rpi-imager/lsblkCheckFix.patch

16 lines
552 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d7fc79..8ce72b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,11 +229,6 @@ else()
if (NOT LSBLK)
message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
endif()
-
- execute_process(COMMAND "${LSBLK}" "--json" 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(