mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 16:24:36 +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:
parent
102af610b9
commit
b8ce2fb82e
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user