From dd2fc13b80afd70c44ca473d20f8dfade00a7abe Mon Sep 17 00:00:00 2001 From: Dusty Mabe <dusty@dustymabe.com> Date: Mon, 16 Jan 2023 21:47:13 -0500 Subject: [PATCH] Move module-setup.sh into git It's not necessary to use the lookaside cache for this. It would be better to store it in source control so the content of the file is tracked and reviews can happen. --- WALinuxAgent.spec | 5 ++++- module-setup.sh | 16 ++++++++++++++++ sources | 1 - 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 module-setup.sh diff --git a/WALinuxAgent.spec b/WALinuxAgent.spec index 40de6b7..b9e527f 100644 --- a/WALinuxAgent.spec +++ b/WALinuxAgent.spec @@ -3,7 +3,7 @@ Name: WALinuxAgent Version: 2.8.0.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Microsoft Azure Linux Agent License: ASL 2.0 @@ -123,6 +123,9 @@ install -m0755 -D -t %{buildroot}%{_prefix}/lib/dracut/modules.d/%{dracut_modnam %endif %changelog +* Fri Jan 20 2023 Dusty Mabe <dusty@dustymabe.com> - 2.8.0.11-3 +- Move module-setup.sh into git + * Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/module-setup.sh b/module-setup.sh new file mode 100644 index 0000000..00d0eb7 --- /dev/null +++ b/module-setup.sh @@ -0,0 +1,16 @@ +#!/usr/bin/bash + +# called by dracut +check() { + return 0 +} + +# called by dracut +depends() { + return 0 +} + +# called by dracut +install() { + inst_rules 66-azure-storage.rules 99-azure-product-uuid.rules +} diff --git a/sources b/sources index ff93e5e..803d241 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ SHA512 (v2.8.0.11.tar.gz) = cc5f723851c55fc5b79e07bc07f2e7ff3d9a8463c4d7b7c7970e676df5acfb0a63fade66a5e1f016c7a8739946465a204c9db178136226389358e8d1bcbd2850 -SHA512 (module-setup.sh) = c05ed7395006c78bae1a7727b64c4b00a14e2c37e0d8a6ae7c05905a86d4ba638a2b98e4642ecd9a98db38298ff99f4877f900965a97f933b9aa034488835394