summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-08-28 07:35:31 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-08-28 07:35:31 +0000
commitb8ce2fb82ea1d31ce67252bdc04e512066d5aa94 (patch)
treed11989b1dc659b08b01570e89eef46e68f07eed6 /meta/classes
parent102af610b9aea879115e0ed89a5336358c7ef8ee (diff)
downloadopenembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.gz
openembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.bz2
openembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.xz
openembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.zip
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 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 2b8ef68c9..5945c047b 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -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()