diff --git a/0001-build-disable-sysfs-test.patch b/0001-build-disable-sysfs-test.patch new file mode 100644 index 0000000..e08bbcf --- /dev/null +++ b/0001-build-disable-sysfs-test.patch @@ -0,0 +1,28 @@ +From 6ec2c60668edd79d78552c0345e40bab52e3aa33 Mon Sep 17 00:00:00 2001 +From: Daniel Wagner +Date: Wed, 14 Feb 2024 14:19:07 +0100 +Subject: [PATCH] build: disable sysfs test + +The test is not running stable in OSC environment. This is a new test +which is running stable in the upstream CI builds. So this is something +downstream and needs some more digging. + +Signed-off-by: Daniel Wagner +--- + test/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/meson.build b/test/meson.build +index 93e69991d6d7..a76f57973b6f 100644 +--- a/test/meson.build ++++ b/test/meson.build +@@ -99,5 +99,5 @@ subdir('ioctl') + subdir('nbft') + + if json_c_dep.found() +- subdir('sysfs') ++# subdir('sysfs') + endif +-- +2.43.0 + diff --git a/_service b/_service index 5110f3a..1a82b4a 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@+@TAG_OFFSET@.g%h - 13ba383 + bff7dda v(.*) enable diff --git a/_servicedata b/_servicedata index 237a9a0..b8fb67a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 13ba38387e5446849ae59d3ccd8183cf9aca3145 + bff7dda7e2a0f883d0b89e23fed725c916de3e61 \ No newline at end of file diff --git a/libnvme-1.7.1+0.g13ba383.obscpio b/libnvme-1.7.1+0.g13ba383.obscpio deleted file mode 100644 index 643b0e9..0000000 --- a/libnvme-1.7.1+0.g13ba383.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:543497ebda2a823c3b6bf537343c6aacadab7d33daf8a00d59f48ef9ed277171 -size 3076108 diff --git a/libnvme-1.8+0.gbff7dda.obscpio b/libnvme-1.8+0.gbff7dda.obscpio new file mode 100644 index 0000000..7c49d3a --- /dev/null +++ b/libnvme-1.8+0.gbff7dda.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1659eadfaf944a4a9e1cb65957240168a7239045419168628ae94c1c06e2281a +size 3110924 diff --git a/libnvme.changes b/libnvme.changes index 5ba84f7..c68e85d 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Wed Feb 14 12:04:28 UTC 2024 - Daniel Wagner + +- Update to version 1.8+0.gbff7dda: + * linux: Explicitly initialize auto-cleanup variables + * example: fix mi identify failed with error cntid + * tree: do not issue an error when subsys lookup fails during scanning + * types: Add controller properties CMBEBS, CMBSWTP and NSSD + * tests: Add sample NBFT table from Dell PowerEdge R660 + * tests: Add sample NBFT table from Dell PowerEdge R760 + * tests: Fix diffs output for duplicate HFI entries + * nbft: avoid duplicate entries in ssns->hfis + * nbft: Fix (struct nbft_info_subsystem_ns).num_hfis off-by-one + * test: read and dump sysfs tar file + * nvme: allow to overwrite hostnqn and hostid + * nvme: allow to overwrite base sysfs path + * json: dump the output to the user selected filedescriptor + * libnvme: export nvme_dump_tree + * fabrics: add 'concat' option + * mi: set correct rc and errno when crc mismatch + * tree: use logical block size for lba + * json-schema: add keyring and tls_key details (bsc#1219086) + * build: checkout full repo for checkpatch + * linux: avoid segfault in check-tls-key due to null hostnqn/subsysnqn (bsc#1219086) + * meson.build: fixup 'join' syntax + * util: Explicitly initialize auto-cleanup variables + * tree: Explicitly initialize auto-cleanup variables + * linux: Explicitly initialize auto-cleanup variables + * fabrics: Explicitly initialize auto-cleanup variables + * util: Added function to find specific UUID in UUID list. + * build: fix release python tag match +- Disable new unit test which is not running stable in OSB + * add 0001-build-disable-sysfs-test.patch + ------------------------------------------------------------------- Wed Dec 20 10:10:56 UTC 2023 - Daniel Wagner @@ -23,7 +57,7 @@ Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner * libnvme: reshuffle nvme_generate_tls_key_identity() * libnvme: fixup error codes * libnvme: Implement 'nvme_generate_tls_key_identity()' - * libnvme: support NVMe TLS identities version 1 + * libnvme: support NVMe TLS identities version 1 (bsc#1219086) * libnvme: Add base64 functions * libnvme: separate out 'gen_tls_identity' and reshuffle 'derive_nvme_keys' * libnvme: separate out a function 'select_hmac' @@ -34,7 +68,7 @@ Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner * fabrics: fetch smaller Discovery Log Page header * fabrics: avoid redundant Get Log Page on retry * fabrics: clear RAE for discovery log page commands - * json-schema: add keyring and tls_key details + * json-schema: add keyring and tls_key details (bsc#1219086) * types: add Host Behavior Support field definitions * mi: Cast values to u32 if shift overflows int * types: Cast values to u32 if shift overflows int @@ -43,7 +77,7 @@ Tue Dec 19 13:26:50 UTC 2023 - Daniel Wagner * types: add cross-namespace copy formats, status codes, ONCS bits * nvme: Add length field to Hkdf-Expand-Label computation * ioctl: use lsp arg in nvme_get_log_boot_partition - * fabrics: use SECTYPE to determine whether to use TLS + * fabrics: use SECTYPE to determine whether to use TLS (bsc#1219086) * fabrics: Allocate aligned payloads for id_ctrl and discovery log calls * linux: Allocate aligned payloads for id_ctrl and id_ns calls * ioctl: MSB variable-size storage/reference tags diff --git a/libnvme.obsinfo b/libnvme.obsinfo index cd32709..35765b7 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.7.1+0.g13ba383 -mtime: 1703065918 -commit: 13ba38387e5446849ae59d3ccd8183cf9aca3145 +version: 1.8+0.gbff7dda +mtime: 1707903643 +commit: bff7dda7e2a0f883d0b89e23fed725c916de3e61 diff --git a/libnvme.spec b/libnvme.spec index 41c15cb..4312a2e 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -1,7 +1,7 @@ # # spec file for package libnvme # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,12 +21,13 @@ %bcond_without check Name: libnvme -Version: 1.7.1+0.g13ba383 +Version: 1.8+0.gbff7dda Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz +Patch001: 0001-build-disable-sysfs-test.patch BuildRequires: dbus-1-devel BuildRequires: gcc BuildRequires: gcc-c++