From a40d7d90ef128a592ec85673bb6892a5e07f16e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 16 Jul 2022 17:35:19 +0200 Subject: Updating packaging for upstreams migration to meson, temporarily skipping udeb-build (needs further work). Signed-off-by: Daniel Baumann --- debian/patches/debian/0001-systemd.patch | 6 +++--- debian/patches/debian/0002-meson-nose2.patch | 15 +++++++++++++++ debian/patches/series | 1 + 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 debian/patches/debian/0002-meson-nose2.patch (limited to 'debian/patches') diff --git a/debian/patches/debian/0001-systemd.patch b/debian/patches/debian/0001-systemd.patch index c369508..bf0b372 100644 --- a/debian/patches/debian/0001-systemd.patch +++ b/debian/patches/debian/0001-systemd.patch @@ -1,9 +1,9 @@ Author: Daniel Baumann Description: Removing obsolete settings for newer systemd versions. -diff -Naurp nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service ---- nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service -+++ nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service +diff -Naurp nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service.in nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service.in +--- nvme-cli.orig/nvmf-autoconnect/systemd/nvmf-connect@.service.in ++++ nvme-cli/nvmf-autoconnect/systemd/nvmf-connect@.service.in @@ -4,7 +4,6 @@ [Unit] diff --git a/debian/patches/debian/0002-meson-nose2.patch b/debian/patches/debian/0002-meson-nose2.patch new file mode 100644 index 0000000..19bcc0e --- /dev/null +++ b/debian/patches/debian/0002-meson-nose2.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Updating meson to find /usr/bin/nose2-3 (python3). + +diff -Naurp nvme-cli.orig/tests/meson.build nvme-cli/tests/meson.build +--- nvme-cli.orig/tests/meson.build ++++ nvme-cli/tests/meson.build +@@ -24,7 +24,7 @@ tests = [ + 'nvme_get_lba_status_test', + ] + +-runtests = find_program('nose2', required : false) ++runtests = find_program('nose2-3', required : false) + + if runtests.found() + foreach t : tests diff --git a/debian/patches/series b/debian/patches/series index 20f0183..4878cbb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ debian/0001-systemd.patch +debian/0002-meson-nose2.patch -- cgit v1.2.3