summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@intel.com>2010-10-04 16:20:21 -0700
committerSaul Wold <Saul.Wold@intel.com>2010-10-04 16:24:01 -0700
commit8e5c0841ea4e8ffa95c55f3094d78918e1f98d52 (patch)
treecf4d9480a679d169c2a768276cd32093265c35aa /meta
parenta4f2e2af1b5dd3f9f480fedb2f6e565ef5430c8f (diff)
downloadopenembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.tar.gz
openembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.tar.bz2
openembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.tar.xz
openembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.zip
rootfs_deb: fix parsing a shell cmd
This fixes [BUGID #360] parsing failure when using package_dep as rootfs generator. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index b33d153da..ee7a1a3b5 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -36,7 +36,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