app-admin/azure-nvme-utils: Add to coreos

This is a new package that is being developed to handle providing
symlinks for nvme disks (os,data,temporary) on newer Azure instances.
It needs to be part of the OS, and not oem-azure, because it carries
udev rules.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2024-04-18 15:43:57 +00:00
parent 9556c7f94b
commit c7363daab5
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST azure-nvme-utils-0.0.0-1a1167d1d7780068d0af5afc3ad18a2601e951fe.zip 15473 BLAKE2B c57bc01b53bb52b0d958e6eac0d7df5b08023024dbf197f236229174fed2e8d295a4d66f123a2914f8ff11a70df83db7e7cafa56242a80c925bff53032b38b4e SHA512 48739a5da9e7fdba9c26df803354925ff508f4bb872f9dfde7461b6fec70648e1daaa7c1468960467d19243c6b3c871dd4bf060fa85e22f5576083d2a19385ed

View File

@ -0,0 +1,28 @@
# Copyright 2024 Flatcar Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
GIT_COMMIT="1a1167d1d7780068d0af5afc3ad18a2601e951fe"
DESCRIPTION="Azure NVMe utilities"
HOMEPAGE="https://github.com/Azure/azure-nvme-utils"
SRC_URI="https://github.com/Azure/azure-nvme-utils/archive/${GIT_COMMIT}.zip -> ${P}-${GIT_COMMIT}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
src_configure() {
local mycmakeargs=(
-DVERSION="${PVR}-${GIT_COMMIT}"
)
cmake_src_configure
}

View File

@ -81,6 +81,7 @@ RDEPEND="${RDEPEND}
# sys-devel/gettext: it embeds 'envsubst' binary which is useful for simple file templating. # sys-devel/gettext: it embeds 'envsubst' binary which is useful for simple file templating.
RDEPEND="${RDEPEND} RDEPEND="${RDEPEND}
app-admin/azure-nvme-utils
app-admin/etcd-wrapper app-admin/etcd-wrapper
app-admin/flannel-wrapper app-admin/flannel-wrapper
app-admin/locksmith app-admin/locksmith