]> code.ossystems Code Review - openembedded-core.git/commit
update-rc.d.bbclass: adjust order on tweaking postinst
authorKevin Tian <kevin.tian@intel.com>
Sat, 14 Aug 2010 04:14:23 +0000 (12:14 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 17 Aug 2010 21:57:33 +0000 (22:57 +0100)
commit54d6d75445cf138ab6c1b36007576620e74ab9f1
tree6b4363a5d576be4d185ac15fcb774e69045816a3
parent7025e6496e89e3a5750aae65b73118d2f6673884
update-rc.d.bbclass: adjust order on tweaking postinst

So far unlike prerm/postrm, update-rc.d has its own postinst method prepended
to pkg_postinst, which may result "System startup links for xxx already exist"
warning in the 1st boot of target image. Some pkg_postinst requires to run on
the target, and thus prepend here makes update-rc.d method executed twice: one
in rootfs creation and the other in the 1st target boot. So adjust the order
to append.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
meta/classes/update-rc.d.bbclass