From 6025688e3881fc1ddcb0552107eac11a918f88c2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 2 Jul 2021 23:03:30 +0200 Subject: Harmonizing and minimizing rules file. Signed-off-by: Daniel Baumann --- debian/rules | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/rules b/debian/rules index fd56a06..9ddb178 100755 --- a/debian/rules +++ b/debian/rules @@ -3,16 +3,15 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: - dh $@ + dh ${@} override_dh_auto_install: dh_auto_install -- PREFIX=/usr UDEVDIR=/lib/udev - # Remove build-time unique id files, instead these will be - # generated by the postinst script + + # removing unique files rm -f debian/nvme-cli/etc/nvme/hostid rm -f debian/nvme-cli/etc/nvme/hostnqn rm -f debian/nvme-cli/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf override_dh_auto_test: - # Overriding auto test, since the tests require that the build machine - # has a NVME device. + # disabled, requires a NVMe device -- cgit v1.2.3