44Summary: dracut to create initramfs
55Name: dracut
66Version: 102
7- Release: 6 %{?dist }
7+ Release: 7 %{?dist }
88# The entire source code is GPLv2+
99# except install/* which is LGPLv2+
1010License: GPLv2+ AND LGPLv2+
@@ -24,12 +24,29 @@ Source8: 00-virtio.conf
2424Source9: 00-vrf.conf
2525Source10: 00-xen.conf
2626Source11: 50-noxattr.conf
27+ # The 90livenet/azl-liveos-artifacts-download.service and
28+ # 90livenet/azl-liveos-artifacts-download.sh are part of the
29+ # add-livenet-download-service.patch. They are kept separate for easier
30+ # code reviews given that they are new to Dracut.
31+ Source12: 90livenet/azl-liveos-artifacts-download.service
32+ Source13: 90livenet/azl-liveos-artifacts-download.sh
2733
2834# allow-liveos-overlay-no-user-confirmation-prompt.patch has been introduced by
29- # the Mariner team to allow skipping the user confirmation prompt during boot
30- # when the overlay of the liveos is backed by ram. This allows the machine to
31- # boot without being blocked on user input in such a scenario.
35+ # the Azure Linux team to allow skipping the user confirmation prompt during
36+ # boot when the overlay of the liveos is backed by ram. This allows the machine
37+ # to boot without being blocked on user input in such a scenario.
3238Patch: allow-liveos-overlay-no-user-confirmation-prompt.patch
39+ # add-livenet-download-service.patch has been introduced by the Azure Linux
40+ # team to enable Dracut's livenet module to download and ISO image and proceed
41+ # with a rootfs overlay mouting/pivoting (using Dracut's existing dmsquash-live
42+ # module). This enables PXE booting using an ISO image with an embededed rootfs
43+ # image.
44+ # This is a temporary fix until Dracut is upgraded to 103.
45+ # - For reference, see https://github.com/dracut-ng/dracut-ng/issues/719.
46+ # This patch relies on two new files (azl-liveos-artifacts-download.service and
47+ # azl-liveos-artifacts-download.sh) - which are included as separate sources in
48+ # this package.
49+ Patch: add-livenet-download-service.patch
3350Patch: 0006-dracut.sh-validate-instmods-calls.patch
3451Patch: 0011-Remove-reference-to-kernel-module-zlib-in-fips-module.patch
3552Patch: 0012-fix-dracut-functions-avoid-awk-in-get_maj_min.patch
@@ -185,6 +202,9 @@ install -m 0644 %{SOURCE9} %{buildroot}%{_sysconfdir}/dracut.conf.d/00-vrf.conf
185202install -m 0644 %{SOURCE10 } %{buildroot }%{_sysconfdir }/dracut.conf.d/00-xen.conf
186203install -m 0644 %{SOURCE11 } %{buildroot }%{_sysconfdir }/dracut.conf.d/50-noxattr.conf
187204
205+ install -m 0644 %{SOURCE12 } %{buildroot }%{dracutlibdir }/modules.d/90livenet/azl-liveos-artifacts-download.service
206+ install -m 0755 %{SOURCE13 } %{buildroot }%{dracutlibdir }/modules.d/90livenet/azl-liveos-artifacts-download.sh
207+
188208mkdir -p %{buildroot }%{dracutlibdir }/modules.d/20overlayfs/
189209install -p -m 0755 %{SOURCE4 } %{buildroot }%{dracutlibdir }/modules.d/20overlayfs/
190210install -p -m 0755 %{SOURCE5 } %{buildroot }%{dracutlibdir }/modules.d/20overlayfs/
@@ -290,6 +310,9 @@ ln -srv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
290310%dir %{_sharedstatedir }/%{name }/overlay
291311
292312%changelog
313+ * Thu Oct 31 2024 George Mileka <gmileka@microsoft.com> - 102-7
314+ - Augment livenet module with a download daemon.
315+
293316* Thu Oct 10 2024 Thien Trung Vuong <tvuong@microsoft.com> - 102-6
294317- Add patch to make tpm2-tss an optional dependency for systemd-pcrphase
295318
0 commit comments