Hi,

Thanks again for your help.

Finally, instead of hard-coding a list of architectures supporting ACPI,
someone on debian-devel suggested to test for ACPI support at build
time, and I like this idea a lot.

Can you please tell me what's the value of "CONFIG_ARCH_SUPPORTS_ACPI"
on an architecture which doens't support ACPI ? For example, please grep
CONFIG_ARCH_SUPPORTS_ACPI in
/lib/modules/<version>-<arch>/build/.config.

For the moment, my solution consist of adding this snippet at the end of
the DKMS config file:

# On architectures which don't support ACPI, disable building
if ! grep -q "^CONFIG_ARCH_SUPPORTS_ACPI=y$" "$kernel_source_dir/.config" 
2>/dev/null ; then
  BUILD_EXCLUSIVE_ARCH="^do_not_build$"
fi

I'd just like to test it on an unsupported architecture before uploading
the new package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830040

Title:
  acpi-call 1.1.0-4 ADT test failure with linux 5.2.0-0.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-call/+bug/1830040/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to