diff options
-rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 1 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev.inc | 6 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev/volatiles | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles index f0c796c406..270f128a12 100644 --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles | |||
@@ -35,4 +35,3 @@ f root root 0664 /var/log/wtmp none | |||
35 | f root root 0664 /var/run/utmp none | 35 | f root root 0664 /var/run/utmp none |
36 | l root root 0644 /etc/resolv.conf /var/run/resolv.conf | 36 | l root root 0644 /etc/resolv.conf /var/run/resolv.conf |
37 | f root root 0644 /var/run/resolv.conf none | 37 | f root root 0644 /var/run/resolv.conf none |
38 | l root root 0755 /run /var/run | ||
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc index bd82c34b57..e358d2d200 100644 --- a/meta/recipes-core/udev/udev.inc +++ b/meta/recipes-core/udev/udev.inc | |||
@@ -27,7 +27,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | |||
27 | file://local.rules \ | 27 | file://local.rules \ |
28 | file://udev-cache \ | 28 | file://udev-cache \ |
29 | file://udev-cache.default \ | 29 | file://udev-cache.default \ |
30 | file://init" | 30 | file://init \ |
31 | file://volatiles" | ||
31 | 32 | ||
32 | inherit autotools pkgconfig update-rc.d | 33 | inherit autotools pkgconfig update-rc.d |
33 | 34 | ||
@@ -81,6 +82,9 @@ do_install_append () { | |||
81 | install -d ${D}${sysconfdir}/default | 82 | install -d ${D}${sysconfdir}/default |
82 | install -m 0755 ${WORKDIR}/udev-cache.default ${D}${sysconfdir}/default/udev-cache | 83 | install -m 0755 ${WORKDIR}/udev-cache.default ${D}${sysconfdir}/default/udev-cache |
83 | 84 | ||
85 | install -d ${D}${sysconfdir}/default/volatiles | ||
86 | install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_udev | ||
87 | |||
84 | touch ${D}${sysconfdir}/udev/cache.data | 88 | touch ${D}${sysconfdir}/udev/cache.data |
85 | 89 | ||
86 | install -d ${D}${sysconfdir}/udev/rules.d/ | 90 | install -d ${D}${sysconfdir}/udev/rules.d/ |
diff --git a/meta/recipes-core/udev/udev/volatiles b/meta/recipes-core/udev/udev/volatiles new file mode 100644 index 0000000000..e33561bf06 --- /dev/null +++ b/meta/recipes-core/udev/udev/volatiles | |||
@@ -0,0 +1 @@ | |||
l root root 0755 /run /var/run | |||