Source: librem-ec-acpi
Version: 0.9.1-2
Severity: important
Tags: patch

Hi,

please enable Testsuite: autopkgtest-pkg-dkms s.t. building the kernel
module gets tested automatically whenever a new kernel version gets
uploaded.
The attached patch also disables building the module for kernels without
CONFIG_HWMON.

BTW, the Vcs-Git/Vcs-Browser URL return 404, the packaging repository was
probably never created and populated.

Andreas
diff -Nru librem-ec-acpi-0.9.1/debian/changelog 
librem-ec-acpi-0.9.1/debian/changelog
--- librem-ec-acpi-0.9.1/debian/changelog       2021-08-25 13:48:51.000000000 
+0200
+++ librem-ec-acpi-0.9.1/debian/changelog       2023-02-01 13:35:58.000000000 
+0100
@@ -1,3 +1,10 @@
+librem-ec-acpi (0.9.1-3) UNRELEASED; urgency=medium
+
+  * Declare Testsuite: autopkgtest-pkg-dkms.
+  * Do not build the module for kernels without CONFIG_HWMON.
+
+ -- Andreas Beckmann <a...@debian.org>  Wed, 01 Feb 2023 13:35:58 +0100
+
 librem-ec-acpi (0.9.1-2) unstable; urgency=medium
 
   * declare compliance with Debian Policy 4.6.0
diff -Nru librem-ec-acpi-0.9.1/debian/control 
librem-ec-acpi-0.9.1/debian/control
--- librem-ec-acpi-0.9.1/debian/control 2021-08-25 13:47:58.000000000 +0200
+++ librem-ec-acpi-0.9.1/debian/control 2023-02-01 13:35:36.000000000 +0100
@@ -10,6 +10,7 @@
 Vcs-Git: https://salsa.debian.org/debian/librem-ec-acpi-dkms.git
 Vcs-Browser: https://salsa.debian.org/debian/librem-ec-acpi-dkms
 Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-dkms
 
 Package: librem-ec-acpi-dkms
 Architecture: all
diff -Nru librem-ec-acpi-0.9.1/debian/librem-ec-acpi-dkms.dkms 
librem-ec-acpi-0.9.1/debian/librem-ec-acpi-dkms.dkms
--- librem-ec-acpi-0.9.1/debian/librem-ec-acpi-dkms.dkms        2021-04-06 
10:20:58.000000000 +0200
+++ librem-ec-acpi-0.9.1/debian/librem-ec-acpi-dkms.dkms        2023-02-01 
13:35:58.000000000 +0100
@@ -1,5 +1,6 @@
 PACKAGE_NAME="librem_ec_acpi"
 PACKAGE_VERSION="#MODULE_VERSION#"
+BUILD_EXCLUSIVE_CONFIG="CONFIG_HWMON"
 BUILT_MODULE_NAME[0]="librem_ec_acpi"
 DEST_MODULE_LOCATION[0]="/updates/dkms"
 AUTOINSTALL="yes"

Reply via email to