From 8e5c0841ea4e8ffa95c55f3094d78918e1f98d52 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 4 Oct 2010 16:20:21 -0700 Subject: 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 --- meta/classes/rootfs_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/rootfs_deb.bbclass') 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 -- cgit v1.2.3