mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
package_rpm.bbclass: files needs to start from /
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -84,6 +84,8 @@ python write_specfile() {
|
|||||||
|
|
||||||
fd.write("%files\n")
|
fd.write("%files\n")
|
||||||
for file in files:
|
for file in files:
|
||||||
|
if file[0] != '/':
|
||||||
|
fd.write('/')
|
||||||
fd.write("%s\n" % file)
|
fd.write("%s\n" % file)
|
||||||
|
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user