I made a mistake since this patch should go before " [PATCH] Update sd card 
partition mount location". I can resubmit the patches to properly show the 
dependencies if someone wants me to.

> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Thursday, January 30, 2014 6:13 PM
> To: [email protected]
> Cc: Cooper Jr., Franklin
> Subject: [PATCH] ts-calibrate: Always export TSLIB_CALIBFILE env variable
> 
> * Previously TSLIB_CALIBFILE env variable was only being exported if the mmc
>   partition was mounted.
> * Move the export statement outside of the if statement to insure that this
>   important variable is always exported.
> 
> Signed-off-by: Franklin S. Cooper Jr <[email protected]>
> ---
>  .../recipes-graphics/tslib/ts-calibrate-init/init  |    3 ++-
>  .../tslib/ts-calibrate-init_1.0.bb                 |    2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init/init 
> b/meta-
> arago-extras/recipes-graphics/tslib/ts-calibrate-init/init
> index 5d5c0aa..ab19da3 100644
> --- a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init/init
> +++ b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init/init
> @@ -31,9 +31,10 @@ mount | grep /media/mmcblk0p1 | grep vfat >
> /dev/null 2>&1  if [ "$?" = "0" ]  then
>      tsfile=/media/mmcblk0p1/pointercal
> -    export TSLIB_CALIBFILE=$tsfile
>  fi
> 
> +export TSLIB_CALIBFILE=$tsfile
> +
>  if [ ! -f $tsfile ] ; then
>      echo -n "Calibrating touchscreen (first time only)"
>      ts_calibrate
> diff --git a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb
> b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb
> index dde5c42..0915941 100644
> --- a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb
> +++ b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb
> @@ -6,7 +6,7 @@ RDEPENDS_${PN} += "tslib"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM =
> "file://init;beginline=2;endline=11;md5=4b2e3b15f01cf63d2cb7988afdcc6c60
> "
> 
> -PR = "r2"
> +PR = "r3"
> 
>  S = "${WORKDIR}"
> 
> --
> 1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to