mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
package_rpm: Start packaging directories
Match ipkg behavior and unconditionally include directories in the packages Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
committed by
Richard Purdie
parent
9f60a6fbfb
commit
84e1f5a689
@@ -109,8 +109,9 @@ python write_specfile () {
|
|||||||
import os
|
import os
|
||||||
for rootpath, dirs, files in os.walk(walkpath):
|
for rootpath, dirs, files in os.walk(walkpath):
|
||||||
path = rootpath.replace(walkpath, "")
|
path = rootpath.replace(walkpath, "")
|
||||||
#for dir in dirs:
|
for dir in dirs:
|
||||||
# target.append("%dir " + path + "/" + dir)
|
# All packages own the directories their files are in...
|
||||||
|
target.append("%dir " + path + "/" + dir)
|
||||||
for file in files:
|
for file in files:
|
||||||
if conffiles.count(path + "/" + file):
|
if conffiles.count(path + "/" + file):
|
||||||
target.append("%config " + path + "/" + file)
|
target.append("%config " + path + "/" + file)
|
||||||
|
|||||||
Reference in New Issue
Block a user