]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_rpm.bbclass: files needs to start from /
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 28 Aug 2008 07:35:31 +0000 (07:35 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 28 Aug 2008 07:35:31 +0000 (07:35 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package_rpm.bbclass

index 2b8ef68c961905088c3ee9ea98414df15656041a..5945c047b4e81f6cddc7fcb3c1d367f9abd10599 100644 (file)
@@ -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()