From 58203cecf351244e678b86753423fd9517174825 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 30 Jun 2016 11:15:16 +0200 Subject: 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 Acked-by: Max Krummenacher --- recipes-bsp/lvds-ctrl/lvds-ctrl_1.0.bb | 10 +++------- 1 file 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 } -- cgit v1.2.3