summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-29 05:19:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-29 05:19:58 +0000
commitdba0286fb3cdd27fbdc52c71b23fadf96e8fa15f (patch)
tree675363887fa1c0b341ac792a17c8cd6de02ac56d
parentReleasing debian version 1.14-2. (diff)
downloadnvme-cli-dba0286fb3cdd27fbdc52c71b23fadf96e8fa15f.tar.xz
nvme-cli-dba0286fb3cdd27fbdc52c71b23fadf96e8fa15f.zip
Avoid shipping unused, empty directories for dracut.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c753f7b..70a49a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,5 +13,8 @@ override_dh_auto_install:
rm -f debian/nvme-cli/etc/nvme/hostnqn
rm -f debian/nvme-cli/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
+ # removing useless files
+ -rmdir -p debian/nvme-cli/usr/lib/dracut/dracut.conf.d
+
override_dh_auto_test:
# disabled, requires a NVMe device