diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-26 13:04:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-29 13:48:05 +0100 |
commit | 7d017c354aa460deba2c55c87fa3e4ec8b7b704e (patch) | |
tree | c58812f169f6fa4dd0d27bc69d3a6e9198f1aa0a /meta/classes | |
parent | 0e7bcf12ee5a39d1c776d8eddeaa5661716874f0 (diff) | |
download | poky-7d017c354aa460deba2c55c87fa3e4ec8b7b704e.tar.gz |
multilib.bbclass: add renaming for INITSCRIPT related variables
Initscripts are missing in target image in multilib case. This commit
adds the renaming logic for the related variables in multilib.bbclass.
This fixes the no response of mouse/keyboard in target system due to
the missing of udev startup script.
(From OE-Core rev: 477fc6e2fc034c68a250005461774bc8ecf91a52)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/multilib.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 5976d5dce3..286b806cf0 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -73,7 +73,7 @@ python __anonymous () { | |||
73 | d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) | 73 | d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) |
74 | 74 | ||
75 | for pkg_mapping in pkgs_mapping: | 75 | for pkg_mapping in pkgs_mapping: |
76 | for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm"]: | 76 | for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm", "INITSCRIPT_NAME", "INITSCRIPT_PARAMS"]: |
77 | d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) | 77 | d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) |
78 | 78 | ||
79 | map_dependencies("DEPENDS", d) | 79 | map_dependencies("DEPENDS", d) |
@@ -89,4 +89,5 @@ python __anonymous () { | |||
89 | map_variable("PROVIDES", d) | 89 | map_variable("PROVIDES", d) |
90 | map_variable("PACKAGES_DYNAMIC", d) | 90 | map_variable("PACKAGES_DYNAMIC", d) |
91 | map_variable("PACKAGE_INSTALL", d) | 91 | map_variable("PACKAGE_INSTALL", d) |
92 | map_variable("INITSCRIPT_PACKAGES", d) | ||
92 | } | 93 | } |