* Re: [PATCH] Update sd card partition mount location
2014-01-30 23:52 [PATCH] Update sd card partition mount location Franklin S. Cooper Jr
@ 2014-01-30 22:28 ` Cooper Jr., Franklin
2014-01-30 22:36 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Cooper Jr., Franklin @ 2014-01-30 22:28 UTC (permalink / raw)
To: meta-arago@arago-project.org
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: meta-arago@arago-project.org
> 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 <fcooper@ti.com>
> ---
> .../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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Update sd card partition mount location
2014-01-30 22:28 ` Cooper Jr., Franklin
@ 2014-01-30 22:36 ` Denys Dmytriyenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-01-30 22:36 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-arago@arago-project.org
Correct, give me some time - I was debugging Dan's issue :) Will send the
patch tonight.
--
Denys
On Thu, Jan 30, 2014 at 10:28:24PM +0000, Cooper Jr., Franklin wrote:
> 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: meta-arago@arago-project.org
> > 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 <fcooper@ti.com>
> > ---
> > .../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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Update sd card partition mount location
@ 2014-01-30 23:52 Franklin S. Cooper Jr
2014-01-30 22:28 ` Cooper Jr., Franklin
0 siblings, 1 reply; 3+ messages in thread
From: Franklin S. Cooper Jr @ 2014-01-30 23:52 UTC (permalink / raw)
To: meta-arago; +Cc: Franklin S. Cooper Jr
* 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 <fcooper@ti.com>
---
.../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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-30 22:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30 23:52 [PATCH] Update sd card partition mount location Franklin S. Cooper Jr
2014-01-30 22:28 ` Cooper Jr., Franklin
2014-01-30 22:36 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.