debian/rules: use /usr/share/dpkg/pkg-info.mk for identifying version number
[grml-hwinfo.git] / grml-hwinfo
index eeabf61..0070f83 100755 (executable)
@@ -219,6 +219,9 @@ cd "${OUTDIR}" || exit 1
   exectest x86info  && x86info > ./x86info 2>./x86info.error
   exectest lscpu    && lscpu > ./lscpu
 
+  # EFI
+  exectest efibootmgr && efibootmgr -v > efibootmgr
+
   # net stuff, net-tools:
   exectest ifconfig && ifconfig -v -a > ./ifconfig
   exectest route    && route -n       > ./route
@@ -229,7 +232,7 @@ cd "${OUTDIR}" || exit 1
   exectest ip && ip link show      > ip_link
   exectest ip && ip maddr show     > ip_maddr
   exectest ip && ip mroute show    > ip_mroute
-  exectest ip && ip mrule show     > ip_mrule
+  exectest ip && ip mrule show     > ip_mrule 2>ip_mrule.error
   exectest ip && ip neigh show     > ip_neigh
   exectest ip && ip netns list     > ip_netns
   exectest ip && ip ntable show    > ip_ntable
@@ -255,7 +258,11 @@ cd "${OUTDIR}" || exit 1
     cat /proc/acpi/info > acpi_info
   fi
 
-  exectest acpi && acpi > ./acpi 2>acpi.error && acpi -v > ./acpi.version
+  if exectest acpi ; then
+    acpi > ./acpi 2>acpi.error
+    acpi --everything > ./acpi.everything 2>./acpi.everything.error
+    acpi -v > ./acpi.version
+  fi
   [ -r /proc/apm/ ] && apm > ./apm
 
   if exectest mcelog ; then