Package: acpid
Severity: wishlist
Tags: patch
Hello,
The attached patch from Matthew Garrett is used to load extra modules in
the Ubuntu system. If you were to apply it in Debian there would be less
divergence.
I realise that you may not wish to have Ubuntu specific changes in the
Debian package, but there are no behaviour changes on Debian. Please
consider applying it.
Thanks,
James
--
James Westby -- GPG Key ID: B577FE13 -- http://jameswestby.net/
seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
Index: acpid-1.0.6/debian/acpid.init.d
===================================================================
--- acpid-1.0.6.orig/debian/acpid.init.d 2007-11-02 21:02:53.000000000 +0000
+++ acpid-1.0.6/debian/acpid.init.d 2007-11-02 21:07:31.000000000 +0000
@@ -43,12 +43,17 @@
# Get list of available modules
LOC="/lib/modules/`uname -r`/kernel/drivers/acpi"
+ LOC2="/lib/modules/`uname -r`/ubuntu/drivers/acpi"
if [ -d $LOC ]; then
MODAVAIL=`( find $LOC -type f -name "*.o" -printf "basename %f .o\n"; \
find $LOC -type f -name "*.ko" -printf "basename %f .ko\n" ) | /bin/sh`
else
MODAVAIL=""
fi
+ if [ -d $LOC2 ]; then
+ MODAVAIL="$MODAVAIL `( find $LOC2 -type f -name "*.o" -printf "basename %f .o\n"; \
+ find $LOC2 -type f -name "*.ko" -printf "basename %f .ko\n" ) | /bin/sh`"
+ fi
if [ "$MODULES" = "all" ]; then
MODULES="$MODAVAIL"