mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02: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")
|
||||
for file in files:
|
||||
if file[0] != '/':
|
||||
fd.write('/')
|
||||
fd.write("%s\n" % file)
|
||||
|
||||
fd.close()
|
||||
|
||||
Reference in New Issue
Block a user