cml1.bbclass: Only delay exit if the command fails
authorDarren Hart <dvhart@linux.intel.com>
Fri, 15 Jun 2012 21:44:24 +0000 (14:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jun 2012 15:35:52 +0000 (16:35 +0100)
commite1e5d232ade17ace89a4235e4d40a923941d785f
treef9d15a33fdf71a3881563fb21c5e35714eaf595e
parent5f4b832fbac17b2346d9b6148bde66333103ba4c
cml1.bbclass: Only delay exit if the command fails

Rather than pause for 5 seconds, test the return code of the command and
require user input before exiting on failure. This avoids pausing after
successful command execution as well as possibly not waiting long enough
if the user happens to be doing something else for 5 seconds.

(From OE-Core rev: d99cc2b70bbda9a0cbc09a4430b871c287113041)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cml1.bbclass