* [PATCH V2 1/2] Link /media to /run/media
@ 2014-12-13 19:57 Michael Gloff
2014-12-13 19:57 ` [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it Michael Gloff
0 siblings, 1 reply; 5+ messages in thread
From: Michael Gloff @ 2014-12-13 19:57 UTC (permalink / raw)
To: openembedded-core
Since the change in automout.sh to mount devices to /run/media,
we create the /run/media directory on startup and link /media to it.
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
---
meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
index 297245d..1fc5816 100644
--- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
+++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
@@ -34,3 +34,5 @@ f root root 0664 /var/log/wtmp none
f root root 0664 /var/run/utmp none
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none
+d root root 1777 /run/media none
+l root root 1777 /media /run/media
--
2.1.2.374.g63a4513
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it
2014-12-13 19:57 [PATCH V2 1/2] Link /media to /run/media Michael Gloff
@ 2014-12-13 19:57 ` Michael Gloff
2014-12-13 19:59 ` Michael Gloff
2014-12-15 14:13 ` Gary Thomas
0 siblings, 2 replies; 5+ messages in thread
From: Michael Gloff @ 2014-12-13 19:57 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
---
meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
index 1fc5816..e6f0695 100644
--- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
+++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
@@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
d root root 0755 /var/lock/subsys none
f root root 0664 /var/log/wtmp none
f root root 0664 /var/run/utmp none
-l root root 0644 /etc/resolv.conf /var/run/resolv.conf
f root root 0644 /var/run/resolv.conf none
+l root root 0644 /etc/resolv.conf /var/run/resolv.conf
d root root 1777 /run/media none
l root root 1777 /media /run/media
--
2.1.2.374.g63a4513
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it
2014-12-13 19:57 ` [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it Michael Gloff
@ 2014-12-13 19:59 ` Michael Gloff
2014-12-15 14:13 ` Gary Thomas
1 sibling, 0 replies; 5+ messages in thread
From: Michael Gloff @ 2014-12-13 19:59 UTC (permalink / raw)
To: OE Core
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
I really messed up the commit messages on the first one, please accept V2.
Michael Gloff
On Sat, Dec 13, 2014 at 1:57 PM, Michael Gloff <mgloff@emacinc.com> wrote:
>
> Signed-off-by: Michael Gloff <mgloff@emacinc.com>
> ---
> meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> index 1fc5816..e6f0695 100644
> --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> @@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
> d root root 0755 /var/lock/subsys none
> f root root 0664 /var/log/wtmp none
> f root root 0664 /var/run/utmp none
> -l root root 0644 /etc/resolv.conf /var/run/resolv.conf
> f root root 0644 /var/run/resolv.conf none
> +l root root 0644 /etc/resolv.conf /var/run/resolv.conf
> d root root 1777 /run/media none
> l root root 1777 /media /run/media
> --
> 2.1.2.374.g63a4513
>
>
[-- Attachment #2: Type: text/html, Size: 1548 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it
2014-12-13 19:57 ` [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it Michael Gloff
2014-12-13 19:59 ` Michael Gloff
@ 2014-12-15 14:13 ` Gary Thomas
2015-02-07 22:15 ` Michael Gloff
1 sibling, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2014-12-15 14:13 UTC (permalink / raw)
To: openembedded-core
No commit log?
Also, the order for a symbolic link should not matter, so why make this change?
On 2014-12-13 12:57, Michael Gloff wrote:
> Signed-off-by: Michael Gloff <mgloff@emacinc.com>
> ---
> meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> index 1fc5816..e6f0695 100644
> --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
> @@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
> d root root 0755 /var/lock/subsys none
> f root root 0664 /var/log/wtmp none
> f root root 0664 /var/run/utmp none
> -l root root 0644 /etc/resolv.conf /var/run/resolv.conf
> f root root 0644 /var/run/resolv.conf none
> +l root root 0644 /etc/resolv.conf /var/run/resolv.conf
> d root root 1777 /run/media none
> l root root 1777 /media /run/media
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it
2014-12-15 14:13 ` Gary Thomas
@ 2015-02-07 22:15 ` Michael Gloff
0 siblings, 0 replies; 5+ messages in thread
From: Michael Gloff @ 2015-02-07 22:15 UTC (permalink / raw)
To: Gary Thomas; +Cc: OE Core
[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]
Sorry for such a late reply. I'll fix the commit log. The reason for the
order change is that I get:
rm: can't remove '/etc/resolv.conf': Read-only file system
ln: /etc/resolv.conf: File exists
every time on boot up. When switched, no error messages. It does still
'work', I just thought I'd clear up an error message while I was at it.
Michael Gloff
On Mon, Dec 15, 2014 at 8:13 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> No commit log?
>
> Also, the order for a symbolic link should not matter, so why make this
> change?
>
> On 2014-12-13 12:57, Michael Gloff wrote:
>
>> Signed-off-by: Michael Gloff <mgloff@emacinc.com>
>> ---
>> meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> index 1fc5816..e6f0695 100644
>> --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> @@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
>> d root root 0755 /var/lock/subsys none
>> f root root 0664 /var/log/wtmp none
>> f root root 0664 /var/run/utmp none
>> -l root root 0644 /etc/resolv.conf /var/run/resolv.conf
>> f root root 0644 /var/run/resolv.conf none
>> +l root root 0644 /etc/resolv.conf /var/run/resolv.conf
>> d root root 1777 /run/media none
>> l root root 1777 /media /run/media
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 2994 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-07 22:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-13 19:57 [PATCH V2 1/2] Link /media to /run/media Michael Gloff
2014-12-13 19:57 ` [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it Michael Gloff
2014-12-13 19:59 ` Michael Gloff
2014-12-15 14:13 ` Gary Thomas
2015-02-07 22:15 ` Michael Gloff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox