diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-09-05 18:04:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 23:04:49 +0100 |
commit | 75a14923da1ba91eddde47f0907345c19c82d6f0 (patch) | |
tree | d1e8d7b17773fa507d9320bea10019781988bccd /meta/recipes-devtools | |
parent | c73487302270a7c2d3bbbb191ce1dd63ee2016dc (diff) | |
download | poky-75a14923da1ba91eddde47f0907345c19c82d6f0.tar.gz |
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]
(From OE-Core rev: 882da38f226acc40c041155218549edad461b7d7)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb index 5dd1709ff5..e18e7b6ad6 100644 --- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb +++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 | |||
8 | SRC_URI = "file://run-postinsts" | 8 | SRC_URI = "file://run-postinsts" |
9 | 9 | ||
10 | INITSCRIPT_NAME = "run-postinsts" | 10 | INITSCRIPT_NAME = "run-postinsts" |
11 | INITSCRIPT_PARAMS = "start 98 S ." | 11 | INITSCRIPT_PARAMS = "start 99 S ." |
12 | 12 | ||
13 | inherit update-rc.d | 13 | inherit update-rc.d |
14 | 14 | ||