summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 20:00:56 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 20:00:56 +0000
commit55aced4665ad98cf7996f72ccfbbd2c35f60a209 (patch)
tree0c3451e8546ec0c8fef62b740185469f58babfb2 /classes
parentc46e46d8be67321f636e6b23e5cc966a46207476 (diff)
n2100-image.bbclass: Fix usage of tail so image post works
Diffstat (limited to 'classes')
-rw-r--r--classes/n2100-image.bbclass2
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