diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/n2100-image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/n2100-image.bbclass b/classes/n2100-image.bbclass index bc6c12e1fb..b74e74c48a 100644 --- a/classes/n2100-image.bbclass +++ b/classes/n2100-image.bbclass @@ -1,6 +1,6 @@ n2100_pack_image() { # find latest kernel - KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/zImage* | tail -1` + KERNEL=`ls -tr ${DEPLOY_DIR_IMAGE}/zImage* | tail -n 1` if [ -z "$KERNEL" ]; then oefatal "No kernel found in ${DEPLOY_DIR_IMAGE}. Bitbake linux to create one." exit 1 |