All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ltp-ddt: Skip mv of kernel files if no files found
@ 2015-04-17 20:25 Sam Nelson
  2015-04-20 18:41 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Nelson @ 2015-04-17 20:25 UTC (permalink / raw)
  To: meta-arago

- Install was failing if there are no modules for certain platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb      |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
index 68e1a3c..609b344 100644
--- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
+++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
@@ -87,7 +87,7 @@ do_install() {
     oe_runmake install
     install -d ${D}${datadir}
     install -d ${D}${kmoddir}
-    mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
+    find ${D}${LTPROOT}/testcases/bin/ddt/*.ko && mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
 }
 
 # do_make_scripts should be a separate task for the lock to work
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-04 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 20:25 [PATCH] ltp-ddt: Skip mv of kernel files if no files found Sam Nelson
2015-04-20 18:41 ` Denys Dmytriyenko
2015-04-22 19:14   ` Denys Dmytriyenko
2015-05-04 11:31     ` Nelson, Sam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.