sg3-utils: add newer buildable version
[openembedded.git] / classes / n2100-image.bbclass
index 393efae..b74e74c 100644 (file)
@@ -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 -1`
         if [ -z "$KERNEL" ]; then
                 oefatal "No kernel found in ${DEPLOY_DIR_IMAGE}. Bitbake linux to create one."
                 exit 1
@@ -28,3 +28,5 @@ n2100_pack_image() {
         rm -f $PADFILE
        ls -l $OUTPUT
 }
+
+IMAGE_POSTPROCESS_COMMAND += "n2100_pack_image; "