forked from pmem/ndctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git clean -xdf tar zcvf ../ndctl_80.orig.tar.gz --exclude=.git . debuild -uc -us cp ndctl.spec ../ndctl_80-1.spec cp ndctl.rpmlintrc /osc/home\:alvistack/pmem-ndctl-80/ cp ../ndctl*80*.{gz,xz,spec,dsc} /osc/home\:alvistack/pmem-ndctl-80/ rm -rf ../*ndctl*80*.* ../*daxctl*80*.* ../*libcxl*80*.* See pmem#267 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
20 changed files
with
673 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
files | ||
tmp | ||
daxctl | ||
libcxl-dev | ||
libcxl1 | ||
libdaxctl-dev | ||
libdaxctl1 | ||
libndctl-dev | ||
libndctl6 | ||
ndctl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ACTION=="add", SUBSYSTEM=="dax",\ | ||
RUN+="/usr/bin/daxctl -C $env{DEVNAME}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ndctl (100:80-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/pmem/ndctl/releases/tag/v80 | ||
|
||
-- Wong Hoi Sing Edison <[email protected]> Fri, 11 Oct 2024 14:08:08 +0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
Source: ndctl | ||
Maintainer: Ubuntu Developers <[email protected]> | ||
XSBC-Original-Maintainer: Adam Borowski <[email protected]> | ||
Section: libs | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Build-Depends: debhelper-compat (= 10), | ||
debhelper, | ||
pkg-config, | ||
libkmod-dev, | ||
libudev-dev, | ||
libtracefs-dev, | ||
libtraceevent-dev, | ||
uuid-dev, | ||
libjson-c-dev, | ||
bash-completion, | ||
libkeyutils-dev, | ||
libiniparser-dev, | ||
meson, | ||
cmake, | ||
Rules-Requires-Root: no | ||
Homepage: https://github.com/pmem/ndctl/tags | ||
Vcs-Git: https://github.com/kilobyte/ndctl -b debian | ||
Vcs-Browser: https://github.com/kilobyte/ndctl/tree/debian | ||
|
||
Package: ndctl | ||
Section: misc | ||
Architecture: linux-any | ||
Multi-Arch: foreign | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Pre-Depends: ${misc:Pre-Depends} | ||
# RPM-world's name for cxl tools | ||
Provides: cxl-cli | ||
Description: Utility for managing the nvdimm subsystem | ||
The nvdimm subsystem defines a kernel device model and control message | ||
interface for platform NVDIMM resources like those defined by the ACPI 6+ NFIT | ||
(NVDIMM Firmware Interface Table). | ||
. | ||
This package contains a utility for managing the nvdimm (non-volatile memory | ||
device) subsystem in the Linux kernel. | ||
|
||
Package: libndctl6 | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: Utility library for managing the libnvdimm subsystem | ||
The nvdimm subsystem defines a kernel device model and control message | ||
interface for platform NVDIMM resources like those defined by the ACPI 6+ NFIT | ||
(NVDIMM Firmware Interface Table). | ||
. | ||
This package contains a utility library for managing the libnvdimm | ||
(non-volatile memory device) sub-system in the Linux kernel. | ||
|
||
Package: libndctl-dev | ||
Section: libdevel | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: libndctl6 (= ${binary:Version}), ${misc:Depends} | ||
Description: Development files for libndctl | ||
Header files and development library for compiling C programs to link | ||
with the libndctl library and manage the libnvdimm sub-system in the | ||
Linux kernel. | ||
|
||
Package: daxctl | ||
Section: misc | ||
Architecture: linux-any | ||
Multi-Arch: foreign | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: Utility for managing the device DAX subsystem | ||
"DAX" are file system extensions to bypass the page cache and block layer to | ||
mmap persistent memory, from a PMEM block device, directly into a process | ||
address space. | ||
. | ||
This package contains a utility for managing the device DAX subsystem in the | ||
Linux kernel. | ||
|
||
Package: libdaxctl1 | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: Utility library for managing the device DAX subsystem | ||
"DAX" are file system extensions to bypass the page cache and block layer to | ||
mmap persistent memory, from a PMEM block device, directly into a process | ||
address space. | ||
. | ||
This package contains a utility library used by applications to manage the | ||
device DAX subsystem in the Linux kernel. | ||
|
||
Package: libdaxctl-dev | ||
Section: libdevel | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: libdaxctl1 (= ${binary:Version}), ${misc:Depends} | ||
Description: Development files for libdaxctl | ||
Header files and development library for compiling C programs to link | ||
with the libdaxctl library and manage the device DAX subsystem in the | ||
Linux kernel. | ||
|
||
Package: libcxl1 | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: utility library for managing Compute Express Link devices | ||
CXL (Compute Express Link) is a family of PCIe-based protocols that can be | ||
used to connect high-speed I/O and memory devices. This library includes | ||
code to enumerate/query/configure such devices. | ||
|
||
Package: libcxl-dev | ||
Section: libdevel | ||
Architecture: linux-any | ||
Multi-Arch: same | ||
Depends: libcxl1 (= ${binary:Version}), ${misc:Depends} | ||
Description: Development files for libcxl | ||
Header files and development library for compiling C programs to link | ||
with the libcxl library and manage the Compute Express Link subsystem in | ||
the Linux kernel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: ndctl | ||
Source: https://github.com/pmem/ndctl | ||
Copyright: 2013-2018 Intel Corporation | ||
License: LGPL-2.1 | ||
|
||
Files: * | ||
Copyright: 2014-2018 Intel Corporation | ||
License: LGPL-2.1 | ||
|
||
Files: test.h | ||
daxctl/list.c | ||
Copyright: (c) 2015-2017 Intel Corporation | ||
(c) 2013-2016 Intel Corporation | ||
License: GPL-2 | ||
|
||
Files: ccan/* | ||
Copyright: Unknown | ||
License: CC0-1.0 | ||
|
||
Files: ccan/list/* | ||
Copyright: Unknown | ||
License: Expat | ||
|
||
Files: daxctl/daxctl.c | ||
Copyright: (c) 2005 Andreas Ericsson. | ||
(c) 2015-2017 Intel Corporation. All rights reserved | ||
License: GPL-2 | ||
|
||
Files: daxctl/libdaxctl.h | ||
daxctl/lib/libdaxctl-private.h | ||
daxctl/lib/libdaxctl.c | ||
Copyright: (c) 2016, Intel Corporation. | ||
(c) 2014-2016, Intel Corporation. | ||
License: LGPL-2.1 | ||
|
||
Files: ndctl/dimm.c | ||
ndctl/lib/ars.c | ||
ndctl/lib/dimm.c | ||
ndctl/lib/hpe1.c | ||
ndctl/lib/hpe1.h | ||
ndctl/lib/inject.c | ||
ndctl/lib/intel.c | ||
ndctl/lib/intel.h | ||
ndctl/lib/libndctl.c | ||
ndctl/lib/msft.c | ||
ndctl/lib/msft.h | ||
ndctl/lib/nfit.c | ||
ndctl/lib/private.h | ||
ndctl/lib/smart.c | ||
ndctl/libndctl-nfit.h | ||
ndctl/libndctl.h | ||
ndctl/namespace.h | ||
ndctl/ndctl.h | ||
Copyright: 2014-2015, Intel Corporation. | ||
2014-2016, Intel Corporation. | ||
2014-2017, Intel Corporation. | ||
2016, Hewlett Packard Enterprise Development LP | ||
2016, Intel Corporation. | ||
2016-2017, Dell, Inc. | ||
2016-2017, Intel Corporation. | ||
2017, FUJITSU LIMITED. | ||
2017, Hewlett Packard Enterprise Development LP | ||
2017, Intel Corporation. | ||
License: LGPL-2.1 | ||
|
||
Files: ndctl/inject-error.c | ||
ndctl/list.c | ||
ndctl/namespace.c | ||
ndctl/region.c | ||
ndctl/test.c | ||
ndctl/inject-smart.c | ||
ndctl/lib/firmware.c | ||
ndctl/bat.c | ||
ndctl/create-nfit.c | ||
ndctl/check.c | ||
ndctl/action.h | ||
ndctl/bus.c | ||
Copyright: (c) 2015-2017 Intel Corporation. | ||
(c) 2015-2016 Intel Corporation. | ||
(c) 2018 Intel Corporation. | ||
(c) 2014 Intel Corporation. | ||
License: GPL-2 | ||
|
||
Files: ndctl/ndctl.c | ||
Copyright: (c) 2005 Andreas Ericsson. | ||
(c) 2015-2017 Intel Corporation. | ||
License: GPL-2 | ||
|
||
Files: util/* | ||
Copyright: (c) 2015-2017 Intel Corporation. | ||
(c) 2005 Junio C Hamano. | ||
(c) 2005 Linus Torvalds. | ||
(c) 2006 Linus Torvalds. | ||
(c) 2007 Pierre Habouzit. | ||
(c) 2008 Miklos Vajna. | ||
(c) 2009 Akinobu Mita. | ||
License: GPL-2 | ||
|
||
Files: util/log.c | ||
util/log.h | ||
util/sysfs.c | ||
util/sysfs.h | ||
Copyright: 2014-2016, Intel Corporation. | ||
2016, Intel Corporation. | ||
License: LGPL-2.1 | ||
|
||
Files: Documentation/* | ||
Copyright: 2005, Jonas Fonseca | ||
2005, Sergey Vlasov | ||
(c) 2017, Intel Corporation | ||
(c) 2016 - 2017, Intel Corporation | ||
2006, Sean Estabrooks | ||
2009, Chris Johnsen | ||
(c) 2018, Intel Corporation | ||
(c) 2015-2017 Intel Corporation. | ||
License: GPL-2 | ||
|
||
Files: | ||
test/btt-check.sh | ||
test/btt-errors.sh | ||
test/btt-pad-compat.sh | ||
test/clear.sh | ||
test/core.c | ||
test/create.sh | ||
test/dax-errors.c | ||
test/dax-pmd.c | ||
test/dax.sh | ||
test/daxdev-errors.c | ||
test/daxdev-errors.sh | ||
test/device-dax-fio.sh | ||
test/device-dax.c | ||
test/inject-error.sh | ||
test/firmware-update.sh | ||
test/label-compat.sh | ||
test/mmap.sh | ||
test/multi-dax.sh | ||
test/pmem-errors.sh | ||
test/sector-mode.sh | ||
test/smart-listen.c | ||
test/smart-notify.c | ||
test/ack-shutdown-count-set.c | ||
test/rescan-partitions.sh | ||
Copyright: (c) 2015-2017 Intel Corporation. | ||
(c) 2018 Intel Corporation. | ||
License: GPL-2 | ||
|
||
Files: | ||
test/dax-dev.c | ||
test/dsm-fail.c | ||
test/libndctl.c | ||
test/pmem_namespaces.c | ||
Copyright: 2014-2016, Intel Corporation. | ||
2015, Intel Corporation. | ||
License: LGPL-2.1 | ||
|
||
Files: test/mmap.c | ||
Copyright: (c) 2015 Toshi Kani, Hewlett Packard Enterprise. | ||
License: GPL-2 | ||
|
||
License: GPL-2 | ||
On Debian systems, the full text of the GNU General Public | ||
License version 2 can be found in the file | ||
`/usr/share/common-licenses/GPL-2'. | ||
|
||
License: LGPL-2.1 | ||
On Debian systems, the full text of the GNU Lesser General Public | ||
License version 2.1 can be found in the file | ||
`/usr/share/common-licenses/LGPL-2.1'. | ||
|
||
License: CC0-1.0 | ||
To the extent possible under law, the author(s) have dedicated all copyright | ||
and related and neighboring rights to this software to the public domain | ||
worldwide. This software is distributed without any warranty. | ||
. | ||
You should have received a copy of the CC0 Public Domain Dedication along with | ||
this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
. | ||
On Debian systems, the complete text of the CC0 1.0 Universal license can be | ||
found in "/usr/share/common-licenses/CC0-1.0". | ||
|
||
License: Expat | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
. | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
etc/daxctl.conf.d | ||
usr/bin/daxctl | ||
usr/share/bash-completion/completions/daxctl | ||
usr/share/daxctl/daxctl.conf | ||
debian/90-daxctl-device.rules lib/udev/rules.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
usr/include/cxl/*.h | ||
usr/lib/*/libcxl.so | ||
usr/lib/*/pkgconfig/libcxl.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/*/libcxl*so.1* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
usr/include/daxctl/libdaxctl.h | ||
usr/lib/*/libdaxctl.so | ||
usr/lib/*/pkgconfig/libdaxctl.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/*/libdaxctl*so.1* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
usr/include/ndctl/ndctl.h | ||
usr/include/ndctl/libndctl.h | ||
usr/lib/*/libndctl.so | ||
usr/lib/*/pkgconfig/libndctl.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/*/libndctl*so.6* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/lib/init/init-d-script | ||
### BEGIN INIT INFO | ||
# Provides: ndctl-monitor | ||
# Required-Start: $syslog $time $remote_fs | ||
# Required-Stop: $syslog $time $remote_fs | ||
# Default-Start: 2 3 4 5 | ||
# Default-Stop: 0 1 6 | ||
# Short-Description: Ndctl Monitor Daemon | ||
# Description: monitoring of smart events of nvdimm objects | ||
### END INIT INFO | ||
DAEMON=/usr/bin/ndctl | ||
DAEMON_ARGS="monitor --daemon" |
Oops, something went wrong.