diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-10-04 16:20:21 -0700 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-10-04 16:24:01 -0700 |
commit | 8e5c0841ea4e8ffa95c55f3094d78918e1f98d52 (patch) | |
tree | cf4d9480a679d169c2a768276cd32093265c35aa | |
parent | a4f2e2af1b5dd3f9f480fedb2f6e565ef5430c8f (diff) | |
download | openembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.tar.gz openembedded-core-8e5c0841ea4e8ffa95c55f3094d78918e1f98d52.tar.bz2 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>
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index b33d153dae..ee7a1a3b59 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 |