2012-07-13 15:52:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package dracut
|
|
|
|
#
|
2020-03-22 20:26:45 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2012-08-07 08:50:52 +02:00
|
|
|
#
|
2012-07-13 15:52:08 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-05-25 21:57:14 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-08-07 08:50:52 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-11-28 09:13:08 +01:00
|
|
|
%define dracutlibdir %{_prefix}/lib/dracut
|
2014-02-13 23:20:14 +01:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Name: dracut
|
2020-12-14 16:33:17 +01:00
|
|
|
Version: 051+suse.83.g8fb15bf1
|
2012-07-30 20:02:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Initramfs generator using udev
|
2018-03-19 12:53:36 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2020-03-22 20:26:45 +01:00
|
|
|
URL: https://dracut.wiki.kernel.org/
|
2019-05-25 21:57:14 +02:00
|
|
|
Source0: dracut-%{version}.tar.xz
|
2015-11-06 10:56:00 +01:00
|
|
|
Source1: dracut-rpmlintrc
|
2019-05-25 21:57:14 +02:00
|
|
|
Source2: README.susemaint
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: asciidoc
|
2014-02-09 14:23:30 +01:00
|
|
|
BuildRequires: bash
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
2015-02-05 10:38:06 +01:00
|
|
|
BuildRequires: suse-module-tools
|
2019-05-25 21:57:14 +02:00
|
|
|
BuildRequires: pkgconfig(libkmod)
|
2015-11-26 12:35:04 +01:00
|
|
|
BuildRequires: pkgconfig(systemd) >= 219
|
|
|
|
Requires: %{_bindir}/get_kernel_version
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: bash
|
2015-11-26 12:35:04 +01:00
|
|
|
# systemd-sysvinit provides: poweroff, reboot, halt
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: coreutils
|
2017-08-29 15:42:36 +02:00
|
|
|
Requires(post): coreutils
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: cpio
|
2017-04-05 12:20:43 +02:00
|
|
|
Requires: elfutils
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: file
|
|
|
|
Requires: filesystem
|
|
|
|
Requires: findutils
|
|
|
|
Requires: grep
|
|
|
|
Requires: hardlink
|
2013-01-28 20:52:45 +01:00
|
|
|
Requires: modutils
|
2014-02-09 14:23:30 +01:00
|
|
|
Requires: pigz
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: sed
|
2015-11-26 12:35:04 +01:00
|
|
|
Requires: systemd >= 219
|
2014-02-09 14:23:30 +01:00
|
|
|
Requires: systemd-sysvinit
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: udev > 166
|
|
|
|
Requires: util-linux >= 2.21
|
2014-08-29 16:57:13 +02:00
|
|
|
Requires: xz
|
2017-04-24 10:45:07 +02:00
|
|
|
# We use 'btrfs fi usage' that was not present before
|
2017-05-11 11:57:39 +02:00
|
|
|
Conflicts: btrfsprogs < 3.18
|
2013-11-29 13:27:47 +01:00
|
|
|
Recommends: logrotate
|
2014-02-09 14:23:30 +01:00
|
|
|
Obsoletes: mkinitrd < 2.8.2
|
|
|
|
Provides: mkinitrd = 2.8.2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-04-03 18:31:51 +02:00
|
|
|
%{?systemd_requires}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%description
|
2015-11-23 11:52:33 +01:00
|
|
|
Dracut contains tools to create a bootable initramfs for Linux kernels >= 2.6.
|
|
|
|
Dracut contains various modules which are driven by the event-based udev
|
|
|
|
and systemd. Having root on MD, DM, LVM2, LUKS is supported as well as
|
|
|
|
NFS, iSCSI, NBD, FCoE.
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2014-04-27 10:49:25 +02:00
|
|
|
%package fips
|
2014-04-30 17:29:13 +02:00
|
|
|
Summary: Dracut modules to build a dracut initramfs with an integrity check
|
2014-04-27 10:49:25 +02:00
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2014-08-15 13:38:18 +02:00
|
|
|
Requires: fipscheck
|
2018-01-25 10:33:05 +01:00
|
|
|
Requires: libcryptsetup12-hmac
|
2014-08-15 13:38:18 +02:00
|
|
|
Requires: libgcrypt20-hmac
|
2017-07-13 17:24:13 +02:00
|
|
|
Requires: libkcapi-tools
|
2014-04-27 10:49:25 +02:00
|
|
|
|
|
|
|
%description fips
|
|
|
|
This package requires everything which is needed to build an
|
|
|
|
initramfs with dracut, which does an integrity check of the kernel
|
|
|
|
and its cryptography during startup.
|
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%package ima
|
|
|
|
Summary: Dracut modules to build a dracut initramfs with IMA
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2018-01-19 16:31:54 +01:00
|
|
|
Requires: evmctl
|
2018-01-09 09:08:58 +01:00
|
|
|
Requires: keyutils
|
2017-10-07 12:32:07 +02:00
|
|
|
|
|
|
|
%description ima
|
|
|
|
This package requires everything which is needed to build an
|
2017-10-12 13:16:57 +02:00
|
|
|
initramfs (using dracut) which tries to load an IMA policy during startup.
|
2017-10-07 12:32:07 +02:00
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Tools to build a local initramfs
|
|
|
|
Group: System/Base
|
2016-06-07 15:51:45 +02:00
|
|
|
Requires: %{name}
|
|
|
|
# split-provides for upgrade from SLES12 SP1 to SLES12 SP2
|
|
|
|
Provides: %{name}:%{_bindir}/dracut-catimages
|
2015-11-26 12:35:04 +01:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains tools to assemble the local initrd and host configuration.
|
|
|
|
|
2020-03-10 17:42:32 +01:00
|
|
|
%package extra
|
|
|
|
Summary: Dracut modules usually not required for normal operation
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: evmctl
|
|
|
|
Requires: keyutils
|
|
|
|
|
|
|
|
%description extra
|
|
|
|
This package contains all modules that are part of dracut upstream
|
|
|
|
but are not normally supported or required.
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%prep
|
2019-05-25 21:57:14 +02:00
|
|
|
%setup -q
|
2017-02-02 13:23:11 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%build
|
2013-04-10 21:50:58 +02:00
|
|
|
%configure\
|
|
|
|
--systemdsystemunitdir=%{_unitdir}\
|
2019-05-25 21:57:14 +02:00
|
|
|
--bashcompletiondir=%{_datarootdir}/bash-completion/completions \
|
2013-04-10 21:50:58 +02:00
|
|
|
--libdir=%{_prefix}/lib
|
2015-06-30 14:59:59 +02:00
|
|
|
make all CFLAGS="%{optflags}" %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%install
|
2019-05-25 21:57:14 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2019-05-25 21:57:14 +02:00
|
|
|
echo -e "#!/bin/bash\nDRACUT_VERSION=%{version}-%{release}" > %{buildroot}/%{dracutlibdir}/dracut-version.sh
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
mkdir -p %{buildroot}/boot/dracut
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/dracut/overlay
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
|
|
|
touch %{buildroot}%{_localstatedir}/log/dracut.log
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2016-03-29 17:53:41 +02:00
|
|
|
install -D -m 0644 dracut.conf.d/suse.conf.example %{buildroot}/usr/lib/dracut/dracut.conf.d/01-dist.conf
|
2019-05-25 21:57:14 +02:00
|
|
|
install -m 0644 suse/99-debug.conf %{buildroot}%{_sysconfdir}/dracut.conf.d/99-debug.conf
|
2014-04-27 10:49:25 +02:00
|
|
|
install -m 0644 dracut.conf.d/fips.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/40-fips.conf
|
2017-10-07 12:32:07 +02:00
|
|
|
install -m 0644 dracut.conf.d/ima.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/40-ima.conf
|
2017-03-02 16:14:47 +01:00
|
|
|
# bsc#915218
|
|
|
|
%ifarch s390 s390x
|
2019-05-25 21:57:14 +02:00
|
|
|
install -m 0644 suse/s390x_persistent_device.conf %{buildroot}%{_sysconfdir}/dracut.conf.d/10-s390x_persistent_device.conf
|
2013-07-18 13:45:24 +02:00
|
|
|
%endif
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2013-11-29 13:27:47 +01:00
|
|
|
rm %{buildroot}%{_bindir}/mkinitrd
|
2020-05-13 13:47:08 +02:00
|
|
|
install -D -m 0755 mkinitrd-suse.sh %{buildroot}/%{_sbindir}/mkinitrd
|
|
|
|
install -D -m 0755 suse/dracut-installkernel %{buildroot}/%{_sbindir}/installkernel
|
|
|
|
|
|
|
|
# moved to /usr/sbin, maintain /sbin compat symlinks
|
2013-10-02 14:32:19 +02:00
|
|
|
mkdir -p %{buildroot}/sbin
|
2020-05-13 13:47:08 +02:00
|
|
|
ln -s %{_sbindir}/mkinitrd %{buildroot}/sbin/mkinitrd
|
|
|
|
ln -s %{_sbindir}/installkernel %{buildroot}/sbin/installkernel
|
|
|
|
|
2013-11-29 13:27:47 +01:00
|
|
|
mv %{buildroot}%{_mandir}/man8/mkinitrd-suse.8 %{buildroot}%{_mandir}/man8/mkinitrd.8
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
|
|
|
install -m 0644 dracut.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2014-02-17 14:21:58 +01:00
|
|
|
%if 0%{?suse_version}
|
2019-05-25 21:57:14 +02:00
|
|
|
#rm -f %%{buildroot}/%%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
|
|
|
#ln -s %%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-suse.sh %%{buildroot}/%%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
2014-02-17 14:21:58 +01:00
|
|
|
%else
|
2014-04-30 17:29:13 +02:00
|
|
|
mv %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh
|
2014-02-17 14:21:58 +01:00
|
|
|
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
|
|
|
%endif
|
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
%pre
|
|
|
|
|
2014-05-14 14:53:58 +02:00
|
|
|
%post
|
2019-09-23 13:55:04 +02:00
|
|
|
# check whether /var/run has been converted to a symlink
|
2020-01-29 14:03:12 +01:00
|
|
|
if [ ! -L /var/run ]; then
|
|
|
|
grep -q '^[ ]*GRUB_CMDLINE_LINUX_DEFAULT=.*rd.convertfs' /etc/default/grub || \
|
|
|
|
sed -i '/^[ ]*GRUB_CMDLINE_LINUX_DEFAULT.*/s/"$/ rd.convertfs"/' /etc/default/grub || :
|
|
|
|
if ! grep --no-message 'add_dracutmodules+=" convertfs "' /etc/dracut.conf.d/05-convertfs.conf; then
|
|
|
|
cat >>/etc/dracut.conf.d/05-convertfs.conf<<EOF
|
2019-12-10 09:44:34 +01:00
|
|
|
add_dracutmodules+=" convertfs "
|
2019-09-23 13:55:04 +02:00
|
|
|
EOF
|
2020-01-29 14:03:12 +01:00
|
|
|
fi
|
|
|
|
fi
|
2019-09-23 13:55:04 +02:00
|
|
|
#clean up after the conversion is done
|
2020-01-29 14:03:12 +01:00
|
|
|
if [ -L /var/run ] && [ -f /etc/dracut.conf.d/05-convertfs.conf ]; then
|
|
|
|
sed -i '/^[ ]*GRUB_CMDLINE_LINUX_DEFAULT.*/s/rd.convertfs//' /etc/default/grub || :
|
|
|
|
[ -f /etc/dracut.conf.d/05-convertfs.conf ] && sed -i '/add_dracutmodules+="[ ]*convertfs[ ]*"/d' /etc/dracut.conf.d/05-convertfs.conf || :
|
|
|
|
[ -s /etc/dracut.conf.d/05-convertfs.conf ] || rm -f /etc/dracut.conf.d/05-convertfs.conf || :
|
|
|
|
[ -d /var/lock.lockmove~ ] && rm -rf /var/lock.lockmove~ || :
|
|
|
|
[ -d /var/run.runmove~ ] && rm -rf /var/run.runmove~ || :
|
|
|
|
fi
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
|
|
|
%post fips
|
|
|
|
%{?regenerate_initrd_post}
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%post ima
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
%preun
|
|
|
|
|
2014-05-14 14:53:58 +02:00
|
|
|
%postun
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
|
|
|
%postun fips
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%postun ima
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2015-02-05 10:38:06 +01:00
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
|
|
|
%posttrans fips
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%posttrans ima
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
2014-04-27 10:49:25 +02:00
|
|
|
%files fips
|
|
|
|
%defattr(-,root,root,0755)
|
2018-03-19 12:53:36 +01:00
|
|
|
%license COPYING
|
2014-04-27 10:49:25 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/40-fips.conf
|
|
|
|
%{dracutlibdir}/modules.d/01fips
|
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%files ima
|
|
|
|
%defattr(-,root,root,0755)
|
2018-03-19 12:53:36 +01:00
|
|
|
%license COPYING
|
2017-10-07 12:32:07 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/40-ima.conf
|
|
|
|
%{dracutlibdir}/modules.d/96securityfs
|
|
|
|
%{dracutlibdir}/modules.d/97masterkey
|
|
|
|
%{dracutlibdir}/modules.d/98integrity
|
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
%files tools
|
2016-04-14 15:36:44 +02:00
|
|
|
%defattr(-,root,root,0755)
|
2015-11-26 12:35:04 +01:00
|
|
|
%{_bindir}/dracut-catimages
|
|
|
|
%{_mandir}/man8/dracut-catimages.8*
|
|
|
|
%dir /boot/dracut
|
|
|
|
%dir %{_localstatedir}/lib/dracut
|
|
|
|
%dir %{_localstatedir}/lib/dracut/overlay
|
|
|
|
|
2020-03-10 17:42:32 +01:00
|
|
|
%files extra
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
# Use systemd-analyze instead, does not need dracut support
|
|
|
|
%{dracutlibdir}/modules.d/00bootchart
|
|
|
|
|
2020-03-24 12:26:34 +01:00
|
|
|
%{dracutlibdir}/modules.d/00mksh
|
2020-03-10 17:42:32 +01:00
|
|
|
%{dracutlibdir}/modules.d/02caps
|
|
|
|
%{dracutlibdir}/modules.d/00dash
|
|
|
|
%{dracutlibdir}/modules.d/05busybox
|
|
|
|
%{dracutlibdir}/modules.d/50gensplash
|
2020-03-24 12:26:34 +01:00
|
|
|
%{dracutlibdir}/modules.d/90ppcmac
|
2020-03-10 17:42:32 +01:00
|
|
|
|
|
|
|
# RH-specific s390 modules, we take another approach
|
|
|
|
%{dracutlibdir}/modules.d/95dasd
|
|
|
|
%{dracutlibdir}/modules.d/95zfcp
|
|
|
|
%{dracutlibdir}/modules.d/95znet
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,0755)
|
2018-03-19 12:53:36 +01:00
|
|
|
%license COPYING
|
2020-03-24 12:26:34 +01:00
|
|
|
%doc README.md README.cross README.generic README.kernel
|
|
|
|
%doc README.modules README.testsuite
|
|
|
|
%doc HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_bindir}/dracut
|
2014-03-04 19:26:06 +01:00
|
|
|
%{_bindir}/lsinitrd
|
2020-05-13 13:47:08 +02:00
|
|
|
%{_sbindir}/installkernel
|
|
|
|
%{_sbindir}/mkinitrd
|
2014-02-28 16:05:59 +01:00
|
|
|
/sbin/installkernel
|
2013-10-02 14:32:19 +02:00
|
|
|
/sbin/mkinitrd
|
2019-05-25 21:57:14 +02:00
|
|
|
%{_datarootdir}/bash-completion/completions/lsinitrd
|
2015-11-26 12:35:04 +01:00
|
|
|
%{_datadir}/pkgconfig/dracut.pc
|
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/dracut.conf
|
2015-11-26 12:35:04 +01:00
|
|
|
%dir %{_sysconfdir}/dracut.conf.d
|
2016-03-29 17:53:41 +02:00
|
|
|
%dir /usr/lib/dracut/dracut.conf.d
|
|
|
|
%config %{_sysconfdir}/dracut.conf.d/99-debug.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
2016-03-29 17:53:41 +02:00
|
|
|
/usr/lib/dracut/dracut.conf.d/01-dist.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%endif
|
2017-03-27 19:59:03 +02:00
|
|
|
%ifarch s390 s390x
|
|
|
|
%config %{_sysconfdir}/dracut.conf.d/10-s390x_persistent_device.conf
|
|
|
|
%endif
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_mandir}/man8/dracut.8*
|
|
|
|
%{_mandir}/man8/mkinitrd.8*
|
|
|
|
%{_mandir}/man1/lsinitrd.1*
|
|
|
|
%{_mandir}/man7/dracut.kernel.7*
|
|
|
|
%{_mandir}/man7/dracut.cmdline.7*
|
2013-04-03 17:09:09 +02:00
|
|
|
%{_mandir}/man7/dracut.bootup.7*
|
2013-11-29 13:27:47 +01:00
|
|
|
%{_mandir}/man7/dracut.modules.7*
|
2012-08-02 21:33:14 +02:00
|
|
|
%{_mandir}/man8/dracut-cmdline.service.8*
|
|
|
|
%{_mandir}/man8/dracut-initqueue.service.8*
|
|
|
|
%{_mandir}/man8/dracut-pre-pivot.service.8*
|
|
|
|
%{_mandir}/man8/dracut-pre-trigger.service.8*
|
|
|
|
%{_mandir}/man8/dracut-pre-udev.service.8*
|
2013-03-13 00:42:15 +01:00
|
|
|
%{_mandir}/man8/dracut-mount.service.8.*
|
|
|
|
%{_mandir}/man8/dracut-pre-mount.service.8.*
|
2013-06-18 09:22:22 +02:00
|
|
|
%{_mandir}/man8/dracut-shutdown.service.8.*
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_mandir}/man5/dracut.conf.5*
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2019-11-28 09:13:08 +01:00
|
|
|
%dir %{_prefix}/lib/kernel
|
|
|
|
%dir %{_prefix}/lib/kernel/install.d
|
|
|
|
%{_prefix}/lib/kernel/install.d/50-dracut.install
|
|
|
|
%{_prefix}/lib/kernel/install.d/51-dracut-rescue.install
|
2015-11-26 12:35:04 +01:00
|
|
|
|
|
|
|
%dir %{dracutlibdir}
|
|
|
|
%{dracutlibdir}/skipcpio
|
|
|
|
%{dracutlibdir}/dracut-functions.sh
|
|
|
|
%{dracutlibdir}/dracut-init.sh
|
|
|
|
%{dracutlibdir}/dracut-functions
|
|
|
|
%{dracutlibdir}/dracut-version.sh
|
|
|
|
%{dracutlibdir}/dracut-logger.sh
|
|
|
|
%{dracutlibdir}/dracut-initramfs-restore
|
|
|
|
%{dracutlibdir}/dracut-install
|
|
|
|
|
|
|
|
%dir %{dracutlibdir}/modules.d
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/00bash
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/00systemd
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/00warpclock
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-initrd
|
|
|
|
%{dracutlibdir}/modules.d/02systemd-networkd
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/03modsign
|
2015-11-26 12:35:04 +01:00
|
|
|
%{dracutlibdir}/modules.d/03rescue
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/04watchdog
|
2020-09-21 15:55:40 +02:00
|
|
|
%{dracutlibdir}/modules.d/04watchdog-modules
|
2020-03-24 12:26:34 +01:00
|
|
|
%{dracutlibdir}/modules.d/06rngd
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/10i18n
|
|
|
|
%{dracutlibdir}/modules.d/30convertfs
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/35network-legacy
|
|
|
|
%{dracutlibdir}/modules.d/35network-manager
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/40network
|
|
|
|
%{dracutlibdir}/modules.d/45ifcfg
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/45url-lib
|
2013-01-24 11:28:22 +01:00
|
|
|
%{dracutlibdir}/modules.d/50drm
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/50plymouth
|
|
|
|
%{dracutlibdir}/modules.d/80cms
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/80lvmmerge
|
2014-06-02 20:32:32 +02:00
|
|
|
%{dracutlibdir}/modules.d/81cio_ignore
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/90btrfs
|
|
|
|
%{dracutlibdir}/modules.d/90crypt
|
|
|
|
%{dracutlibdir}/modules.d/90dm
|
|
|
|
%{dracutlibdir}/modules.d/90dmraid
|
|
|
|
%{dracutlibdir}/modules.d/90dmsquash-live
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/90dmsquash-live-ntfs
|
|
|
|
%{dracutlibdir}/modules.d/90kernel-modules-extra
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/90kernel-modules
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/90kernel-network-modules
|
|
|
|
%{dracutlibdir}/modules.d/90livenet
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/90lvm
|
|
|
|
%{dracutlibdir}/modules.d/90mdraid
|
|
|
|
%{dracutlibdir}/modules.d/90multipath
|
2020-03-11 19:56:27 +01:00
|
|
|
%{dracutlibdir}/modules.d/90nvdimm
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/90qemu
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/90qemu-net
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/91crypt-gpg
|
2012-08-02 21:33:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/91crypt-loop
|
2014-07-03 10:00:15 +02:00
|
|
|
%{dracutlibdir}/modules.d/91zipl
|
2012-08-02 21:33:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95cifs
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95dasd_mod
|
2013-11-29 13:27:47 +01:00
|
|
|
%{dracutlibdir}/modules.d/95dasd_rules
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95dcssblk
|
|
|
|
%{dracutlibdir}/modules.d/95debug
|
|
|
|
%{dracutlibdir}/modules.d/95fcoe
|
|
|
|
%{dracutlibdir}/modules.d/95fcoe-uefi
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95fstab-sys
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95iscsi
|
2016-04-12 16:08:19 +02:00
|
|
|
%{dracutlibdir}/modules.d/95lunmask
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95nbd
|
|
|
|
%{dracutlibdir}/modules.d/95nfs
|
2020-09-21 15:55:40 +02:00
|
|
|
%{dracutlibdir}/modules.d/95nvmf
|
2018-02-09 17:21:40 +01:00
|
|
|
%{dracutlibdir}/modules.d/95qeth_rules
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95resume
|
|
|
|
%{dracutlibdir}/modules.d/95rootfs-block
|
|
|
|
%{dracutlibdir}/modules.d/95ssh-client
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95terminfo
|
|
|
|
%{dracutlibdir}/modules.d/95udev-rules
|
|
|
|
%{dracutlibdir}/modules.d/95virtfs
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95zfcp_rules
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/97biosdevname
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/98dracut-systemd
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/98ecryptfs
|
|
|
|
%{dracutlibdir}/modules.d/98pollcdrom
|
2014-06-02 13:47:31 +02:00
|
|
|
%{dracutlibdir}/modules.d/98selinux
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/98syslog
|
|
|
|
%{dracutlibdir}/modules.d/98usrmount
|
|
|
|
%{dracutlibdir}/modules.d/99base
|
|
|
|
%{dracutlibdir}/modules.d/99fs-lib
|
|
|
|
%{dracutlibdir}/modules.d/99img-lib
|
2020-09-21 15:55:40 +02:00
|
|
|
%{dracutlibdir}/modules.d/99memstrack
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/99shutdown
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/99squash
|
2012-07-30 20:02:55 +02:00
|
|
|
%{dracutlibdir}/modules.d/99suse
|
2020-03-11 19:56:27 +01:00
|
|
|
%{dracutlibdir}/modules.d/99suse-initrd
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/99uefi-lib
|
2012-07-30 20:02:55 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/dracut
|
2015-11-26 12:35:04 +01:00
|
|
|
%attr(0640,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
2013-04-03 18:57:15 +02:00
|
|
|
%dir %{_unitdir}/initrd.target.wants
|
2015-11-26 12:35:04 +01:00
|
|
|
%dir %{_unitdir}/sysinit.target.wants
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_unitdir}/*.service
|
|
|
|
%{_unitdir}/*/*.service
|
2019-05-25 21:57:14 +02:00
|
|
|
%{_datarootdir}/bash-completion/completions/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%changelog
|