Skip to content

Commit 2a53300

Browse files
authored
Add azure-vm-utils 0.7.0 to core repo in azure linux (#15915)
1 parent 36f452e commit 2a53300

File tree

5 files changed

+88
-1
lines changed

5 files changed

+88
-1
lines changed

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,6 +3170,7 @@
31703170
"Source project": {
31713171
"license": "Same as the source project.",
31723172
"specs": [
3173+
"azure-vm-utils",
31733174
"python-nocaselist"
31743175
]
31753176
},
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"azure-vm-utils-0.7.0.tar.gz": "86f74ab16363a8d65cb37d4b25735570105307479002b990f4365bd2a15efdd9"
4+
}
5+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
%global dracutmodulesdir %(pkg-config --variable=dracutmodulesdir dracut || echo '/usr/lib/dracut/modules.d')
2+
3+
Name: azure-vm-utils
4+
Version: 0.7.0
5+
Release: 1%{?dist}
6+
Summary: Utilities and udev rules for Linux on Azure
7+
Vendor: Microsoft Corporation
8+
Distribution: Azure Linux
9+
License: MIT
10+
URL: https://github.com/Azure/%{name}
11+
Source0: https://github.com/Azure/azure-vm-utils/archive/refs/tags/v0.7.0.tar.gz#/%{name}-%{version}.tar.gz
12+
13+
BuildRequires: binutils
14+
BuildRequires: cmake
15+
BuildRequires: gcc
16+
BuildRequires: glibc-devel
17+
BuildRequires: json-c-devel
18+
BuildRequires: kernel-headers
19+
BuildRequires: libcmocka-devel
20+
BuildRequires: make
21+
Requires: mdadm
22+
Requires: util-linux
23+
24+
%description
25+
A collection of utilities and udev rules to make the most of the Linux
26+
experience on Azure.
27+
28+
%package selftest
29+
Summary: Self-test script for Azure VM Utils
30+
Requires: %{name} = %{version}-%{release}
31+
Requires: python3
32+
33+
%description selftest
34+
This package contains the self-test script for the Azure VM Utils package.
35+
36+
%prep
37+
%autosetup
38+
39+
%build
40+
%cmake -DVERSION="%{version}-%{release}"
41+
%cmake_build
42+
43+
%install
44+
%cmake_install
45+
mkdir -p %{buildroot}%{dracutmodulesdir}
46+
cp -a initramfs/dracut/modules.d/* %{buildroot}%{dracutmodulesdir}
47+
48+
%check
49+
%ctest
50+
51+
%files
52+
%{_libdir}/dracut/modules.d/97azure-disk/module-setup.sh
53+
%{_libdir}/dracut/modules.d/97azure-unmanaged-sriov/module-setup.sh
54+
%{_libdir}/systemd/network/01-azure-unmanaged-sriov.network
55+
%{_libdir}/systemd/system/azure-ephemeral-disk-setup.service
56+
%{_libdir}/udev/rules.d/10-azure-unmanaged-sriov.rules
57+
%{_libdir}/udev/rules.d/80-azure-disk.rules
58+
%{_sbindir}/azure-ephemeral-disk-setup
59+
%{_sbindir}/azure-nvme-id
60+
%{_mandir}/man8/azure-ephemeral-disk-setup.8.gz
61+
%{_mandir}/man8/azure-nvme-id.8.gz
62+
%{_sysconfdir}/azure-ephemeral-disk-setup.conf
63+
64+
%files selftest
65+
%{_sbindir}/azure-vm-utils-selftest
66+
%{_mandir}/man8/azure-vm-utils-selftest.8.gz
67+
68+
%changelog
69+
* Thu Feb 19 2026 Sumit Jena (HCL Technologies Ltd) - 0.7.0-1
70+
- Initial Azure Linux import from the source project (license: same as "License" tag).
71+
- License verified.

cgmanifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,16 @@
900900
}
901901
}
902902
},
903+
{
904+
"component": {
905+
"type": "other",
906+
"other": {
907+
"name": "azure-vm-utils",
908+
"version": "0.7.0",
909+
"downloadUrl": "https://github.com/Azure/azure-vm-utils/archive/refs/tags/v0.7.0.tar.gz"
910+
}
911+
}
912+
},
903913
{
904914
"component": {
905915
"type": "other",

0 commit comments

Comments
 (0)