[OE-core] [PATCH V3 2/2] volatiles: Change linking ordering of resolv.conf

Michael Gloff mgloff at emacinc.com
Sat Feb 28 19:49:32 UTC 2015


    Fixes error on boot on readonly rootfs
        rm: can't remove '/etc/resolv.conf': Read-only file system
        ln: /etc/resolv.conf: File exists

Signed-off-by: Michael Gloff <mgloff at emacinc.com>
---
 .../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
-- 
1.7.9.5




More information about the Openembedded-core mailing list