diff options
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-qoriq-common.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc index 9d51b1e..c5430c8 100644 --- a/recipes-kernel/linux/linux-qoriq-common.inc +++ b/recipes-kernel/linux/linux-qoriq-common.inc | |||
@@ -38,3 +38,18 @@ DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ | |||
38 | " | 38 | " |
39 | 39 | ||
40 | require recipes-kernel/linux/pramfs-3.12.inc | 40 | require recipes-kernel/linux/pramfs-3.12.inc |
41 | |||
42 | do_unpack_append() { | ||
43 | import shutil | ||
44 | workdir = d.getVar("WORKDIR", True) | ||
45 | sourcedir = d.getVar("S", True) | ||
46 | print "Copy cfg folder from workdir %s to source directory %s" % (workdir, sourcedir) | ||
47 | src = workdir + "/cfg" | ||
48 | dst = sourcedir + "/cfg" | ||
49 | try: | ||
50 | shutil.copytree(src, dst) | ||
51 | except shutil.Error as e: | ||
52 | print "Directory not copied. Error: %s" % e | ||
53 | except OSError as e: | ||
54 | print "Directory not copied. Error: %s" % e | ||
55 | } | ||