From b5028a38792e0b78b7e9da648bc8b3da9f0f5f90 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 14 2021 08:09:17 +0000 Subject: import WALinuxAgent-2.2.49.2-3.el8 --- diff --git a/SPECS/WALinuxAgent.spec b/SPECS/WALinuxAgent.spec index 9cedeb8..8c665e9 100644 --- a/SPECS/WALinuxAgent.spec +++ b/SPECS/WALinuxAgent.spec @@ -1,7 +1,7 @@ Summary: Microsoft Azure Linux Agent Name: WALinuxAgent Version: 2.2.49.2 -Release: 2%{?dist} +Release: 3%{?dist} License: ASL 2.0 Group: Development/Libraries @@ -17,6 +17,7 @@ Patch3: wla-Fixed-faulty-check-for-run_command-2093.patch # rhel requirements BuildRequires: python3-devel BuildRequires: python3-setuptools +Requires: %name-udev = %version-%release Requires: openssh Requires: openssh-server Requires: openssl @@ -34,6 +35,11 @@ The Azure Linux Agent supports the provisioning and running of Linux VMs in the Azure cloud. This package should be installed on Linux disk images that are built to run in the Azure environment. +%package udev +Summary: Udev rules for Microsoft Azure + +%description udev +Udev rules specific to Microsoft Azure Virtual Machines. %prep %setup -q @@ -49,6 +55,9 @@ images that are built to run in the Azure environment. %{__python3} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES rm -f %{buildroot}%{_sbindir}/waagent2.0 +mkdir -p %{buildroot}%{_udevrulesdir} +mv %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules %{buildroot}%{_udevrulesdir}/ + %clean rm -rf $RPM_BUILD_ROOT @@ -69,10 +78,16 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/logrotate.d/waagent-extn.logrotate %{_sbindir}/waagent %{_unitdir}/waagent.service -/etc/udev/rules.d/66-azure-storage.rules -/etc/udev/rules.d/99-azure-product-uuid.rules + +%files udev +%{_udevrulesdir}/*.rules %changelog +* Tue Jan 12 2021 Miroslav Rezanina - 2.2.49.2-3.el8 +- wla-Provide-udev-rules-as-a-separate-subpackage.patch [bz#1913074] +- Resolves: bz#1913074 + ([Azure][RFE] please provide the WALinuxAgent-udev subpackage) + * Thu Dec 17 2020 Miroslav Rezanina - 2.2.49.2-2.el8 - wla-Fixed-faulty-check-for-run_command-2093.patch [bz#1903074] - Resolves: bz#1903074