diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-28 07:35:31 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-28 07:35:31 +0000 |
commit | b8ce2fb82ea1d31ce67252bdc04e512066d5aa94 (patch) | |
tree | d11989b1dc659b08b01570e89eef46e68f07eed6 /meta/classes | |
parent | 102af610b9aea879115e0ed89a5336358c7ef8ee (diff) | |
download | openembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.gz openembedded-core-b8ce2fb82ea1d31ce67252bdc04e512066d5aa94.tar.bz2 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.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 2b8ef68c96..5945c047b4 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() |