]> code.ossystems Code Review - openembedded-core.git/commit
populate-volatile.sh: cleanup duplicated invocations and remove boot warning
authorKevin Tian <kevin.tian@intel.com>
Wed, 11 Aug 2010 05:34:54 +0000 (13:34 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 14:39:24 +0000 (15:39 +0100)
commite101642a61fc418273c1cd4d58a9564b4bdecc5c
tree8890d90be0403bd1a9161f32ceb3d5cd1b7a27b5
parentcf1e754b3fee3c7ae907e7ae30233083d7892215
populate-volatile.sh: cleanup duplicated invocations and remove boot warning

For one, populate-volatile.sh is itself a rcS script which is invoked earlier
than package's own postinst method (last one in rcS). If package has already
installed their volatile files correctly, it doesn't make sense to update volatile
again in postinst since nothing is changed.

On the other hand, dbus/hal are special since their user/group are only created
in the target. If they pre-install volatiles like others, populate-volatile.sh
will report "undefined user" since at that time their user/group haven't been
created. The better way solving this is to generate their volatile in the fly
after user/group are created, and then update volatiles.

This fix [BUGID #121]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 files changed:
meta/packages/dbus/dbus-1.2.24/99_dbus [deleted file]
meta/packages/dbus/dbus.inc
meta/packages/dbus/dbus_1.2.24.bb
meta/packages/devicekit/devicekit_git.bb
meta/packages/fontconfig/fontconfig_2.8.0.bb
meta/packages/hal/files/99_hal [deleted file]
meta/packages/hal/hal.inc
meta/packages/hal/hal_0.5.14.bb
meta/packages/hal/hal_git.bb
meta/packages/networkmanager/networkmanager_svn.bb
meta/packages/pam/pam_1.1.1.bb
meta/packages/wpa-supplicant/wpa-supplicant-0.7.inc
meta/packages/wpa-supplicant/wpa-supplicant_0.7.2.bb
meta/packages/yum/yum_3.2.27.bb