summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2013-01-22 15:53:16 +0800
committerGui Chen <gui.chen@intel.com>2013-01-22 15:53:16 +0800
commit47c684ff45b44fac80ac2a0c5d3a5189b3c70de0 (patch)
treed46051364c19588e4d2a7fe8aa1c0855eb3b3824 /debian/rules
parent310606d325389b79ebb4ac595b4981c99ac64c76 (diff)
downloadmic-47c684ff45b44fac80ac2a0c5d3a5189b3c70de0.tar.gz
mic-47c684ff45b44fac80ac2a0c5d3a5189b3c70de0.tar.bz2
mic-47c684ff45b44fac80ac2a0c5d3a5189b3c70de0.zip
update debian packaging files
Change-Id: Ia857444bb840fa6fa41e633917ac14d3813f8348 Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index fc55966..674a4e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,13 @@
# 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, syslinux (>= 2:4.05)"
+else
+ SUBSTVARS = -Vdist:Depends="qemu-user-static, syslinux (>= 2:4.05), extlinux (>= 2:4.05)"
+endif
+
+
build: build-stamp
build-stamp:
dh_testdir
@@ -42,7 +49,7 @@ binary-indep: build install
dh_pysupport
dh_installdeb
dh_shlibdeps
- dh_gencontrol
+ dh_gencontrol -- $(SUBSTVARS)
dh_md5sums
dh_builddeb