summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 15:00:06 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 15:00:06 +0000
commitdde38474d53cf82f6f730c07c1ad641426568f56 (patch)
treed881891a1da52f0b7e672de8d6d7626bc5a0cac1
parentd063de816c79b80a5fe8452da60c986c90c81cf3 (diff)
parent4fd880f8d6ba7746031a201caa46e703d2de2b77 (diff)
merge of '590d553c33bb0be5913ed85157e07a6b2896b7bc'
and 'd3d2de82071747b03daf36c862b44f3b362a7753'
-rw-r--r--classes/magicbox-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/magicbox-image.bbclass b/classes/magicbox-image.bbclass
index 05de28b76b..c75e69cac2 100644
--- a/classes/magicbox-image.bbclass
+++ b/classes/magicbox-image.bbclass
@@ -1,6 +1,6 @@
magicbox_gen_images() {
# find latest kernel
- KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/uImage* | tail -1`
+ KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/uImage* | tail -n 1`
if [ -z "$KERNEL" ]; then
oefatal "No kernel found in ${DEPLOY_DIR_IMAGE}. Exiting !"
exit 1