summaryrefslogtreecommitdiff
path: root/recipes-bsp/lvds-ctrl
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-30 11:15:16 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-30 13:53:09 +0200
commitfe38fa6bc2c088b70c79dbb41e043d7b321ec91a (patch)
treeabdd6b0b5f5fd5a2b9c42dd2c72a9433b7442dd1 /recipes-bsp/lvds-ctrl
parent93109e9c51f96e10eb105f1785c924c112e17274 (diff)
lvds-ctrl: fix pkg_postrm
Fix pkg_postrm by renaming from previous erroneous pkg_postremove and remove /${bindir}/ which would need escaping. And while at it replace Apalis-T30 in summary with Apalis T30 and get rid of PR and empty do_compile. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/lvds-ctrl')
-rw-r--r--recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb b/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb
index 197914e..fdef5fa 100644
--- a/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb
+++ b/recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb
@@ -1,6 +1,5 @@
-SUMMARY = "Scripts to enable the LVDS converter on Apalis-T30"
+SUMMARY = "Scripts to enable the LVDS converter on Apalis T30"
LICENSE = "PD"
-PR = "r2"
SRC_URI = " \
file://lvds-dual-channel.sh \
@@ -10,9 +9,6 @@ SRC_URI = " \
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING;md5=1c3a7fb45253c11c74434676d84fe7dd"
-do_compile () {
-}
-
do_install () {
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/*.sh ${D}/${bindir}
@@ -23,6 +19,6 @@ pkg_postinst_${PN}() {
echo "${bindir}/lvds-dual-channel.sh" >> ${sysconfdir}/xdg/lxsession/LXDE/autostart
}
-pkg_postremove_${PN}() {
- sed -i /${bindir}/lvds-dual-channel.sh/d ${sysconfdir}/xdg/lxsession/LXDE/autostart || true
+pkg_postrm_${PN}() {
+ sed -i lvds-dual-channel.sh/d ${sysconfdir}/xdg/lxsession/LXDE/autostart || true
}