summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-08-28 07:35:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-03-20 19:39:53 +0100
commit0c549f852e09f6d40e1a1e433cc8dc849b74586c (patch)
tree496a8a7e360e9e3940444645253d69fdd8f97c7c /classes
parentba0746e14d2f6eb5ffce1c29fb9832f780d80e53 (diff)
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
Diffstat (limited to 'classes')
-rw-r--r--classes/package_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index 7f55e384fe..71fa76010f 100644
--- a/classes/package_rpm.bbclass
+++ b/classes/package_rpm.bbclass
@@ -121,6 +121,8 @@ python write_specfile() {
fd.write("%files\n")
for file in files:
+ if file[0] != '/':
+ fd.write('/')
fd.write("%s\n" % file)
fd.close()