diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-07-26 14:59:27 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-07-26 14:59:27 +0000 |
commit | 4fd880f8d6ba7746031a201caa46e703d2de2b77 (patch) | |
tree | 547edb7c0a0042990801e7a6320ae354c399ab19 /classes | |
parent | 217eacb5d1eedaaa41a327ecea4b787e5952ae93 (diff) |
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.bbclass | 2 |
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 |