[OE-core] [PATCH v2 5/5] shutdown-desktop: give entire path in Exec field

Burton, Ross ross.burton at intel.com
Thu Jul 4 14:58:46 UTC 2013


On 4 July 2013 11:58, Laurentiu Palcu <laurentiu.palcu at intel.com> wrote:
> +    sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#'

Doing this in postinst is pretty nasty, instead change the desktop
file to contain something like @SBIN@ and run it through sed in
do_install.

Ross



More information about the Openembedded-core mailing list