summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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