From 870811ebd64a8dd1a0a2f472f976cd3f43aecb96 Mon Sep 17 00:00:00 2001
From: Jerome Charaoui <jerome@riseup.net>
Date: Mon, 25 Jan 2021 08:59:08 -0500
Subject: [PATCH] sys: remove hwinfo partition backup

It doesn't provide info about partitions present on the disk, plus it
duplicates the full hwinfo output when hardware = yes (default)
---
 handlers/sys.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/handlers/sys.in b/handlers/sys.in
index 79dba2a..671fcd9 100644
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -597,11 +597,6 @@ if [ "$partitions" == "yes" ]; then
          fi
       done
    fi
-   if [ "$dohwinfo" == "yes" ]; then
-      debug "Using $HWINFO to get all available disk information"
-      echo -e "\n\n====================== $disk ======================\n" >>  $hardwarefile
-      $HWINFO --disk >> $hardwarefile
-   fi
 fi
 
 if [ "$luksheaders" == "yes" ]; then
-- 
GitLab