diff options
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r-- | recipes-kernel/linux/linux-qoriq-common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc index c5430c8..aa1e6ea 100644 --- a/recipes-kernel/linux/linux-qoriq-common.inc +++ b/recipes-kernel/linux/linux-qoriq-common.inc | |||
@@ -43,13 +43,13 @@ do_unpack_append() { | |||
43 | import shutil | 43 | import shutil |
44 | workdir = d.getVar("WORKDIR", True) | 44 | workdir = d.getVar("WORKDIR", True) |
45 | sourcedir = d.getVar("S", True) | 45 | sourcedir = d.getVar("S", True) |
46 | print "Copy cfg folder from workdir %s to source directory %s" % (workdir, sourcedir) | 46 | bb.note("Copy cfg folder from workdir %s to source directory %s" % (workdir, sourcedir)) |
47 | src = workdir + "/cfg" | 47 | src = workdir + "/cfg" |
48 | dst = sourcedir + "/cfg" | 48 | dst = sourcedir + "/cfg" |
49 | try: | 49 | try: |
50 | shutil.copytree(src, dst) | 50 | shutil.copytree(src, dst) |
51 | except shutil.Error as e: | 51 | except shutil.Error as e: |
52 | print "Directory not copied. Error: %s" % e | 52 | bb.error("Directory not copied. Error: %s" % e) |
53 | except OSError as e: | 53 | except OSError as e: |
54 | print "Directory not copied. Error: %s" % e | 54 | bb.error("Directory not copied. Error: %s" % e) |
55 | } | 55 | } |