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

Acked-by: Franklin Cooper Jr. <[email protected]>

> -----Original Message-----
> From: [email protected] [mailto:meta-arago-
> [email protected]] On Behalf Of Denys Dmytriyenko
> Sent: Friday, January 31, 2014 2:10 PM
> To: [email protected]
> Subject: [meta-arago] [PATCH] base-files: pre-create /run symlink to point to
> /var/run
> 
> From: Denys Dmytriyenko <[email protected]>
> 
> 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 <[email protected]>
> ---
>  .../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
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to