diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb b/meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb index 3fdc8094e9..3145f0298c 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb | |||
@@ -39,7 +39,9 @@ EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" | |||
39 | 39 | ||
40 | do_install_append() { | 40 | do_install_append() { |
41 | # Delete empty directories to avoid QA failures if no modules were built | 41 | # Delete empty directories to avoid QA failures if no modules were built |
42 | find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; | 42 | if [ -d ${D}/${nonarch_base_libdir} ]; then |
43 | find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; | ||
44 | fi | ||
43 | } | 45 | } |
44 | 46 | ||
45 | python do_package_prepend() { | 47 | python do_package_prepend() { |