summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2013-12-13 03:30:40 -0500
committerJian-feng Ding <jian-feng.ding@intel.com>2013-12-18 05:02:37 +0200
commit2ead2bba52cd67b8173f8cd68b52afa90c22a219 (patch)
tree40865f5c04ec135da50ba7b30cadc3ff3b4b9421 /debian
parent00955316c6178f5538a816fc22a63994e564db2f (diff)
downloadmic-2ead2bba52cd67b8173f8cd68b52afa90c22a219.tar.gz
mic-2ead2bba52cd67b8173f8cd68b52afa90c22a219.tar.bz2
mic-2ead2bba52cd67b8173f8cd68b52afa90c22a219.zip
fix qemu depends for ubuntu
Change-Id: I92657bc67e7aa393bacf712b84962b9becf2223d Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules9
2 files changed, 3 insertions, 9 deletions
diff --git a/debian/control b/debian/control
index 5a8e00a..fd2bd2c 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Description: image creator for Linux distributions
Package: mic-native
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, ${dist:Depends},
+Depends: ${misc:Depends}, ${python:Depends},
util-linux,
coreutils,
psmisc,
@@ -45,6 +45,7 @@ Depends: ${misc:Depends}, ${python:Depends}, ${dist:Depends},
python-m2crypto,
mic,
Recommends:
+ qemu-arm-static | qemu-user-static,
binfmt-support,
btrfs-tools,
udisks | hal
diff --git a/debian/rules b/debian/rules
index d3d030a..c9f50ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-ifeq ($(shell cat /etc/issue | cut -d' ' -f2), 11.10)
- SUBSTVARS = -Vdist:Depends="qemu-arm-static"
-else
- SUBSTVARS = -Vdist:Depends="qemu-user-static"
-endif
-
-
build: build-stamp
build-stamp:
dh_testdir
@@ -56,7 +49,7 @@ binary-indep: build install
dh_pysupport
dh_installdeb
dh_shlibdeps
- dh_gencontrol -- $(SUBSTVARS)
+ dh_gencontrol
dh_md5sums
dh_builddeb