mactop: 0.1.9 -> 0.2.3 (#370511)
[NixPkgs.git] / pkgs / by-name / rp / rpi-imager / lsblkCheckFix.patch
blobaa4fdeecfdb05ecdbff572e5e69e4aa35e2c0706
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 170ce7a..063a137 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -332,11 +332,6 @@ else()
6 if (NOT LSBLK)
7 message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
8 endif()
10 - execute_process(COMMAND "${LSBLK}" "--json" OUTPUT_QUIET RESULT_VARIABLE ret)
11 - if (ret EQUAL "1")
12 - message(FATAL_ERROR "util-linux package too old. lsblk does not support --json (used for disk enumeration)")
13 - endif()
14 endif()
16 configure_file(