summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-05-06 14:17:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 13:00:33 +0100
commit8de568a569413e185030669e7052ebe31b94bd19 (patch)
treef6afe5a3373a1617f1f8c4ca81b1465bfebf94ca /meta/recipes-bsp
parent77790c43b1bfdb0ca9e43ca3878d9153962e47f2 (diff)
downloadpoky-8de568a569413e185030669e7052ebe31b94bd19.tar.gz
acpid: avoid pipe with sed
Replace: cat <file> | sed -e xxx By: sed -e xxx <file> (From OE-Core rev: 49345d83f280da13b7993971a336c6176587961d) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/acpid/acpid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc
index 89cb73fc7f..fad7afdf26 100644
--- a/meta/recipes-bsp/acpid/acpid.inc
+++ b/meta/recipes-bsp/acpid/acpid.inc
@@ -25,7 +25,7 @@ do_install () {
25 install -d ${D}${bindir} 25 install -d ${D}${bindir}
26 oe_runmake 'INSTPREFIX=${D}' install 26 oe_runmake 'INSTPREFIX=${D}' install
27 install -d ${D}${sysconfdir}/init.d 27 install -d ${D}${sysconfdir}/init.d
28 cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid 28 sed -e 's,/usr/sbin,${sbindir},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/acpid
29 chmod 755 ${D}${sysconfdir}/init.d/acpid 29 chmod 755 ${D}${sysconfdir}/init.d/acpid
30 30
31 install -d ${D}${sysconfdir}/acpi 31 install -d ${D}${sysconfdir}/acpi