sys-apps/azure-vm-utils: Sync with Gentoo

It's from Gentoo commit d4db23aa5ffc4aa364f56c359454db5dcf29a371.
This commit is contained in:
Krzesimir Nowak 2024-10-09 13:01:08 +02:00
parent b6521ed188
commit 236e7d244c
3 changed files with 4 additions and 9 deletions

View File

@ -1 +1 @@
DIST azure-nvme-utils-0.2.0.tar.gz 13177 BLAKE2B 5c486d035422ea6547e2886324e0b6e2537d11089bc0b3dfd550130e82ab8de8cc9a5be8e3bfd0722cb71c17a66c261f0cfd021e4a48e5568de01dd0c052fbbc SHA512 4ef2de641839bfbcc2e1a084cec218d1105550366770d731bb7a3e5d4b4e45a47b21ccf9a3a8069f469389e1d27e485bfed235a55d398930bddc8829eebc2708
DIST azure-vm-utils-0.3.0.tar.gz 15680 BLAKE2B b739299bda66dd594172e95ae0fe99155d1c101af4e20a012ce5dce658ee0648f802b5c4ec199d76bd650967abac763fea81a2e0202168fc74cd92fd25900956 SHA512 00eb9b0781f5070a35e921ee58d691cf4d530c695e6673fcb24fefbfefc9d869e0ccfab213dbb5ea78d2f93ef829aded3de1c411ccd24b03e52e564895bb2ed8

View File

@ -5,17 +5,15 @@ EAPI=8
inherit cmake udev
DESCRIPTION="Utility to help identify Azure NVMe devices"
HOMEPAGE="https://github.com/Azure/azure-nvme-utils"
DESCRIPTION="Utilities and udev rules to support Linux on Azure"
HOMEPAGE="https://github.com/Azure/azure-vm-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

View File

@ -6,9 +6,6 @@
<name>James Le Cuirot</name>
</maintainer>
<upstream>
<remote-id type="github">Azure/azure-nvme-utils</remote-id>
<remote-id type="github">Azure/azure-vm-utils</remote-id>
</upstream>
<use>
<flag name="lun-fallback">Enable fallback LUN calculation via NSID</flag>
</use>
</pkgmetadata>