Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions LICENSES-AND-NOTICES/SPECS/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -3167,6 +3167,7 @@
"Source project": {
"license": "Same as the source project.",
"specs": [
"azure-vm-utils",
"python-nocaselist"
]
},
Expand Down
5 changes: 5 additions & 0 deletions SPECS/azure-vm-utils/azure-vm-utils.signatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Signatures": {
"azure-vm-utils-0.7.0.tar.gz": "86f74ab16363a8d65cb37d4b25735570105307479002b990f4365bd2a15efdd9"
}
}
71 changes: 71 additions & 0 deletions SPECS/azure-vm-utils/azure-vm-utils.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
%global dracutmodulesdir %(pkg-config --variable=dracutmodulesdir dracut || echo '/usr/lib/dracut/modules.d')

Name: azure-vm-utils
Version: 0.7.0
Release: 1%{?dist}
Summary: Utilities and udev rules for Linux on Azure
Vendor: Microsoft Corporation
Distribution: Azure Linux
License: MIT
URL: https://github.com/Azure/%{name}
Source0: https://github.com/Azure/azure-vm-utils/archive/refs/tags/v0.7.0.tar.gz#/%{name}-%{version}.tar.gz

BuildRequires: binutils
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: json-c-devel
BuildRequires: kernel-headers
BuildRequires: libcmocka-devel
BuildRequires: make
Requires: mdadm
Requires: util-linux

%description
A collection of utilities and udev rules to make the most of the Linux
experience on Azure.

%package selftest
Summary: Self-test script for Azure VM Utils
Requires: %{name} = %{version}-%{release}
Requires: python3

%description selftest
This package contains the self-test script for the Azure VM Utils package.

%prep
%autosetup

%build
%cmake -DVERSION="%{version}-%{release}"
%cmake_build

%install
%cmake_install
mkdir -p %{buildroot}%{dracutmodulesdir}
cp -a initramfs/dracut/modules.d/* %{buildroot}%{dracutmodulesdir}

%check
%ctest

%files
%{_libdir}/dracut/modules.d/97azure-disk/module-setup.sh
%{_libdir}/dracut/modules.d/97azure-unmanaged-sriov/module-setup.sh
%{_libdir}/systemd/network/01-azure-unmanaged-sriov.network
%{_libdir}/systemd/system/azure-ephemeral-disk-setup.service
%{_libdir}/udev/rules.d/10-azure-unmanaged-sriov.rules
%{_libdir}/udev/rules.d/80-azure-disk.rules
%{_sbindir}/azure-ephemeral-disk-setup
%{_sbindir}/azure-nvme-id
%{_mandir}/man8/azure-ephemeral-disk-setup.8.gz
%{_mandir}/man8/azure-nvme-id.8.gz
%{_sysconfdir}/azure-ephemeral-disk-setup.conf

%files selftest
%{_sbindir}/azure-vm-utils-selftest
%{_mandir}/man8/azure-vm-utils-selftest.8.gz

%changelog
* Thu Feb 19 2026 Sumit Jena (HCL Technologies Ltd) - 0.7.0-1
- Initial Azure Linux import from the source project (license: same as "License" tag).
- License verified.
10 changes: 10 additions & 0 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "azure-vm-utils",
"version": "0.7.0",
"downloadUrl": "https://github.com/Azure/azure-vm-utils/archive/refs/tags/v0.7.0.tar.gz"
}
}
},
{
"component": {
"type": "other",
Expand Down
Loading