-
Notifications
You must be signed in to change notification settings - Fork 51
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 #2252 from flatcar/chewi/azure-nvme-utils
azure-nvme-utils: Migrate coreos-overlay to portage-stable, 0.2.0 bump
- Loading branch information
Showing
10 changed files
with
51 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- azure-nmve-utils ([0.2.0](https://github.com/Azure/azure-nvme-utils/releases/tag/v0.2.0)) |
1 change: 0 additions & 1 deletion
1
sdk_container/src/third_party/coreos-overlay/app-admin/azure-nvme-utils/Manifest
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...rc/third_party/coreos-overlay/app-admin/azure-nvme-utils/azure-nvme-utils-0.0.0-r1.ebuild
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/portage-stable/sys-apps/azure-nvme-utils/Manifest
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 @@ | ||
DIST azure-nvme-utils-0.2.0.tar.gz 13177 BLAKE2B 5c486d035422ea6547e2886324e0b6e2537d11089bc0b3dfd550130e82ab8de8cc9a5be8e3bfd0722cb71c17a66c261f0cfd021e4a48e5568de01dd0c052fbbc SHA512 4ef2de641839bfbcc2e1a084cec218d1105550366770d731bb7a3e5d4b4e45a47b21ccf9a3a8069f469389e1d27e485bfed235a55d398930bddc8829eebc2708 |
30 changes: 30 additions & 0 deletions
30
...er/src/third_party/portage-stable/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild
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,30 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit cmake udev | ||
|
||
DESCRIPTION="Utility to help identify Azure NVMe devices" | ||
HOMEPAGE="https://github.com/Azure/azure-nvme-utils" | ||
SRC_URI="https://github.com/Azure/${PN}/archive/refs/tags/v${PV}/${P}.tar.gz" | ||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64" | ||
IUSE="+lun-fallback" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DAZURE_LUN_CALCULATION_BY_NSID_ENABLED=$(usex lun-fallback) | ||
-DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d" | ||
) | ||
cmake_src_configure | ||
} | ||
|
||
pkg_postinst() { | ||
udev_reload | ||
} | ||
|
||
pkg_postrm() { | ||
udev_reload | ||
} |
14 changes: 14 additions & 0 deletions
14
sdk_container/src/third_party/portage-stable/sys-apps/azure-nvme-utils/metadata.xml
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>chewi@gentoo.org</email> | ||
<name>James Le Cuirot</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">Azure/azure-nvme-utils</remote-id> | ||
</upstream> | ||
<use> | ||
<flag name="lun-fallback">Enable fallback LUN calculation via NSID</flag> | ||
</use> | ||
</pkgmetadata> |