2012-07-13 15:52:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package dracut
|
|
|
|
#
|
2013-01-24 11:28:22 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2012-08-07 08:50:52 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%define dracutlibdir %{_prefix}/lib/dracut
|
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Name: dracut
|
2013-10-14 09:40:46 +02:00
|
|
|
Version: 034
|
2012-07-30 20:02:55 +02:00
|
|
|
Release: 0
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Summary: Initramfs generator using udev
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2012-07-30 20:02:55 +02:00
|
|
|
Url: https://dracut.wiki.kernel.org/
|
2013-11-29 13:27:47 +01:00
|
|
|
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
|
2012-07-30 20:02:55 +02:00
|
|
|
# openSUSE / SLE module to convert initrd command line parameters to dracut one
|
|
|
|
# (not to be upstreamed)
|
|
|
|
Source1: module-setup-initrd.sh
|
|
|
|
Source2: parse-suse-initrd.sh
|
2013-10-02 14:32:19 +02:00
|
|
|
Source3: mkinitrd_setup_dummy
|
2013-12-18 17:20:48 +01:00
|
|
|
Source4: purge-kernels
|
|
|
|
Source5: purge-kernels.service
|
2013-11-29 13:27:47 +01:00
|
|
|
|
|
|
|
Patch0: dracut-git-update.patch
|
|
|
|
# S/390 fixes, send to upstream
|
|
|
|
Patch1: 0001-95dasd-Install-kernel-modules-only-once.patch
|
|
|
|
Patch2: 0002-95dasd-Only-install-module-if-normalize_dasd_arg-is-.patch
|
|
|
|
Patch3: 0003-95dasd_mod-make-dasd_cio_free-optional.patch
|
|
|
|
Patch4: 0004-95zfcp-Make-installation-optional.patch
|
|
|
|
Patch5: 0005-95znet-Make-installation-optional.patch
|
|
|
|
Patch6: 0006-Install-bin-mount.patch
|
|
|
|
Patch7: 0007-Fixup-keymap-setting-for-openSUSE.patch
|
|
|
|
Patch8: 0008-Add-DASD-configuration-for-SuSE.patch
|
|
|
|
Patch9: 0009-Add-zfcp-scripts-for-SUSE.patch
|
|
|
|
Patch10: 0010-Make-logfile-configurable.patch
|
|
|
|
Patch11: 0011-mkinitrd-suse-Add-SUSE-compability-wrapper-for-dracu.patch
|
|
|
|
Patch12: 0012-mkinitrd-suse.8.asc-Add-manpage-for-SUSE-compat-mkin.patch
|
|
|
|
|
|
|
|
# SUSE specific patches
|
|
|
|
Patch20: 0013-Correct-paths-for-openSUSE.patch
|
|
|
|
Patch21: 0014-Check-for-plymouth-lib-directories.patch
|
|
|
|
Patch22: 0015-Fixup-script-permissions.patch
|
|
|
|
Patch23: 0016-Remove-shebang-from-shell-completion-files.patch
|
2013-10-02 14:32:19 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: bash
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
2013-04-15 11:51:29 +02:00
|
|
|
BuildRequires: pkgconfig(systemd) >= 199
|
2013-10-04 11:59:08 +02:00
|
|
|
Obsoletes: mkinitrd < 2.8.2
|
|
|
|
Provides: mkinitrd = 2.8.2
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: bash
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: cpio
|
|
|
|
Requires: file
|
|
|
|
Requires: filesystem
|
|
|
|
Requires: findutils
|
|
|
|
Requires: grep
|
|
|
|
Requires: hardlink
|
2013-01-28 20:52:45 +01:00
|
|
|
Requires: modutils
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: sed
|
2013-10-04 11:52:30 +02:00
|
|
|
Requires: systemd >= 200
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: udev > 166
|
|
|
|
Requires: util-linux >= 2.21
|
2012-08-07 08:50:52 +02:00
|
|
|
Requires: xz
|
2012-12-07 00:08:28 +01:00
|
|
|
Recommends: binutils
|
2013-11-29 13:27:47 +01:00
|
|
|
Recommends: logrotate
|
2013-06-28 09:27:05 +02:00
|
|
|
Requires: pigz
|
2013-09-09 10:08:09 +02:00
|
|
|
|
2013-04-03 18:31:51 +02:00
|
|
|
%{?systemd_requires}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
|
|
|
|
Unlike existing implementations, dracut does hard-code as little as possible
|
|
|
|
into the initramfs. Dracut contains various modules which are driven by the
|
|
|
|
event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as
|
|
|
|
NFS, iSCSI, NBD, FCoE with the dracut-network package.
|
|
|
|
|
|
|
|
%package network
|
2012-07-30 20:02:55 +02:00
|
|
|
Summary: Dracut modules to build a dracut initramfs with network support
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Obsoletes: dracut-generic < 008
|
|
|
|
Provides: dracut-generic = %{version}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%description network
|
|
|
|
This package requires everything which is needed to build a generic
|
|
|
|
all purpose initramfs with network support with dracut.
|
|
|
|
|
|
|
|
%package caps
|
2012-07-30 20:02:55 +02:00
|
|
|
Summary: Dracut modules to build a dracut initramfs which drops capabilities
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: libcap
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%description caps
|
|
|
|
This package requires everything which is needed to build an
|
|
|
|
all purpose initramfs with dracut, which drops capabilities.
|
|
|
|
|
|
|
|
%package tools
|
2012-07-30 20:02:55 +02:00
|
|
|
Summary: Dracut tools to build the local initramfs
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: %{name} = %{version}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains tools to assemble the local initrd and host configuration.
|
|
|
|
|
|
|
|
%prep
|
2012-07-30 20:02:55 +02:00
|
|
|
%setup -q
|
2012-09-28 16:22:56 +02:00
|
|
|
%patch0 -p1
|
2012-11-05 15:10:11 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2013-11-29 13:27:47 +01:00
|
|
|
%patch3 -p1
|
2013-10-02 14:32:19 +02:00
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
2013-10-08 21:00:45 +02:00
|
|
|
%patch6 -p1
|
2013-11-29 13:27:47 +01:00
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
|
|
|
%patch20 -p1
|
|
|
|
%patch21 -p1
|
|
|
|
%patch22 -p1
|
|
|
|
%patch23 -p1
|
2013-06-18 09:22:22 +02:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%build
|
2013-04-10 21:50:58 +02:00
|
|
|
%configure\
|
|
|
|
--systemdsystemunitdir=%{_unitdir}\
|
|
|
|
--bashcompletiondir=%{_sysconfdir}/bash_completion.d\
|
|
|
|
--libdir=%{_prefix}/lib
|
|
|
|
make all -e CFLAGS="%{optflags}" %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%install
|
2013-04-10 21:50:58 +02:00
|
|
|
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2013-11-29 13:27:47 +01: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
|
|
|
rm -fr %{buildroot}%{dracutlibdir}/modules.d/01fips
|
|
|
|
rm -fr %{buildroot}%{dracutlibdir}/modules.d/02fips-aesni
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
# we do not support dash in the initramfs
|
2013-11-29 13:27:47 +01:00
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00dash
|
2012-07-30 20:02:55 +02:00
|
|
|
|
|
|
|
# add suse cmline conversion
|
|
|
|
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/99suse
|
|
|
|
install -m 0755 %{S:1} %{buildroot}%{dracutlibdir}/modules.d/99suse/module-setup.sh
|
|
|
|
install -m 0755 %{S:2} %{buildroot}%{dracutlibdir}/modules.d/99suse/parse-suse-initrd.sh
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
# remove gentoo specific modules
|
2012-07-30 20:02:55 +02:00
|
|
|
rm -fr %{buildroot}%{dracutlibdir}/modules.d/50gensplash
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%if %{defined _unitdir}
|
|
|
|
# with systemd IMA and selinux modules do not make sense
|
2012-07-30 20:02:55 +02:00
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/96securityfs
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/97masterkey
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98integrity
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98selinux
|
2012-07-13 15:52:08 +02:00
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
install -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
|
2013-09-21 21:24:08 +02:00
|
|
|
echo 'add_drivers+="autofs4"' >> %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
|
|
|
|
|
2013-07-18 13:45:24 +02:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
echo 'early_microcode="yes"' > %{buildroot}%{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
|
|
|
|
%endif
|
2013-11-29 13:27:47 +01:00
|
|
|
rm %{buildroot}%{_bindir}/mkinitrd
|
2013-10-02 14:32:19 +02:00
|
|
|
# moved to /sbin
|
|
|
|
mkdir -p %{buildroot}/sbin
|
2013-11-29 13:27:47 +01:00
|
|
|
install -m 0755 mkinitrd-suse.sh %{buildroot}/sbin/mkinitrd
|
|
|
|
mv %{buildroot}%{_mandir}/man8/mkinitrd-suse.8 %{buildroot}%{_mandir}/man8/mkinitrd.8
|
2013-10-02 14:32:19 +02:00
|
|
|
install -m 0755 %{S:3} %{buildroot}/sbin/mkinitrd_setup
|
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
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
install -D -m 0755 %{SOURCE4} %{buildroot}/sbin/purge-kernels
|
|
|
|
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_unitdir}/purge-kernels.service
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%clean
|
2012-07-30 20:02:55 +02:00
|
|
|
rm -rf %{buildroot}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
%pre
|
|
|
|
%service_add_pre purge-kernels.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun purge-kernels.service
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc README HACKING TODO COPYING AUTHORS NEWS dracut.html dracut.png dracut.svg
|
|
|
|
%{_bindir}/dracut
|
2013-12-18 17:20:48 +01:00
|
|
|
/sbin/purge-kernels
|
|
|
|
%{_unitdir}/purge-kernels.service
|
2013-10-02 14:32:19 +02:00
|
|
|
/sbin/mkinitrd
|
|
|
|
/sbin/mkinitrd_setup
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_bindir}/lsinitrd
|
2013-11-29 13:27:47 +01:00
|
|
|
%config /etc/bash_completion.d/lsinitrd
|
2012-07-13 15:52:08 +02:00
|
|
|
%dir %{dracutlibdir}
|
|
|
|
%dir %{dracutlibdir}/modules.d
|
|
|
|
%{dracutlibdir}/dracut-functions.sh
|
|
|
|
%{dracutlibdir}/dracut-functions
|
|
|
|
%{dracutlibdir}/dracut-version.sh
|
|
|
|
%{dracutlibdir}/dracut-logger.sh
|
|
|
|
%{dracutlibdir}/dracut-initramfs-restore
|
2012-07-30 20:02:55 +02:00
|
|
|
%{dracutlibdir}/dracut-install
|
|
|
|
%config(noreplace) %{_sysconfdir}/dracut.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
2012-07-30 20:02:55 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/01-dist.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%endif
|
2013-07-18 13:45:24 +02:00
|
|
|
%ifarch %ix86 x86_64
|
2013-10-03 09:37:56 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
|
2013-07-18 13:45:24 +02:00
|
|
|
%endif
|
2012-07-30 20:02:55 +02:00
|
|
|
%dir %{_sysconfdir}/dracut.conf.d
|
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*
|
2013-03-13 00:42:15 +01:00
|
|
|
%dir /usr/lib/kernel
|
2013-10-21 13:23:16 +02:00
|
|
|
%dir /usr/lib/kernel/install.d
|
2013-03-13 00:42:15 +01:00
|
|
|
/usr/lib/kernel/install.d/50-dracut.install
|
|
|
|
/usr/lib/kernel/install.d/51-dracut-rescue.install
|
|
|
|
%dir %{dracutlibdir}/modules.d/00systemd-bootchart
|
|
|
|
%dir %{dracutlibdir}/modules.d/03rescue
|
|
|
|
%{dracutlibdir}/modules.d/00systemd-bootchart/module-setup.sh
|
|
|
|
%{dracutlibdir}/modules.d/03rescue/module-setup.sh
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/00bootchart
|
|
|
|
%{dracutlibdir}/modules.d/04watchdog
|
|
|
|
%{dracutlibdir}/modules.d/05busybox
|
|
|
|
%{dracutlibdir}/modules.d/10i18n
|
|
|
|
%{dracutlibdir}/modules.d/30convertfs
|
|
|
|
%{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
|
|
|
|
%{dracutlibdir}/modules.d/90btrfs
|
|
|
|
%{dracutlibdir}/modules.d/90crypt
|
|
|
|
%{dracutlibdir}/modules.d/90dm
|
|
|
|
%{dracutlibdir}/modules.d/90dmraid
|
|
|
|
%{dracutlibdir}/modules.d/90dmsquash-live
|
|
|
|
%{dracutlibdir}/modules.d/90kernel-modules
|
|
|
|
%{dracutlibdir}/modules.d/90lvm
|
|
|
|
%{dracutlibdir}/modules.d/90mdraid
|
|
|
|
%{dracutlibdir}/modules.d/90multipath
|
|
|
|
%{dracutlibdir}/modules.d/90qemu
|
|
|
|
%{dracutlibdir}/modules.d/91crypt-gpg
|
2012-08-02 21:33:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/91crypt-loop
|
|
|
|
%{dracutlibdir}/modules.d/95cifs
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95debug
|
|
|
|
%{dracutlibdir}/modules.d/95resume
|
|
|
|
%{dracutlibdir}/modules.d/95rootfs-block
|
|
|
|
%{dracutlibdir}/modules.d/95dasd
|
|
|
|
%{dracutlibdir}/modules.d/95dasd_mod
|
2013-11-29 13:27:47 +01:00
|
|
|
%{dracutlibdir}/modules.d/95dasd_rules
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95fstab-sys
|
|
|
|
%{dracutlibdir}/modules.d/95zfcp
|
2013-11-29 13:27:47 +01:00
|
|
|
%{dracutlibdir}/modules.d/95zfcp_rules
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95terminfo
|
|
|
|
%{dracutlibdir}/modules.d/95udev-rules
|
|
|
|
%{dracutlibdir}/modules.d/95virtfs
|
|
|
|
%if %{undefined _unitdir}
|
|
|
|
%{dracutlibdir}/modules.d/96securityfs
|
|
|
|
%{dracutlibdir}/modules.d/97masterkey
|
|
|
|
%{dracutlibdir}/modules.d/98selinux
|
|
|
|
%{dracutlibdir}/modules.d/98integrity
|
|
|
|
%endif
|
|
|
|
%{dracutlibdir}/modules.d/97biosdevname
|
|
|
|
%{dracutlibdir}/modules.d/98ecryptfs
|
|
|
|
%{dracutlibdir}/modules.d/98pollcdrom
|
|
|
|
%{dracutlibdir}/modules.d/98syslog
|
|
|
|
%{dracutlibdir}/modules.d/98systemd
|
|
|
|
%{dracutlibdir}/modules.d/98usrmount
|
|
|
|
%{dracutlibdir}/modules.d/99base
|
|
|
|
%{dracutlibdir}/modules.d/99fs-lib
|
|
|
|
%{dracutlibdir}/modules.d/99img-lib
|
|
|
|
%{dracutlibdir}/modules.d/99shutdown
|
2012-07-30 20:02:55 +02:00
|
|
|
%{dracutlibdir}/modules.d/99suse
|
2013-07-28 10:57:34 +02:00
|
|
|
%dir %{dracutlibdir}/modules.d/03modsign
|
|
|
|
%{dracutlibdir}/modules.d/03modsign/load-modsign-keys.sh
|
|
|
|
%{dracutlibdir}/modules.d/03modsign/module-setup.sh
|
2013-09-09 10:08:09 +02:00
|
|
|
%dir %{dracutlibdir}/modules.d/00bash
|
|
|
|
%{dracutlibdir}/modules.d/00bash/module-setup.sh
|
2012-07-30 20:02:55 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
|
|
|
%if %{defined _unitdir}
|
2013-04-03 18:57:15 +02:00
|
|
|
%dir %{_unitdir}/initrd.target.wants
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_unitdir}/*.service
|
|
|
|
%{_unitdir}/*/*.service
|
|
|
|
%endif
|
2013-11-29 13:27:47 +01:00
|
|
|
%config %{_sysconfdir}/bash_completion.d/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%files network
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%{dracutlibdir}/modules.d/40network
|
|
|
|
%{dracutlibdir}/modules.d/95fcoe
|
|
|
|
%{dracutlibdir}/modules.d/95iscsi
|
|
|
|
%{dracutlibdir}/modules.d/90livenet
|
|
|
|
%{dracutlibdir}/modules.d/90qemu-net
|
|
|
|
%{dracutlibdir}/modules.d/95nbd
|
|
|
|
%{dracutlibdir}/modules.d/95nfs
|
|
|
|
%{dracutlibdir}/modules.d/95ssh-client
|
|
|
|
%{dracutlibdir}/modules.d/45ifcfg
|
|
|
|
%{dracutlibdir}/modules.d/95znet
|
|
|
|
|
|
|
|
%files caps
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%{dracutlibdir}/modules.d/02caps
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%{_mandir}/man8/dracut-catimages.8*
|
|
|
|
%{_bindir}/dracut-catimages
|
|
|
|
%dir /boot/dracut
|
2012-07-30 20:02:55 +02:00
|
|
|
%dir %{_localstatedir}/lib/dracut
|
|
|
|
%dir %{_localstatedir}/lib/dracut/overlay
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%changelog
|