Skip to contentSkip to conversation

Fix udevd launch issue

GIT PULL New Dongxiao Xu 3 participants 4 messages Jun 9, 2011

lore
Share & tools
lore
#0 lore raw

Hi Saul,

This commit fixes the udevd launch issue after system second boot. [YOCTO #1146]. Without udevd daemon, device nodes will not be created if dynamically insert a kernel module.

Please help to review and pull.

The following changes since commit 5af197b55a4b779f1ec93186f0723026949ba2b5:

cache: Implement multiple extra cache fields request support (2011-06-07 22:40:01 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix

Dongxiao Xu (1):
udev: Fix udevd launch issue after system second boot

 meta/recipes-core/udev/udev-164/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 udev: Fix udevd launch issue after system second boot

"grep" command will return 1 if nothing is grepped, which will cause the udevd daemon not working correctly.

This fixes [YOCTO #1146]

---
 meta/recipes-core/udev/udev-164/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/udev/udev-164/init +1 -1
index 1a8fca5..9ce95ee 100644
@@ -35,7 +35,7 @@ LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && {
 }
 
 if [ -e /etc/dev.tar ]; then
-	(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp')
+	(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp' || true)
 	not_first_boot=1
 fi
 
Signature · 1 line
1.7.1
#2 lore raw
In reply to Dongxiao Xu

You're not getting new devicenodes even with devtmpfs mounted?

Op 9 jun. 2011 om 03:08 heeft Dongxiao Xu <[email protected]> het volgende geschreven:

Quoted 26 lines

Hi Saul,

This commit fixes the udevd launch issue after system second boot. [YOCTO #1146]. Without udevd daemon, device nodes will not be created if dynamically insert a kernel module.

Please help to review and pull.

The following changes since commit 5af197b55a4b779f1ec93186f0723026949ba2b5:

cache: Implement multiple extra cache fields request support (2011-06-07 22:40:01 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix

Dongxiao Xu (1):
udev: Fix udevd launch issue after system second boot

meta/recipes-core/udev/udev-164/init | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Applied
#3 lore raw
In reply to Dongxiao Xu
Quoted 18 lines · Dongxiao Xu

Hi Saul,

This commit fixes the udevd launch issue after system second boot. [YOCTO #1146]. Without udevd daemon, device nodes will not be created if dynamically insert a kernel module.

Please help to review and pull.

The following changes since commit 5af197b55a4b779f1ec93186f0723026949ba2b5:

cache: Implement multiple extra cache fields request support (2011-06-07 22:40:01 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix

Dongxiao Xu (1):
udev: Fix udevd launch issue after system second boot

Quoted 9 lines
  meta/recipes-core/udev/udev-164/init |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!