[oe-commits] Khem Raj : package.bbclass: Replace undefined 'src' with valid variable
git at git.openembedded.org
git at git.openembedded.org
Wed Feb 6 23:37:05 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: b07e79ea049d341a5a0a7e4bb72151f49336c5bc
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b07e79ea049d341a5a0a7e4bb72151f49336c5bc
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Feb 6 13:54:31 2013 -0800
package.bbclass: Replace undefined 'src' with valid variable
After rewrite of split_and_strip_files src var is no longer
available here where it is used so we should replace it with
a valid value
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/package.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 69a4924..b10e6f6 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -766,7 +766,7 @@ python split_and_strip_files () {
elf_file = isELF(file)
if elf_file & 1:
if elf_file & 2:
- bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (src, pn))
+ bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (file[len(dvar):], pn))
continue
# Check if it's a hard link to something else
if s.st_nlink > 1:
More information about the Openembedded-commits
mailing list