aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-files
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-06-28 15:48:22 +0800
committerSaul Wold <sgw@linux.intel.com>2013-07-02 07:58:08 -0700
commit4ec1266e7e1aacdb9d3d0fc5cd6307b60df1731e (patch)
tree94e6eef1609924e1118ef8ebb9982bdab8541928 /meta/recipes-core/base-files
parent40f65a76b3291ae625c072a8efebbf134b15c367 (diff)
downloadopenembedded-core-contrib-4ec1266e7e1aacdb9d3d0fc5cd6307b60df1731e.tar.gz
udev-cache: take a read-only rootfs into consideration
In case of a read-only rootfs, we skip the process of generating udev cache, as the data cannot be persisted between reboots. However, it's possbile that the $DEVCACHE (default to /etc/dev.tar) exists in a read-only rootfs, no matter how it's generated or installed. In such situation, we try to use $DEVCACHE if possible. Besides the basic changes in the logic of udev cache handling, this patch also adds code to output more information if the udev cache is not used and VERBOSE enabled. This patch also changes the readfile function to readfiles function so that it could handle more than one file at once. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/base-files')
0 files changed, 0 insertions, 0 deletions