From: Mark Hatle Date: Wed, 1 Sep 2010 18:37:01 +0000 (-0500) Subject: package_rpm: Start packaging directories X-Git-Tag: 2011-1~4632 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=84e1f5a68962e35f796fbfddacddd6d16a4532b6;p=openembedded-core.git package_rpm: Start packaging directories Match ipkg behavior and unconditionally include directories in the packages Signed-off-by: Mark Hatle --- 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)