diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2010-09-01 13:37:01 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-03 09:43:14 +0100 |
commit | 84e1f5a68962e35f796fbfddacddd6d16a4532b6 (patch) | |
tree | 7bca86e998eae7ac021e82e8a4491e3d4938cb49 /meta/classes | |
parent | 9f60a6fbfb93f17a9146f93380f9a3775fe48f4d (diff) | |
download | openembedded-core-84e1f5a68962e35f796fbfddacddd6d16a4532b6.tar.gz openembedded-core-84e1f5a68962e35f796fbfddacddd6d16a4532b6.tar.bz2 openembedded-core-84e1f5a68962e35f796fbfddacddd6d16a4532b6.zip |
package_rpm: Start packaging directories
Match ipkg behavior and unconditionally include directories in the packages
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 3f0a8af72c..a5225dd809 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -109,8 +109,9 @@ python write_specfile () { import os for rootpath, dirs, files in os.walk(walkpath): path = rootpath.replace(walkpath, "") - #for dir in dirs: - # target.append("%dir " + path + "/" + dir) + for dir in dirs: + # All packages own the directories their files are in... + target.append("%dir " + path + "/" + dir) for file in files: if conffiles.count(path + "/" + file): target.append("%config " + path + "/" + file) |