From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH] ltp-ddt: Skip mv of kernel files if no files found
Date: Wed, 22 Apr 2015 15:14:59 -0400 [thread overview]
Message-ID: <20150422191458.GK25236@edge> (raw)
In-Reply-To: <20150420184121.GA23723@edge>
On Mon, Apr 20, 2015 at 02:41:21PM -0400, Denys Dmytriyenko wrote:
> On Fri, Apr 17, 2015 at 04:25:46PM -0400, Sam Nelson wrote:
> > - 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}
>
> Should probably do "mv || true" instead...
Sam,
Do you have any issues doing mv||true construct or do you want to stick with
the find command for any reason?
--
Denys
next prev parent reply other threads:[~2015-04-22 19:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-05-04 11:31 ` Nelson, Sam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150422191458.GK25236@edge \
--to=denys@ti.com \
--cc=meta-arago@arago-project.org \
--cc=sam.nelson@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.