mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cf1e754b3f
commit
e101642a61
@@ -8,7 +8,7 @@ DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp gnome-common p
|
||||
RDEPENDS = "hal wpa-supplicant iproute2 dhcp-client"
|
||||
|
||||
PV = "0.7+svnr${SRCREV}"
|
||||
PR = "r9"
|
||||
PR = "r10"
|
||||
|
||||
SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \
|
||||
file://no-restarts.diff;patch=1;pnum=0 \
|
||||
@@ -38,13 +38,6 @@ do_install_append () {
|
||||
rmdir ${D}/var/run
|
||||
}
|
||||
|
||||
pkg_postinst_${PN} () {
|
||||
if [ "x$D" != "x" ]; then
|
||||
exit 1
|
||||
fi
|
||||
/etc/init.d/populate-volatile.sh update
|
||||
}
|
||||
|
||||
PACKAGES =+ "libnmutil libnmglib"
|
||||
|
||||
FILES_libnmutil += "${libdir}/libnm-util.so.*"
|
||||
|
||||
Reference in New Issue
Block a user