volatiles: Link /media appropriately
PATCH v3 1/2 volatiles: Link /media appropriately
Since the change of /etc/udev/scripts/mount.sh to use tmpfs, link /media to it
Signed-off-by Michael Gloff <[email protected]>
--- .../initscripts/initscripts-1.0/volatiles | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +2 -0
@@ -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
Signature · 1 line
1.7.9.5
PATCH v3 2/2 volatiles: Change linking ordering of resolv.conf
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 <[email protected]>
--- .../initscripts/initscripts-1.0/volatiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +1 -1
@@ -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
Signature · 1 line
1.7.9.5