diff options
| author | Ross Burton <ross@openedhand.com> | 2008-09-26 08:55:15 +0000 |
|---|---|---|
| committer | Ross Burton <ross@openedhand.com> | 2008-09-26 08:55:15 +0000 |
| commit | 75f3f9bb6d823faec884569400f9dcb6c28ef732 (patch) | |
| tree | d5d5ba3b7b351c091d771a5ce9ee4df65abc77da /meta/classes | |
| parent | 148459e611bd67fc99f29146f95403ecacbd3793 (diff) | |
| download | poky-75f3f9bb6d823faec884569400f9dcb6c28ef732.tar.gz | |
Merged revisions 5177-5178,5181,5183,5185,5187 via svnmerge from
https://svn.o-hand.com/repos/poky/trunk
........
r5177 | richard | 2008-09-10 23:29:43 +0100 (Wed, 10 Sep 2008) | 1 line
package.bbclass: Adjust to handle split packages already being present in PACKAGES
........
r5178 | richard | 2008-09-10 23:32:22 +0100 (Wed, 10 Sep 2008) | 1 line
gst-plugins-good: Remove bogus RPROVIDES and add to PACKAGES instead now the package class can handle this
........
r5181 | richard | 2008-09-11 12:00:49 +0100 (Thu, 11 Sep 2008) | 1 line
poky-eabi.inc/poky-fixed-revisions.inc: Bump the matchbox-wm-2 revision and remove from the asneeded blacklist
........
r5183 | richard | 2008-09-11 16:43:25 +0100 (Thu, 11 Sep 2008) | 1 line
eds-dbus: Add missing DEPENDS on libglade
........
r5185 | ross | 2008-09-11 17:07:38 +0100 (Thu, 11 Sep 2008) | 1 line
eds-dbus: package the glade files into libedataserverui
........
r5187 | ross | 2008-09-11 17:57:47 +0100 (Thu, 11 Sep 2008) | 1 line
eds-dbus: add libedataserverui to PACKAGES, fixing the borked packaging
........
git-svn-id: https://svn.o-hand.com/repos/poky/branches/elroy@5283 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/package.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 1732a114f4..a267403295 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -79,6 +79,8 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst | |||
| 79 | packages = [pkg] + packages | 79 | packages = [pkg] + packages |
| 80 | else: | 80 | else: |
| 81 | packages.append(pkg) | 81 | packages.append(pkg) |
| 82 | oldfiles = bb.data.getVar('FILES_' + pkg, d, 1) | ||
| 83 | if not oldfiles: | ||
| 82 | the_files = [os.path.join(root, o)] | 84 | the_files = [os.path.join(root, o)] |
| 83 | if aux_files_pattern: | 85 | if aux_files_pattern: |
| 84 | if type(aux_files_pattern) is list: | 86 | if type(aux_files_pattern) is list: |
| @@ -106,9 +108,6 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst | |||
| 106 | if postrm: | 108 | if postrm: |
| 107 | bb.data.setVar('pkg_postrm_' + pkg, postrm, d) | 109 | bb.data.setVar('pkg_postrm_' + pkg, postrm, d) |
| 108 | else: | 110 | else: |
| 109 | oldfiles = bb.data.getVar('FILES_' + pkg, d, 1) | ||
| 110 | if not oldfiles: | ||
| 111 | bb.fatal("Package '%s' exists but has no files" % pkg) | ||
| 112 | bb.data.setVar('FILES_' + pkg, oldfiles + " " + os.path.join(root, o), d) | 111 | bb.data.setVar('FILES_' + pkg, oldfiles + " " + os.path.join(root, o), d) |
| 113 | if callable(hook): | 112 | if callable(hook): |
| 114 | hook(f, pkg, file_regex, output_pattern, m.group(1)) | 113 | hook(f, pkg, file_regex, output_pattern, m.group(1)) |
