Add at-spi2-core and at-spi2-atk
[hvlinux.git] / stage2 / pkg / acpid
index afb39ec..f9156b9 100644 (file)
@@ -4,17 +4,7 @@ hvbuild_post()
 {
     install -v -d -m755 /etc/acpi/events
 
-    cat > /etc/acpi/events/button-lid << EOF
-# When the lid is closed, go into suspend to ram
-event=button/lid
-action=/etc/acpi/suspend2ram.sh
-EOF
-
-    cat > /etc/acpi/events/button-power << EOF
-# When the power button is pressed, shutdown the system.
-event=button/power
-action=/etc/acpi/shutdown.sh
-EOF
+    install -v -m644 ${SCRDIR}/misc/acpi/events/* /etc/acpi/events
 
     install -v -m755 ${SCRDIR}/misc/acpi/suspend2ram.sh /etc/acpi
     install -v -m755 ${SCRDIR}/misc/acpi/shutdown.sh    /etc/acpi