aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-14 16:24:02 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-14 16:24:02 +0000
commit38b8382bffe6baea5b7efcd38b792054ea7c1a4b (patch)
tree478034550c6d9bf8fa74f491159c3cbe0c0ddbe0
parent7fa6d4c0932b804146478b61c86e5b28da7b6969 (diff)
downloadmaster-187ad058-38b8382bffe6baea5b7efcd38b792054ea7c1a4b.tar.gz
master-187ad058-38b8382bffe6baea5b7efcd38b792054ea7c1a4b.tar.bz2
master-187ad058-38b8382bffe6baea5b7efcd38b792054ea7c1a4b.zip
x86: add kmod-acpi-button and kmod-button-hotplug to default packages
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@the2masters.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46366 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/x86/64/target.mk2
-rw-r--r--target/linux/x86/kvm_guest/target.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/x86/64/target.mk b/target/linux/x86/64/target.mk
index 1f22eb3934..9cf1671206 100644
--- a/target/linux/x86/64/target.mk
+++ b/target/linux/x86/64/target.mk
@@ -1,6 +1,6 @@
ARCH:=x86_64
BOARDNAME:=x86_64
-DEFAULT_PACKAGES += kmod-e1000e kmod-e1000 kmod-r8169
+DEFAULT_PACKAGES += kmod-acpi-button kmod-button-hotplug kmod-e1000e kmod-e1000 kmod-r8169
ARCH_PACKAGES:=x86_64
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
diff --git a/target/linux/x86/kvm_guest/target.mk b/target/linux/x86/kvm_guest/target.mk
index 4bdfbc63b2..6194778653 100644
--- a/target/linux/x86/kvm_guest/target.mk
+++ b/target/linux/x86/kvm_guest/target.mk
@@ -1,4 +1,4 @@
BOARDNAME:=KVM Guest
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