udev-cache: avoid using '-L' for stat
cover udev-cache: avoid using '-L' for stat
The following changes since commit 24f19fedb40d0af84beb8e9a6595ea06f09d4615:
gstreamer1.0-omx: use mulitple SCMs to fetch submodules (2014-12-31 08:22:53 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/udev-cache-stat
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/udev-cache-stat
Chen Qi (1):
udev-cache: avoid using '-L' for stat
meta/recipes-core/udev/udev/init | 2 +- meta/recipes-core/udev/udev/udev-cache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/1 udev-cache: avoid using '-L' for stat
stat command from stat package doesn't support '-L' option, so avoid using it to get rid of boot errors like below.
Populating dev cache
stat: invalid option -- 'L'
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
[YOCTO #7210]
--- meta/recipes-core/udev/udev/init | 2 +- meta/recipes-core/udev/udev/udev-cache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/udev/udev/init +1 -1
@@ -29,7 +29,7 @@ META_FILE_LIST="lib/udev/rules.d/* etc/udev/rules.d/*" # Command to compute system configuration. sysconf_cmd () { cat -- $CMP_FILE_LIST - stat -L -c '%s %Y %n' -- $META_FILE_LIST | awk -F/ '{print $1 " " $NF;}' + stat -c '%s %Y %n' -- $META_FILE_LIST | awk -F/ '{print $1 " " $NF;}' } [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache
meta/recipes-core/udev/udev/udev-cache +1 -1
@@ -32,7 +32,7 @@ META_FILE_LIST="lib/udev/rules.d/* etc/udev/rules.d/*" # Command to compute system configuration. sysconf_cmd () { cat -- $CMP_FILE_LIST - stat -L -c '%s %Y %n' -- $META_FILE_LIST | awk -F/ '{print $1 " " $NF;}' + stat -c '%s %Y %n' -- $META_FILE_LIST | awk -F/ '{print $1 " " $NF;}' } [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache
Signature · 1 line
1.9.1