summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-05-06 14:17:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 13:00:33 +0100
commit4dd22fe1a01684403249bfd42b7c06f89923c15a (patch)
treeb1f883acca5a0242d0e8cb6726ca1aa3817e513b /meta/recipes-bsp
parent8de568a569413e185030669e7052ebe31b94bd19 (diff)
downloadpoky-4dd22fe1a01684403249bfd42b7c06f89923c15a.tar.gz
apmd: avoid pipe with sed
Replace: cat <file> | sed -e xxx By: sed -e xxx <file> (From OE-Core rev: 3bfaea36a4484f1db0340cd67f7783ccec23c738) 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/apmd/apmd_3.2.2-14.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index 8c4b75eb6d..ab7de65cf0 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -65,7 +65,7 @@ do_install() {
65 oe_libinstall -so libapm ${D}${libdir} 65 oe_libinstall -so libapm ${D}${libdir}
66 install -m 0644 apm.h ${D}${includedir} 66 install -m 0644 apm.h ${D}${includedir}
67 67
68 cat ${WORKDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}${sysconfdir}/init.d/apmd 68 sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/apmd
69 chmod 755 ${D}${sysconfdir}/init.d/apmd 69 chmod 755 ${D}${sysconfdir}/init.d/apmd
70 70
71 install -d ${D}${systemd_unitdir}/system 71 install -d ${D}${systemd_unitdir}/system