Summary: Initramfs generator using udev
Summary(pl.UTF-8): Generator initramfs wykorzystujący udev
Name: dracut
-Version: 041
+Version: 043
Release: 1
License: GPL v2+
Group: Base
Source0: https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
-# Source0-md5: ccde6cd8ef36b883b68d8e5954369a32
+# Source0-md5: 85de75ddf00962e7bb0ae387f05794e5
Source1: tld.conf
Patch1: plymouth-libexec.patch
Patch2: os-release.patch
find modules.d -name '*.orig' | xargs -r %{__rm}
%build
+# not autoconf generated
+./configure \
+ --sysconfdir=%{_sysconfdir}
+
%{__make} all doc \
CC="%{__cc}" \
CFLAGS="%{rpmcflags}"
$RPM_BUILD_ROOT/var/{log,lib/{dracut/overlay,initramfs}}
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- libdir=%{_prefix}/lib \
- bindir=%{_bindir} \
- sysconfdir=%{_sysconfdir} \
- mandir=%{_mandir}
+ DESTDIR=$RPM_BUILD_ROOT
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d/01-dist.conf
install -p dracut.conf.d/fips.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d/40-fips.conf
# remove gentoo specific modules
%{__rm} -r $RPM_BUILD_ROOT%{dracutlibdir}/modules.d/50gensplash
+# SuSE specific man page
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/mkinitrd-suse.8
+
+# remove systemd stuff
+%{__rm} -r $RPM_BUILD_ROOT%{dracutlibdir}/modules.d/{00systemd,00systemd-bootchart,01systemd-initrd,02systemd-networkd,98dracut-systemd}
+%{__rm} $RPM_BUILD_ROOT%{dracutlibdir}/modules.d/90multipath/multipathd.service
+
%clean
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{dracutlibdir}/skipcpio
%dir /var/lib/initramfs
+
+%{_npkgconfigdir}/dracut.pc
+
%{_mandir}/man1/lsinitrd.1*
%{_mandir}/man5/dracut.conf.5*
%{_mandir}/man7/dracut.cmdline.7*
%attr(755,root,root) %{dracutlibdir}/modules.d/45ifcfg/*.sh
%dir %{dracutlibdir}/modules.d/45url-lib
%attr(755,root,root) %{dracutlibdir}/modules.d/45url-lib/*.sh
+%dir %{dracutlibdir}/modules.d/90kernel-network-modules
+%attr(755,root,root) %{dracutlibdir}/modules.d/90kernel-network-modules/module-setup.sh
%dir %{dracutlibdir}/modules.d/90livenet
%attr(755,root,root) %{dracutlibdir}/modules.d/90livenet/*.sh
%dir %{dracutlibdir}/modules.d/90qemu-net