| Summary: | udevd daemon doesn't exist since second boot | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Dongxiao Xu <dongxiao.xu> |
| Component: | core | Assignee: | Dongxiao Xu <dongxiao.xu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, sgw, yi.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.1 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Dongxiao Xu
2011-06-07 01:52:33 UTC
Root cause is the udev script, where it has a piece of code:
if [ -e /etc/dev.tar ]; then
(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp')
not_first_boot=1
fi
The grep command will return 1 if not found the "time stamp", which cause the udevd start failure.
I will commit a patch to fix it.
Holger Freyther <holger@...> writes: > > #!/bin/sh -e > > ... > > if [ -e /etc/dev.tar ]; then > > (cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp') > > not_first_boot=1 > > fi Okay, it is efce51ec11cc2a908833e80b65d2f5db81bb2fec which only works if the time is broken... I assume one wants to add an || true or such to the command. _______________________________________________ poky mailing list poky@yoctoproject.org https://lists.yoctoproject.org/listinfo/poky Verified it with 20110613 build Image location: http://autobuilder.yoctoproject.org/nightly/20110613-1/ Tree/Branch: Poky/master Commit: e5f3cc34df74c08c8cab3e1cf9207fafaec6cb9a |