|
|
b256da |
Name: ndctl
|
|
|
813f3f |
Version: 64.1
|
|
|
813f3f |
Release: 2%{?dist}
|
|
|
b256da |
Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory)
|
|
|
b256da |
License: GPLv2
|
|
|
b256da |
Group: System Environment/Base
|
|
|
b256da |
Url: https://github.com/pmem/ndctl
|
|
|
b256da |
Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
813f3f |
Source1: dracut-nvdimm-security.conf
|
|
|
813f3f |
|
|
|
813f3f |
Patch0: ndctl-64-disable-asciidoctor.patch
|
|
|
b256da |
|
|
|
b256da |
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
|
|
b256da |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
b256da |
BuildRequires: autoconf
|
|
|
b256da |
BuildRequires: asciidoc
|
|
|
b256da |
BuildRequires: xmlto
|
|
|
b256da |
BuildRequires: automake
|
|
|
b256da |
BuildRequires: libtool
|
|
|
b256da |
BuildRequires: pkgconfig
|
|
|
b256da |
BuildRequires: pkgconfig(libkmod)
|
|
|
b256da |
BuildRequires: pkgconfig(libudev)
|
|
|
b256da |
BuildRequires: pkgconfig(uuid)
|
|
|
b256da |
BuildRequires: pkgconfig(json-c)
|
|
|
b256da |
BuildRequires: pkgconfig(bash-completion)
|
|
|
813f3f |
BuildRequires: pkgconfig(systemd)
|
|
|
813f3f |
BuildRequires: keyutils-libs-devel
|
|
|
b256da |
|
|
|
b256da |
%description
|
|
|
b256da |
Utility library for managing the "libnvdimm" subsystem. The "libnvdimm"
|
|
|
b256da |
subsystem defines a kernel device model and control message interface for
|
|
|
b256da |
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
|
|
|
b256da |
Firmware Interface Table).
|
|
|
b256da |
|
|
|
b256da |
|
|
|
b256da |
%package -n ndctl-devel
|
|
|
b256da |
Summary: Development files for libndctl
|
|
|
b256da |
License: LGPLv2
|
|
|
b256da |
Group: Development/Libraries
|
|
|
b256da |
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
|
|
b256da |
|
|
|
b256da |
%description -n ndctl-devel
|
|
|
b256da |
The %{name}-devel package contains libraries and header files for
|
|
|
b256da |
developing applications that use %{name}.
|
|
|
b256da |
|
|
|
ab4840 |
%package -n daxctl
|
|
|
ab4840 |
Summary: Manage Device-DAX instances
|
|
|
ab4840 |
License: GPLv2
|
|
|
ab4840 |
Group: System Environment/Base
|
|
|
ab4840 |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
ab4840 |
|
|
|
ab4840 |
%description -n daxctl
|
|
|
ab4840 |
The daxctl utility provides enumeration and provisioning commands for
|
|
|
ab4840 |
the Linux kernel Device-DAX facility. This facility enables DAX mappings
|
|
|
ab4840 |
of performance / feature differentiated memory without need of a
|
|
|
ab4840 |
filesystem.
|
|
|
ab4840 |
|
|
|
b256da |
%package -n daxctl-devel
|
|
|
b256da |
Summary: Development files for libdaxctl
|
|
|
b256da |
License: LGPLv2
|
|
|
b256da |
Group: Development/Libraries
|
|
|
b256da |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
b256da |
|
|
|
b256da |
%description -n daxctl-devel
|
|
|
b256da |
The %{name}-devel package contains libraries and header files for
|
|
|
b256da |
developing applications that use %{name}, a library for enumerating
|
|
|
b256da |
"Device DAX" devices. Device DAX is a facility for establishing DAX
|
|
|
b256da |
mappings of performance / feature-differentiated memory.
|
|
|
b256da |
|
|
|
b256da |
|
|
|
b256da |
%package -n ndctl-libs
|
|
|
b256da |
Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
|
|
|
b256da |
License: LGPLv2
|
|
|
b256da |
Group: System Environment/Libraries
|
|
|
b256da |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
b256da |
|
|
|
b256da |
|
|
|
b256da |
%description -n ndctl-libs
|
|
|
b256da |
Libraries for %{name}.
|
|
|
b256da |
|
|
|
b256da |
%package -n daxctl-libs
|
|
|
b256da |
Summary: Management library for "Device DAX" devices
|
|
|
b256da |
License: LGPLv2
|
|
|
b256da |
Group: System Environment/Libraries
|
|
|
b256da |
|
|
|
b256da |
%description -n daxctl-libs
|
|
|
b256da |
Device DAX is a facility for establishing DAX mappings of performance /
|
|
|
b256da |
feature-differentiated memory. daxctl-libs provides an enumeration /
|
|
|
b256da |
control API for these devices.
|
|
|
b256da |
|
|
|
b256da |
|
|
|
b256da |
%prep
|
|
|
b256da |
%setup -q ndctl-%{version}
|
|
|
813f3f |
%patch0 -p1
|
|
|
183882 |
chmod +x test/monitor.sh
|
|
|
b256da |
|
|
|
b256da |
%build
|
|
|
b256da |
echo %{version} > version
|
|
|
b256da |
./autogen.sh
|
|
|
183882 |
%configure --disable-static --disable-silent-rules
|
|
|
b256da |
make %{?_smp_mflags}
|
|
|
b256da |
|
|
|
b256da |
%install
|
|
|
b256da |
%make_install
|
|
|
b256da |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
813f3f |
install -Dp -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/dracut.conf.d/nvdimm-security.conf
|
|
|
b256da |
|
|
|
b256da |
%check
|
|
|
183882 |
# There are x86-isms in the unit tests
|
|
|
183882 |
|
|
|
183882 |
%ifarch x86_64
|
|
|
b256da |
make check
|
|
|
183882 |
%endif
|
|
|
b256da |
|
|
|
b256da |
%post -n ndctl-libs -p /sbin/ldconfig
|
|
|
b256da |
|
|
|
b256da |
%postun -n ndctl-libs -p /sbin/ldconfig
|
|
|
b256da |
|
|
|
b256da |
%post -n daxctl-libs -p /sbin/ldconfig
|
|
|
b256da |
|
|
|
b256da |
%postun -n daxctl-libs -p /sbin/ldconfig
|
|
|
b256da |
|
|
|
b256da |
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
|
|
|
b256da |
|
|
|
b256da |
%files
|
|
|
ab4840 |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
b256da |
%{_bindir}/ndctl
|
|
|
ab4840 |
%{_mandir}/man1/ndctl*
|
|
|
b256da |
%{bashcompdir}/
|
|
|
183882 |
%{_unitdir}/ndctl-monitor.service
|
|
|
813f3f |
%{_sysconfdir}/ndctl/keys/keys.readme
|
|
|
813f3f |
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
|
|
|
813f3f |
%{_sysconfdir}/dracut.conf.d/nvdimm-security.conf
|
|
|
813f3f |
|
|
|
813f3f |
%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf
|
|
|
b256da |
|
|
|
ab4840 |
%files -n daxctl
|
|
|
ab4840 |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
ab4840 |
%{_bindir}/daxctl
|
|
|
ab4840 |
%{_mandir}/man1/daxctl*
|
|
|
813f3f |
%{_datadir}/daxctl/daxctl.conf
|
|
|
ab4840 |
|
|
|
b256da |
%files -n ndctl-libs
|
|
|
b256da |
%doc README.md
|
|
|
ab4840 |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
b256da |
%{_libdir}/libndctl.so.*
|
|
|
b256da |
|
|
|
b256da |
%files -n daxctl-libs
|
|
|
b256da |
%doc README.md
|
|
|
ab4840 |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
b256da |
%{_libdir}/libdaxctl.so.*
|
|
|
b256da |
|
|
|
b256da |
%files -n ndctl-devel
|
|
|
ab4840 |
%license util/COPYING
|
|
|
b256da |
%{_includedir}/ndctl/
|
|
|
b256da |
%{_libdir}/libndctl.so
|
|
|
b256da |
%{_libdir}/pkgconfig/libndctl.pc
|
|
|
b256da |
|
|
|
b256da |
%files -n daxctl-devel
|
|
|
ab4840 |
%license util/COPYING
|
|
|
b256da |
%{_includedir}/daxctl/
|
|
|
b256da |
%{_libdir}/libdaxctl.so
|
|
|
b256da |
%{_libdir}/pkgconfig/libdaxctl.pc
|
|
|
b256da |
|
|
|
b256da |
|
|
|
b256da |
%changelog
|
|
|
813f3f |
* Wed Mar 27 2019 Jeff Moyer <jmoyer@redhat.com> - 64.1-2
|
|
|
813f3f |
- Fix initramfs creating by forcing installation of libnvdimm.ko
|
|
|
813f3f |
- Related: bz#1634348
|
|
|
813f3f |
|
|
|
813f3f |
* Fri Mar 22 2019 Jeff Moyer <jmoyer@redhat.com> - 64.1-1
|
|
|
813f3f |
- Rebase to v64.1 (Jeff Moyer)
|
|
|
813f3f |
- add security commands
|
|
|
813f3f |
- fix broken udev rule for dirty shutdown count
|
|
|
813f3f |
- Resolves: bz#1634348 bz#1635441
|
|
|
813f3f |
|
|
|
183882 |
* Thu Aug 23 2018 Jeff Moyer <jmoyer@redhat.com> - 62-1
|
|
|
183882 |
- Rebase to v62 (Jeff Moyer)
|
|
|
183882 |
- a new monitor command / daemon
|
|
|
183882 |
- an ndctl udev rule for recording the unsafe shutdown count
|
|
|
183882 |
- smart error injection
|
|
|
183882 |
- create-namespace fix for fragmented namespaces
|
|
|
183882 |
- Resolves: bz#1610649 bz#1611833 bz#1456320
|
|
|
183882 |
|
|
|
183882 |
* Mon Jul 30 2018 Jeff Moyer <jmoyer@redhat.com> - 60.3-4
|
|
|
183882 |
- Apply all patches (Jeff Moyer)
|
|
|
183882 |
- Related: bz#1456320
|
|
|
183882 |
|
|
|
183882 |
* Mon Jul 30 2018 Jeff Moyer <jmoyer@redhat.com> - 60.3-3
|
|
|
183882 |
- Add monitor daemon (Jeff Moyer)
|
|
|
183882 |
- Resolves: bz#1456320
|
|
|
183882 |
|
|
|
183882 |
* Mon Jul 30 2018 Jeff Moyer <jmoyer@redhat.com> - 60.3-2.1
|
|
|
183882 |
- Remove the btt.rules udev rule file. This was fixed in-kernel. (Jeff Moyer)
|
|
|
183882 |
- Related: bz#1585122
|
|
|
183882 |
|
|
|
183882 |
* Thu Jun 14 2018 Jeff Moyer <jmoyer@redhat.com> - 60.3-2
|
|
|
183882 |
- Fix an issue where btt partitions were not showing up (Jeff Moyer)
|
|
|
183882 |
- Resolves: bz#1585122
|
|
|
183882 |
|
|
|
183882 |
* Fri Jun 8 2018 Jeff Moyer <jmoyer@redhat.com> - 60.3-1
|
|
|
183882 |
- Rebase to v60.3
|
|
|
183882 |
- Resolves: bz#1517753
|
|
|
183882 |
|
|
|
4e69d4 |
* Fri Oct 20 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-3
|
|
|
4e69d4 |
- fix more static checker issues
|
|
|
4e69d4 |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
4e69d4 |
|
|
|
4e69d4 |
* Fri Oct 20 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-2
|
|
|
4e69d4 |
- add in missing patch files
|
|
|
4e69d4 |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
4e69d4 |
|
|
|
4e69d4 |
* Mon Oct 16 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-1
|
|
|
4e69d4 |
- rebase to v58.2
|
|
|
4e69d4 |
- remove patches that were backported from later versions
|
|
|
4e69d4 |
- we now support >4k faults, so remove rhel-only patches
|
|
|
4e69d4 |
- add libpmem dependency, and gate it on x86_64
|
|
|
4e69d4 |
- pull in static checker fix for uncheck sscanf result
|
|
|
4e69d4 |
- fix up use of uninitialized variable
|
|
|
4e69d4 |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
4e69d4 |
|
|
|
ab4840 |
* Tue May 30 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
|
|
|
ab4840 |
- bump release
|
|
|
ab4840 |
- Related: bz#1440902 bz#1446689
|
|
|
ab4840 |
|
|
|
ab4840 |
* Wed May 24 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
|
|
|
ab4840 |
- Update documentation to reflect 4k alignment
|
|
|
ab4840 |
- Add support for the MSFT family of DSM functions
|
|
|
ab4840 |
- Resolves: bz#1440902 bz#1446689
|
|
|
ab4840 |
|
|
|
ab4840 |
* Sun Mar 26 2017 Jeff Moyer <jmoyer@redhat.com> - 56-1
|
|
|
ab4840 |
- Rebase to upstream version 56
|
|
|
ab4840 |
- Default to 4k alignment for device dax
|
|
|
ab4840 |
- Resolves: bz#1384873 bz#1384642 bz#1349233 bz#1357451
|
|
|
ab4840 |
|
|
|
b256da |
* Mon Aug 29 2016 Dave Anderson <anderson@redhat.com> - 54.1
|
|
|
b256da |
- Update to 54.1 to address ixpdimm_sw requirements
|
|
|
b256da |
- Resolves bz#1271425
|
|
|
b256da |
|
|
|
b256da |
* Wed Jul 6 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-4
|
|
|
b256da |
- Fix up duplicate "-v" documentation in man page
|
|
|
b256da |
- Fix bogus test in invalidate_namespace_options
|
|
|
b256da |
- Resolves: bz#1350404 bz#1271425
|
|
|
b256da |
|
|
|
b256da |
* Mon Jun 20 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-3
|
|
|
b256da |
- make ndctl Require ndctl-libs-{version}-{release}
|
|
|
b256da |
- Resolves bz#1271425
|
|
|
b256da |
|
|
|
b256da |
* Wed Jun 1 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-2
|
|
|
b256da |
- initial import for RHEL
|
|
|
b256da |
- Resolves bz#1271425
|
|
|
b256da |
|
|
|
b256da |
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
|
|
|
b256da |
- add daxctl-libs + daxctl-devel packages
|
|
|
b256da |
- add bash completion
|
|
|
b256da |
|
|
|
b256da |
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
|
|
|
b256da |
- Initial rpm submission to Fedora
|