summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-02 21:03:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-02 21:24:41 +0000
commit6025688e3881fc1ddcb0552107eac11a918f88c2 (patch)
treeae713ec1b516bad53ab1937aa284c40bd40069fa
parentRemoving spurious bash-completion file in source tree. (diff)
downloadnvme-cli-6025688e3881fc1ddcb0552107eac11a918f88c2.tar.xz
nvme-cli-6025688e3881fc1ddcb0552107eac11a918f88c2.zip
Harmonizing and minimizing rules file.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules9
1 files 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