Another patch should be sent soon that is tweaking mount.sh that this patch 
depends on.

> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Thursday, January 30, 2014 5:53 PM
> To: [email protected]
> Cc: Cooper Jr., Franklin
> Subject: [PATCH] Update sd card partition mount location
> 
> * The location where the mmc partitions will be mounted has changed from
> /media/
>    to /run/media/ (/var/run/media).
> * Update the various scripts that care about the location of the mmc 
> partitions
>   that are mounted in /media.
> 
> Signed-off-by: Franklin S. Cooper Jr <[email protected]>
> ---
>  .../recipes-tisdk/parse-ip/parse-ip.bb             |    2 +-
>  .../recipes-tisdk/parse-ip/parse-ip/init           |    4 ++--
>  .../recipes-graphics/tslib/ts-calibrate-init/init  |    4 ++--
>  .../tslib/ts-calibrate-init_1.0.bb                 |    2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb 
> b/meta-arago-
> distro/recipes-tisdk/parse-ip/parse-ip.bb
> index cf3ad89..f20db31 100644
> --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> @@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
> 
>  SRC_URI = "file://init"
> 
> -PR = "r1"
> +PR = "r2"
> 
>  S = "${WORKDIR}"
> 
> diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init 
> b/meta-arago-
> distro/recipes-tisdk/parse-ip/parse-ip/init
> index 0020ea2..4050efb 100644
> --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> @@ -32,9 +32,9 @@
> 
>  case "$1" in
>      start )
> -        if [ -e /media/mmcblk0p1 ]
> +        if [ -e /run/media/mmcblk0p1 ]
>          then
> -            echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut 
> -d: -f2 | awk
> '{print $1}'` > /media/mmcblk0p1/.ipaddr
> +            echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut 
> -d: -f2 | awk
> '{print $1}'` > /run/media/mmcblk0p1/.ipaddr
>              sync
>           sync
>       fi
> 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 ab19da3..db5c278 100644
> --- a/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init/init
> +++ b/meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init/init
> @@ -27,10 +27,10 @@ fi
> 
>  #TODO how can we find the SD card and not eMMC?  can we look for a "boot"
>  # LABEL?
> -mount | grep /media/mmcblk0p1 | grep vfat > /dev/null 2>&1
> +mount | grep /run/media/mmcblk0p1 | grep vfat > /dev/null 2>&1
>  if [ "$?" = "0" ]
>  then
> -    tsfile=/media/mmcblk0p1/pointercal
> +    tsfile=/run/media/mmcblk0p1/pointercal
>  fi
> 
>  export TSLIB_CALIBFILE=$tsfile
> 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 0915941..747a9ef 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 = "r3"
> +PR = "r4"
> 
>  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