From 55aced4665ad98cf7996f72ccfbbd2c35f60a209 Mon Sep 17 00:00:00 2001 From: Tim 'timtim' Ellis Date: Sat, 17 Jan 2009 20:00:56 +0000 Subject: n2100-image.bbclass: Fix usage of tail so image post works --- classes/n2100-image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/n2100-image.bbclass') 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 -- cgit 1.2.3-korg