All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 16:27 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 16:27 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 19:07 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 19:07 UTC (permalink / raw)
  To: meta-arago

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:23 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:23 UTC (permalink / raw)
  To: meta-arago

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:21 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:21 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:14 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:14 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:10 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:10 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:06 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:06 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:32 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:32 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:30 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:30 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:17 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:17 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:17 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:17 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH] base-files: pre-create /run symlink to point to /var/run
  2014-02-05 16:37 Denys Dmytriyenko
@ 2014-02-05 17:16 ` Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:16 UTC (permalink / raw)
  To: meta-arago

Please ignore some old duplicate patches appearing on the list, while I'm 
testing my setup...

On Wed, Feb 05, 2014 at 11:37:31AM -0500, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Make it available on the first boot too, otherwise the first boot may fail
> to automount SD card partitions. Normally, it gets created on the first
> boot by volatiles init script and stays there on consecutive boots.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
> index c0ab069..4d831fd 100644
> --- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
> +++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
> @@ -1,4 +1,13 @@
>  # look for files in this layer first
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
> -PR_append = "-arago0"
> +PR_append = "-arago1"
> +
> +# Pre-create /run symlink to point to /var/run at build time
> +# This normally happens on first boot, but may be too late for automount,
> +# which tries to create mount-points in /run
> +# NOTE: This step is not required in Dora and up, due to reverse direction
> +# of symlinking between /run and /var/run
> +do_install_append () {
> +	ln -sf /var/run ${D}/run
> +}
> -- 
> 1.8.3.2
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 16:37 Denys Dmytriyenko
  2014-02-05 17:16 ` Denys Dmytriyenko
  0 siblings, 1 reply; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 16:37 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH] base-files: pre-create /run symlink to point to /var/run
  2014-01-31 22:44 ` Cooper Jr., Franklin
@ 2014-01-31 23:11   ` Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-01-31 23:11 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-arago

On Fri, Jan 31, 2014 at 10:44:49PM +0000, Cooper Jr., Franklin wrote:
> I like this approach a lot to fix the last mount.sh issue.

So, I take it as you are fine with all the related changes and I'll go ahead 
and push my 3 patches to move automount to /run/media along with one of yours.


> Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Friday, January 31, 2014 2:10 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH] base-files: pre-create /run symlink to point to
> > /var/run
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > Make it available on the first boot too, otherwise the first boot may fail to
> > automount SD card partitions. Normally, it gets created on the first boot by
> > volatiles init script and stays there on consecutive boots.
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
> >  1 file changed, 10 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta-arago-distro/recipes-core/base-files/base-
> > files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-
> > files_3.0.14.bbappend
> > index c0ab069..4d831fd 100644
> > --- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
> > +++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappe
> > +++ nd
> > @@ -1,4 +1,13 @@
> >  # look for files in this layer first
> >  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > 
> > -PR_append = "-arago0"
> > +PR_append = "-arago1"
> > +
> > +# Pre-create /run symlink to point to /var/run at build time # This
> > +normally happens on first boot, but may be too late for automount, #
> > +which tries to create mount-points in /run # NOTE: This step is not
> > +required in Dora and up, due to reverse direction # of symlinking
> > +between /run and /var/run do_install_append () {
> > +	ln -sf /var/run ${D}/run
> > +}
> > --
> > 1.8.3.2
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH] base-files: pre-create /run symlink to point to /var/run
  2014-01-31 20:09 Denys Dmytriyenko
@ 2014-01-31 22:44 ` Cooper Jr., Franklin
  2014-01-31 23:11   ` Denys Dmytriyenko
  0 siblings, 1 reply; 16+ messages in thread
From: Cooper Jr., Franklin @ 2014-01-31 22:44 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago

I like this approach a lot to fix the last mount.sh issue.

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, January 31, 2014 2:10 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH] base-files: pre-create /run symlink to point to
> /var/run
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Make it available on the first boot too, otherwise the first boot may fail to
> automount SD card partitions. Normally, it gets created on the first boot by
> volatiles init script and stays there on consecutive boots.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-core/base-files/base-
> files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-
> files_3.0.14.bbappend
> index c0ab069..4d831fd 100644
> --- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
> +++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappe
> +++ nd
> @@ -1,4 +1,13 @@
>  # look for files in this layer first
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> 
> -PR_append = "-arago0"
> +PR_append = "-arago1"
> +
> +# Pre-create /run symlink to point to /var/run at build time # This
> +normally happens on first boot, but may be too late for automount, #
> +which tries to create mount-points in /run # NOTE: This step is not
> +required in Dora and up, due to reverse direction # of symlinking
> +between /run and /var/run do_install_append () {
> +	ln -sf /var/run ${D}/run
> +}
> --
> 1.8.3.2
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-01-31 20:09 Denys Dmytriyenko
  2014-01-31 22:44 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-01-31 20:09 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-06 19:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-05 16:27 [PATCH] base-files: pre-create /run symlink to point to /var/run Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2014-02-06 19:07 Denys Dmytriyenko
2014-02-06 16:23 Denys Dmytriyenko
2014-02-06 16:21 Denys Dmytriyenko
2014-02-06 16:14 Denys Dmytriyenko
2014-02-06 16:10 Denys Dmytriyenko
2014-02-06 16:06 Denys Dmytriyenko
2014-02-05 17:32 Denys Dmytriyenko
2014-02-05 17:30 Denys Dmytriyenko
2014-02-05 17:17 Denys Dmytriyenko
2014-02-05 17:17 Denys Dmytriyenko
2014-02-05 16:37 Denys Dmytriyenko
2014-02-05 17:16 ` Denys Dmytriyenko
2014-01-31 20:09 Denys Dmytriyenko
2014-01-31 22:44 ` Cooper Jr., Franklin
2014-01-31 23:11   ` 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.