[oe-commits] Tim 'timtim' Ellis : n2100-image.bbclass: Fix usage of tail so image post works
GIT User account
git at amethyst.openembedded.net
Sat Jan 17 20:01:49 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 55aced4665ad98cf7996f72ccfbbd2c35f60a209
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=55aced4665ad98cf7996f72ccfbbd2c35f60a209
Author: Tim 'timtim' Ellis <tim.ellis at foonas.org>
Date: Sat Jan 17 20:00:56 2009 +0000
n2100-image.bbclass: Fix usage of tail so image post works
---
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 bc6c12e..b74e74c 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
More information about the Openembedded-commits
mailing list