acpid: convert to INC_PR
PATCH 1/1 acpid: convert to INC_PR
Signed-off-by Roman I Khimov <[email protected]>
--- recipes/acpid/acpid.inc | 2 ++ recipes/acpid/acpid_1.0.10.bb | 2 +- recipes/acpid/acpid_1.0.2.bb | 2 +- recipes/acpid/acpid_1.0.3.bb | 3 +-- recipes/acpid/acpid_1.0.4.bb | 3 +-- recipes/acpid/acpid_1.0.6.bb | 3 +-- recipes/acpid/acpid_1.0.8.bb | 2 +- 7 files changed, 8 insertions(+), 9 deletions(-)
recipes/acpid/acpid.inc +2 -0
@@ -2,6 +2,8 @@ SECTION = "base" DESCRIPTION = "A daemon for delivering ACPI events." LICENSE="GPL" +INC_PR = "r4" + SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \ file://init"
recipes/acpid/acpid_1.0.10.bb +1 -1
@@ -4,4 +4,4 @@ SRC_URI_append = " file://event.c.diff;patch=1 \ file://netlink.diff;patch=1 \ file://gcc44.diff;patch=1 \ " - +PR = "${INC_PR}.0"
recipes/acpid/acpid_1.0.2.bb +1 -1
@@ -1,3 +1,3 @@ require acpid.inc -PR = "r2" +PR = "${INC_PR}.0"
recipes/acpid/acpid_1.0.3.bb +1 -2
@@ -1,4 +1,3 @@ require acpid.inc SRC_URI += "file://gcc40.patch;patch=1" -PR = "r2" - +PR = "${INC_PR}.0"
recipes/acpid/acpid_1.0.4.bb +1 -2
@@ -1,4 +1,3 @@ require acpid.inc SRC_URI += "file://gcc40.patch;patch=1" -PR = "r3" - +PR = "${INC_PR}.0"
recipes/acpid/acpid_1.0.6.bb +1 -2
@@ -1,3 +1,2 @@ require acpid.inc - -PR = "r4" +PR = "${INC_PR}.0"
recipes/acpid/acpid_1.0.8.bb +1 -1
@@ -3,4 +3,4 @@ require acpid.inc SRC_URI_append = " file://event.c.diff;patch=1 \ file://fixfd.diff;patch=1 \ file://netlink.diff;patch=1" - +PR = "${INC_PR}.0"
Signature · 1 line
1.5.6.5
PATCH 1/1 acpid: add script to halt on power button press
Signed-off-by Roman I Khimov <[email protected]>
--- recipes/acpid/acpid.inc | 5 ++++- recipes/acpid/files/powerbtn-acpi-support | 2 ++ 2 files changed, 6 insertions(+), 1 deletions(-) create mode 100644 recipes/acpid/files/powerbtn-acpi-support
recipes/acpid/acpid.inc +4 -1
@@ -5,7 +5,8 @@ LICENSE="GPL" INC_PR = "r4" SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \ - file://init" + file://init \ + file://powerbtn-acpi-support" inherit update-rc.d
@@ -23,4 +24,6 @@ do_install () { install -d ${D}${sysconfdir}/init.d cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid chmod 755 ${D}${sysconfdir}/init.d/acpid + install -d ${D}${sysconfdir}/acpi/events + install -m 0644 ${WORKDIR}/powerbtn-acpi-support ${D}${sysconfdir}/acpi/events/ }
recipes/acpid/files/powerbtn-acpi-support new file +2 -0
@@ -0,0 +1,2 @@ +event=button[ /]power +action=halt
Signature · 1 line
1.5.6.5