[OpenWrt-Devel] [PATCH rebased] x86: add kmod-acpi-button and kmod-button-hotplug to default packages

Stefan Hellermann stefan at the2masters.de
Tue Jul 14 07:04:47 EDT 2015

Since r40909 openwrt can automatically shutdown when you press the
power button or try to shutdown a kvm virtual machine.
When booting a recent CC-rc2 or trunk image, it doesn't work,
as two kernel modules are missing.

Add these two kernel modules to the default packages, so users
don't need to install them manually.

Signed-off-by: Stefan Hellermann <stefan at the2masters.de>
 target/linux/x86/64/target.mk        | 2 +-
 target/linux/x86/kvm_guest/target.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/x86/64/target.mk b/target/linux/x86/64/target.mk
index 1f22eb3..9cf1671 100644
--- a/target/linux/x86/64/target.mk
+++ b/target/linux/x86/64/target.mk
@@ -1,6 +1,6 @@
-DEFAULT_PACKAGES += kmod-e1000e kmod-e1000 kmod-r8169
+DEFAULT_PACKAGES += kmod-acpi-button kmod-button-hotplug kmod-e1000e kmod-e1000 kmod-r8169
 MAINTAINER:=Imre Kaloz <kaloz at openwrt.org>
diff --git a/target/linux/x86/kvm_guest/target.mk b/target/linux/x86/kvm_guest/target.mk
index 4bdfbc6..6194778 100644
--- a/target/linux/x86/kvm_guest/target.mk
+++ b/target/linux/x86/kvm_guest/target.mk
@@ -1,4 +1,4 @@
 FEATURES:=ext4 pci usb
-DEFAULT_PACKAGES += kmod-virtio-balloon kmod-virtio-net kmod-virtio-random
+DEFAULT_PACKAGES += kmod-acpi-button kmod-button-hotplug kmod-virtio-balloon kmod-virtio-net kmod-virtio-random
 CPU_TYPE := pentium4
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list