diff options
author | Filip Zyzniewski <filip.zyzniewski@gmail.com> | 2011-02-06 23:48:56 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-08 07:20:12 -0700 |
commit | 46a91960cc291d3ca1db218fa2f9e5a45e9046d3 (patch) | |
tree | 35ac6a383d06d64d95cff583dbf2e64fb6e0399a | |
parent | 69ad11570cac672d49837b7abe3b19675bf0c6f7 (diff) | |
download | openembedded-46a91960cc291d3ca1db218fa2f9e5a45e9046d3.tar.gz |
rootfs_deb.bbclass: removed $(( ... )) operator usage.
Bitbake's pyshlex.py cannot parse it raising NotImplementedError in
line 295 (bitbake @ c8d8388ce9662574a390be3b849c07d1b044275d).
Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r-- | 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 e077127144..59072aa096 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 |