classes/magicbox-image.bbclass : Fix a problem with "tail" which failed during fs...
authorStelios Koroneos <skoroneos@digital-opsis.com>
Thu, 26 Jul 2007 14:59:27 +0000 (14:59 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Thu, 26 Jul 2007 14:59:27 +0000 (14:59 +0000)
for magicbox

classes/magicbox-image.bbclass

index 05de28b..c75e69c 100644 (file)
@@ -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 -1`
         if [ -z "$KERNEL" ]; then
                 oefatal "No kernel found in ${DEPLOY_DIR_IMAGE}. Exiting !"
                 exit 1