aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 14:59:27 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 14:59:27 +0000
commit4fd880f8d6ba7746031a201caa46e703d2de2b77 (patch)
tree547edb7c0a0042990801e7a6320ae354c399ab19 /classes
parent217eacb5d1eedaaa41a327ecea4b787e5952ae93 (diff)
downloadopenembedded-4fd880f8d6ba7746031a201caa46e703d2de2b77.tar.gz
classes/magicbox-image.bbclass : Fix a problem with "tail" which failed during fs creation
for magicbox
Diffstat (limited to 'classes')
-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