]> code.ossystems Code Review - openembedded-core.git/commit
run-postinsts: move script execution from S98 to S99 in rcS.d
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 5 Sep 2013 15:04:03 +0000 (18:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:01:50 +0000 (23:01 +0100)
commit882da38f226acc40c041155218549edad461b7d7
tree4b2caa9f30d7374f2a11d2ac97638cf39caef55e
parent1838671b832015ae28c8c101e8b20afbbf4b3c98
run-postinsts: move script execution from S98 to S99 in rcS.d

Apparently, when opkg/dpkg and run-postinsts are installed in the same
time, opkg/dpkg postinstall overwrites the run-postinsts link in rcS.d.
This will make run-postinsts script useless and the delayed postinstalls
will not be run.

This issue happens only when 'package-management' is disabled and, in
the same time, dpkg/opkg ends up in the image: either pulled by some
dependency or manually installed.

With this patch, both opkg/dpkg and run-postinsts scripts will run but
the former will silently fail because the package metadata is removed from
the image since 'pacakge-management' is disabled.

[YOCTO #4484]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb