[oe] [PATCH v2] rootfs_deb.bbclass: removed $(( ... )) operator usage.
Filip Zyzniewski
filip.zyzniewski at gmail.com
Sun Feb 6 15:48:56 UTC 2011
Bitbake's pyshlex.py cannot parse it raising NotImplementedError in
line 295 (bitbake @ c8d8388ce9662574a390be3b849c07d1b044275d).
Signed-off-by: Filip Zyzniewski <filip.zyzniewski at gmail.com>
---
classes/rootfs_deb.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/rootfs_deb.bbclass b/classes/rootfs_deb.bbclass
index e077127..59072aa 100644
--- a/classes/rootfs_deb.bbclass
+++ b/classes/rootfs_deb.bbclass
@@ -35,7 +35,7 @@ fakeroot rootfs_deb_do_rootfs () {
echo "deb file:${DEPLOY_DIR_DEB}/$arch/ ./" >> ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
(echo "Package: *"
echo "Pin: release l=$arch"
- echo "Pin-Priority: $((800 + $priority))"
+ echo "Pin-Priority: $(expr 800 + $priority)"
echo) >> ${STAGING_ETCDIR_NATIVE}/apt/preferences
priority=$(expr $priority + 5)
done
--
1.7.1
More information about the Openembedded-devel
mailing list