Bug 6388 - udev bootscripts require 'udevadm', which is in optional package udev-utils
Summary: udev bootscripts require 'udevadm', which is in optional package udev-utils
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: Other arm
: Medium normal
Target Milestone: 1.7
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-30 01:52 UTC by Bols Ewhac
Modified: 2014-07-02 03:08 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bols Ewhac 2014-05-30 01:52:37 UTC
The bootscripts in the udev package run the command 'udevadm'.  However, the udev recipe shunts 'udevadm' over to the package udev-utils, which is then placed in udev's RRECOMMENDS list.  Thus, if you enable the build variable NO_RECOMMENDATIONS, udev-utils will not be installed (unless named explicitly), and the bootscripts, unable to find 'udevadm', will report errors:

INIT: version 2.88 booting
Starting udev
udevd[168]: starting version 182
/etc/rcS.d/S04udev: line 103: udevadm: command not found
/etc/rcS.d/S04udev: line 108: udevadm: command not found
/etc/rcS.d/S04udev: line 109: udevadm: command not found
Comment 1 Chen Qi 2014-06-03 06:58:57 UTC
There's a patch from David on the mailing list to add udev-utils to RDEPENDS of udev.

I think it's an appropriate fix.

//Chen Qi
Comment 2 Saul Wold 2014-06-05 14:37:13 UTC
The udevadm should really be part of the core udev package since it's really integral to booting with udev.