Commit Graph

13 Commits

Author SHA1 Message Date
Alberto Faria
1b341cf10b Remove fix-nix-ioctl-feature.patch
This patch is no longer being used since version 1.3.0.

Signed-off-by: Alberto Faria <afaria@redhat.com>
2023-10-02 13:53:00 +01:00
Richard W.M. Jones
e910e79c77 Remove const-cstr dependency (RHBZ#2214208) 2023-08-14 14:23:53 +01:00
Yaakov Selkowitz
b24d95efc8 Use vendored dependencies in RHEL builds
RHEL does not package individual Rust dependencies.
2023-07-20 12:48:47 -04:00
Yaakov Selkowitz
ce85e23e0b Update to 1.3.0 2023-07-20 12:48:47 -04:00
Fedora Release Engineering
1d0aea47f1 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 10:23:22 +00:00
Richard W.M. Jones
b11cebd4b9 Add %changelog entry 2023-04-19 10:19:07 +01:00
Stefan Hajnoczi
ebf92608f5 Patch Cargo.toml files to enable nix "ioctl" feature
The nix "ioctl" feature is used by both the blkio and virtio-driver
crates. Neither of them enables it explicitly and this can lead to a
compilation failure:

  error[E0432]: unresolved imports `nix::ioctl_none`, `nix::ioctl_read`, `nix::ioctl_write_ptr`
    --> virtio-driver/src/transports/vhost_vdpa/vhost_vdpa_kernel.rs:17:15
     |
  17 |     use nix::{ioctl_none, ioctl_read, ioctl_write_ptr, unistd::write};
     |               ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `ioctl_write_ptr` in the root
     |               |           |
     |               |           no `ioctl_read` in the root
     |               no `ioctl_none` in the root
  error: cannot determine resolution for the macro `ioctl_read`

Fabio Valentini <decathorpe@gmail.com> identified the root cause:

  The "virtio-driver" crate depends on nix v0.24 with "default-features
  = false", however, the code obviously imports items from "nix" that
  are only present if the "ioctl" feature is enabled. This used to work
  "by accident" because some other crate in libblkio's dependency tree
  used to pull in nix v0.24 with default features enabled. This no
  longer seems to be the case (hard to tell what changed, since koschei
  was not enabled).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2023-04-18 17:23:40 -04:00
Stefan Hajnoczi
18a2b40283 Update overall license to include crate dependencies
The overall license of the libblkio binary is not just the Apache-2.0 OR
MIT license of the libblkio code, but also that of all crate
dependencies.

The licenses were determined as follows:

  $ cargo license
  (MIT OR Apache-2.0) AND BSD-3-Clause (1): virtio-driver
  (MIT OR Apache-2.0) AND Unicode-DFS-2016 (1): unicode-ident
  Apache-2.0 OR BSD-3-Clause (1): virtio-bindings
  Apache-2.0 OR MIT (17): autocfg, bitflags, blkio, cc, cfg-if, concat-idents, const-cstr, io-uring, lazy_static, libblkio, libc, memmap2, num-traits, pci-driver, proc-macro2, quote, syn
  MIT (1): nix

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2023-03-09 17:10:29 -05:00
Fabio Valentini
e96ec911ce
Rebuild for fixed frame pointer compiler flags in Rust RPM macros 2023-02-05 19:52:25 +01:00
Fedora Release Engineering
707304abcd Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 15:54:10 +00:00
Richard W.M. Jones
13a4b5ec1f Remove initial README 2023-01-11 12:35:21 +00:00
Richard W.M. Jones
580b2b89b3 Initial import
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2124697
2023-01-11 12:34:16 +00:00
releng bot
fdfde8b21c Added the README 2023-01-11 12:30:13 +00:00