[OE-core] [PATCH 4/4] dbus: use useradd class to allow use in read-only filesystems

Koen Kooi koen at dominion.thruhere.net
Fri Oct 21 17:07:39 UTC 2011


Op 21 okt. 2011, om 19:03 heeft Saul Wold het volgende geschreven:

> On 10/21/2011 07:10 AM, Otavio Salvador wrote:
>> Move creation of required user/groups to useradd class thus allowing
>> use with read-only filesystems and booting the initial boot.
>> 
>> Signed-off-by: Otavio Salvador<otavio at ossystems.com.br>
>> ---
>>  meta/recipes-core/dbus/dbus.inc |   48 +++++++++++++++++----------------------
>>  1 files changed, 21 insertions(+), 27 deletions(-)
>> 
>> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
>> index a8ecda8..2a97c02 100644
>> --- a/meta/recipes-core/dbus/dbus.inc
>> +++ b/meta/recipes-core/dbus/dbus.inc
>> @@ -10,15 +10,22 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
>>  DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
>>  DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
>> 
>> +PR = "r1"
>> +
>>  SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
>>             file://tmpdir.patch; \
>>             file://dbus-1.init"
>> 
>> -inherit autotools pkgconfig gettext update-rc.d
>> +inherit useradd autotools pkgconfig gettext update-rc.d
>> 
>>  INITSCRIPT_NAME = "dbus-1"
>>  INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ."
>> 
>> +USERADD_PACKAGES = "${PN}"
>> +GROUPADD_PARAM_${PN} = "-r netdev"
> 
> I thought netdev was going to be removed from this recipe?

let's do that as follow up so it bisects cleanly. Changing 2 things at once never works for me :)

regards,

Koen



More information about the Openembedded-core mailing list