1
0
Fork 0
nvme-cli/debian/rules
Daniel Baumann 868b5312e8
Adding debian version 1.12-8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 11:11:48 +01:00

18 lines
524 B
Makefile
Executable file

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
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
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.