From a17362e23ddb3dae668f5ab3c73b5e1e029d1029 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:56:20 +0100 Subject: [PATCH] rebuilt to make sure /usr/sbin/dracut symlink is removed on all archs [release 059-3mamba;Sun Oct 29 2023] --- dracut.spec | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/dracut.spec b/dracut.spec index 1c1f4e2..b66b072 100644 --- a/dracut.spec +++ b/dracut.spec @@ -1,6 +1,6 @@ Name: dracut Version: 059 -Release: 1mamba +Release: 3mamba Summary: Generic, modular initramfs generation tool that can be used across various distributions Group: System/Kernel and Hardware Vendor: openmamba @@ -87,6 +87,7 @@ Requires: /bin/pidof Requires: /sbin/reboot Requires: /sbin/poweroff Requires: /sbin/halt +Requires(post): filesystem >= 2.3-10mamba Provides: mkinitramfs Obsoletes: mkinitramfs < 054 Obsoletes: ifenslave <= 1.1.0 @@ -145,9 +146,9 @@ export CFLAGS="%{optflags} -Wformat" #install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dracut.conf.d/openmamba.conf # compatibility symlinks -install -d -m0755 %{buildroot}%{_sbindir} -ln -s ../bin/dracut %{buildroot}%{_sbindir}/dracut -ln -s ../bin/dracut %{buildroot}%{_sbindir}/mkinitrd +#install -d -m0755 %{buildroot}%{_sbindir} +#ln -s ../bin/dracut %{buildroot}%{_sbindir}/dracut +ln -s ../bin/dracut %{buildroot}%{_bindir}/mkinitrd %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -169,11 +170,11 @@ fi #%{_sysconfdir}/dracut.conf.d/openmamba.conf %{_bindir}/dracut %{_bindir}/lsinitrd -%{_sbindir}/mkinitrd +%{_bindir}/mkinitrd %{_bindir}/dracut-catimages #%{_bindir}/dracut-install -%{_sbindir}/dracut -%{_sbindir}/mkinitrd +%{_bindir}/dracut +%{_bindir}/mkinitrd %dir %{_prefix}/lib/dracut %{_prefix}/lib/dracut/dracut-functions %{_prefix}/lib/dracut/dracut-functions.sh @@ -253,8 +254,8 @@ fi %{_prefix}/lib/dracut/modules.d/90dmsquash-live/* %dir %{_prefix}/lib/dracut/modules.d/90dmsquash-live-ntfs %{_prefix}/lib/dracut/modules.d/90dmsquash-live-ntfs/* -#%dir %{_prefix}/lib/dracut/modules.d/90multipath-hostonly -#%{_prefix}/lib/dracut/modules.d/90multipath-hostonly/* +%dir %{_prefix}/lib/dracut/modules.d/90dmsquash-live-autooverlay +%{_prefix}/lib/dracut/modules.d/90dmsquash-live-autooverlay/* %dir %{_prefix}/lib/dracut/modules.d/90lvm %{_prefix}/lib/dracut/modules.d/90lvm/* %dir %{_prefix}/lib/dracut/modules.d/90kernel-modules @@ -275,6 +276,8 @@ fi %{_prefix}/lib/dracut/modules.d/90qemu-net/* %dir %{_prefix}/lib/dracut/modules.d/90nvdimm %{_prefix}/lib/dracut/modules.d/90nvdimm/* +%dir %{_prefix}/lib/dracut/modules.d/90overlayfs +%{_prefix}/lib/dracut/modules.d/90overlayfs/* %dir %{_prefix}/lib/dracut/modules.d/90ppcmac %{_prefix}/lib/dracut/modules.d/90ppcmac/* %dir %{_prefix}/lib/dracut/modules.d/91crypt-gpg @@ -431,10 +434,6 @@ fi %{_prefix}/lib/dracut/modules.d/80test-root/* %dir %{_prefix}/lib/dracut/modules.d/80test %{_prefix}/lib/dracut/modules.d/80test/* -%dir %{_prefix}/lib/dracut/modules.d/90dmsquash-live-autooverlay -%{_prefix}/lib/dracut/modules.d/90dmsquash-live-autooverlay/* -%dir %{_prefix}/lib/dracut/modules.d/90overlayfs -%{_prefix}/lib/dracut/modules.d/90overlayfs/* #%dir %{_prefix}/lib/dracut/modules.d/90stratis #%{_prefix}/lib/dracut/modules.d/90stratis/* %dir %{_prefix}/lib/dracut/modules.d/91tpm2-tss @@ -444,6 +443,12 @@ fi #%doc NEWS README README.generic README.kernel README.modules TODO %changelog +* Sun Oct 29 2023 Silvan Calarco 059-3mamba +- rebuilt to make sure /usr/sbin/dracut symlink is removed on all archs + +* Tue Jan 03 2023 Silvan Calarco 059-2mamba +- move dmsquasl-live-autooverlay and overlayfs from extra to main package + * Wed Dec 28 2022 Automatic Build System 059-1mamba - automatic version update by autodist