-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from Dennisbonke/nvme
- Loading branch information
Showing
3 changed files
with
114 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -709,6 +709,49 @@ packages: | |
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' | ||
|
||
- name: nvme-cli | ||
architecture: '@OPTION:arch@' | ||
metadata: | ||
summary: NVM-Express user space tooling for Linux | ||
description: NVM-Express user space tooling for Linux. | ||
spdx: 'GPL-2.0-or-later' | ||
website: 'https://github.com/linux-nvme/nvme-cli' | ||
maintainer: "Dennis Bonke <[email protected]>" | ||
categories: ['sys-apps'] | ||
source: | ||
subdir: 'ports' | ||
git: 'https://github.com/linux-nvme/nvme-cli.git' | ||
tag: 'v2.11' | ||
version: '2.11' | ||
tools_required: | ||
- system-gcc | ||
- virtual: pkgconfig-for-target | ||
triple: "@OPTION:arch-triple@" | ||
pkgs_required: | ||
- mlibc | ||
- libnvme | ||
- json-c | ||
- zlib | ||
revision: 1 | ||
configure: | ||
- args: | ||
- 'meson' | ||
- 'setup' | ||
- '--cross-file' | ||
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]' | ||
- '--prefix=/usr' | ||
- '--sysconfdir=/etc' | ||
- '--buildtype=release' | ||
- '@THIS_SOURCE_DIR@' | ||
build: | ||
- args: ['ninja'] | ||
- args: ['ninja', 'install'] | ||
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' | ||
- args: ['rm', '-r', '@THIS_COLLECT_DIR@/usr/share/zsh'] # Nuke zsh | ||
- args: ['rm', '-r', '@THIS_COLLECT_DIR@/usr/lib/systemd'] # Nuke systemd | ||
- args: ['rm', '-r', '@THIS_COLLECT_DIR@/usr/lib/dracut'] # Nuke dracut | ||
|
||
- name: pciutils | ||
architecture: '@OPTION:arch@' | ||
metadata: | ||
|
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 |
---|---|---|
|
@@ -233,6 +233,52 @@ packages: | |
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' | ||
|
||
- name: libnvme | ||
architecture: '@OPTION:arch@' | ||
metadata: | ||
summary: C Library for NVM Express on Linux | ||
description: This package provides a library which provides type definitions for NVMe specification structures, enumerations, and bit fields, helper functions to construct, dispatch, and decode commands a> | ||
spdx: 'LGPL-2.1-or-later' | ||
website: 'https://github.com/linux-nvme/libnvme' | ||
maintainer: "Dennis Bonke <[email protected]>" | ||
categories: ['sys-libs'] | ||
source: | ||
subdir: ports | ||
git: 'https://github.com/linux-nvme/libnvme.git' | ||
tag: 'v1.11.1' | ||
version: '1.11.1' | ||
tools_required: | ||
- system-gcc | ||
- host-pkg-config | ||
- virtual: pkgconfig-for-target | ||
triple: "@OPTION:arch-triple@" | ||
pkgs_required: | ||
- mlibc | ||
- json-c | ||
- dbus | ||
- openssl | ||
- util-linux-libs | ||
revision: 1 | ||
configure: | ||
- args: | ||
- 'meson' | ||
- 'setup' | ||
- '--cross-file' | ||
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]' | ||
- '--prefix=/usr' | ||
- '-Dbuildtype=release' | ||
- '-Dpython=disabled' | ||
- '-Djson-c=enabled' | ||
- '-Dlibdbus=enabled' | ||
- '-Dopenssl=enabled' | ||
- '-Dtests=false' | ||
- '@THIS_SOURCE_DIR@' | ||
build: | ||
- args: ['ninja'] | ||
- args: ['ninja', 'install'] | ||
environ: | ||
DESTDIR: '@THIS_COLLECT_DIR@' | ||
|
||
- name: libxcrypt | ||
labels: [aarch64, riscv64] | ||
architecture: '@OPTION:arch@' | ||
|
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,25 @@ | ||
From 1da5792c2a07b44ca88564bd6f0a2338d2df9b8a Mon Sep 17 00:00:00 2001 | ||
From: Dennis Bonke <[email protected]> | ||
Date: Tue, 24 Dec 2024 01:39:32 +0100 | ||
Subject: [PATCH] Add missing include | ||
|
||
Signed-off-by: Dennis Bonke <[email protected]> | ||
--- | ||
plugins/sed/sedopal_cmd.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/plugins/sed/sedopal_cmd.c b/plugins/sed/sedopal_cmd.c | ||
index 017649d..ba64c39 100644 | ||
--- a/plugins/sed/sedopal_cmd.c | ||
+++ b/plugins/sed/sedopal_cmd.c | ||
@@ -7,6 +7,7 @@ | ||
#include <string.h> | ||
#include <unistd.h> | ||
#include <errno.h> | ||
+#include <endian.h> | ||
#include <sys/types.h> | ||
#include <sys/ioctl.h> | ||
#include <sys/mount.h> | ||
-- | ||
2.45.2 | ||
|