2012-07-13 15:52:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package dracut
|
|
|
|
#
|
2024-01-22 14:09:01 +01:00
|
|
|
# Copyright (c) 2024 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
|
|
|
|
2022-01-18 18:00:29 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
|
|
|
%define dracut_sbindir %{_sbindir}
|
|
|
|
%else
|
|
|
|
%define dracut_sbindir /sbin
|
|
|
|
%endif
|
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Name: dracut
|
2024-02-13 11:52:40 +01:00
|
|
|
Version: 059+suse.554.g6144bf71
|
2012-07-30 20:02:55 +02:00
|
|
|
Release: 0
|
2022-04-04 08:01:58 +02:00
|
|
|
Summary: Event driven initramfs infrastructure
|
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2023-03-03 14:37:03 +01:00
|
|
|
URL: https://github.com/dracutdevs/dracut/wiki
|
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
|
2021-12-10 10:30:32 +01:00
|
|
|
BuildRequires: cargo
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
2021-12-10 10:30:32 +01:00
|
|
|
BuildRequires: rust
|
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
|
|
|
|
Requires: coreutils
|
2023-08-02 09:23:23 +02:00
|
|
|
Requires: gawk
|
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
|
2023-01-23 10:43:39 +01:00
|
|
|
Recommends: (tpm2.0-tools if tpm2-0-tss)
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: udev > 166
|
|
|
|
Requires: util-linux >= 2.21
|
2022-01-18 18:00:29 +01:00
|
|
|
Requires: util-linux-systemd >= 2.36.2
|
2021-11-23 10:42:24 +01:00
|
|
|
Recommends: xz
|
|
|
|
Requires: zstd
|
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
|
2022-01-18 18:00:29 +01:00
|
|
|
# suse-module-tools >= 15.4.7 is prepared for the removal of mkinitrd-suse.sh
|
2021-12-09 11:14:41 +01:00
|
|
|
Conflicts: suse-module-tools < 15.4.7
|
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
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
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}
|
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.
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2014-04-27 10:49:25 +02:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
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.
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
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}
|
|
|
|
|
|
|
|
%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
|
2021-10-12 13:47:42 +02:00
|
|
|
%autosetup
|
2017-02-02 13:23:11 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%build
|
2021-12-10 10:30:32 +01:00
|
|
|
%configure \
|
|
|
|
--systemdsystemunitdir=%{_unitdir} \
|
2022-09-16 08:03:45 +02:00
|
|
|
--bashcompletiondir=%{_datadir}/bash-completion/completions \
|
2021-12-10 10:30:32 +01:00
|
|
|
--libdir=%{_prefix}/lib \
|
|
|
|
--enable-dracut-cpio
|
2021-10-12 13:47:42 +02:00
|
|
|
%make_build all CFLAGS="%{optflags}" %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%install
|
2021-10-12 13:47:42 +02:00
|
|
|
%make_install
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2022-09-16 08:03:45 +02:00
|
|
|
echo -e "#!/bin/bash\nDRACUT_VERSION=%{version}-%{release}" > %{buildroot}%{dracutlibdir}/dracut-version.sh
|
|
|
|
|
|
|
|
# remove architecture specific modules
|
|
|
|
%ifnarch ppc ppc64 ppc64le ppc64p7
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/90ppcmac
|
|
|
|
%endif
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/80cms
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/81cio_ignore
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/91zipl
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95dasd
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95dasd_mod
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95dasd_rules
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95dcssblk
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95qeth_rules
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95zfcp
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95zfcp_rules
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/95znet
|
|
|
|
%else
|
|
|
|
rm -rf %{buildroot}%{dracutlibdir}/modules.d/00warpclock
|
|
|
|
%endif
|
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
|
|
|
|
2022-09-16 08:03:45 +02:00
|
|
|
install -D -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{dracutlibdir}/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
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
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
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2017-03-02 16:14:47 +01:00
|
|
|
# bsc#915218
|
|
|
|
%ifarch s390 s390x
|
2022-09-16 08:03:45 +02:00
|
|
|
install -m 0644 suse/s390x_persistent_policy.conf %{buildroot}%{_sysconfdir}/dracut.conf.d/10-persistent_policy.conf
|
|
|
|
%else
|
|
|
|
install -m 0644 suse/persistent_policy.conf %{buildroot}%{_sysconfdir}/dracut.conf.d/10-persistent_policy.conf
|
2013-07-18 13:45:24 +02:00
|
|
|
%endif
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2014-02-17 14:21:58 +01:00
|
|
|
%if 0%{?suse_version}
|
2022-09-16 08:03:45 +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
|
2022-09-16 08:03:45 +02:00
|
|
|
mv %{buildroot}%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh %{buildroot}%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh
|
|
|
|
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
2014-02-17 14:21:58 +01:00
|
|
|
%endif
|
|
|
|
|
2022-04-04 08:01:58 +02:00
|
|
|
# create a link to dracut-util to be able to parse kernel command line arguments at generation time
|
2022-09-16 08:03:45 +02:00
|
|
|
ln -s %{dracutlibdir}/dracut-util %{buildroot}%{dracutlibdir}/dracut-getarg
|
2022-04-04 08:01:58 +02:00
|
|
|
|
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
|
2023-09-11 11:04:36 +02:00
|
|
|
|
|
|
|
# remove obsolete legacy fillup template for /etc/sysconfig/kernel
|
|
|
|
[ -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd ] && rm -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd
|
|
|
|
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2015-02-05 10:38:06 +01:00
|
|
|
%post fips
|
|
|
|
%{?regenerate_initrd_post}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2017-10-07 12:32:07 +02:00
|
|
|
%post ima
|
|
|
|
%{?regenerate_initrd_post}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2017-10-07 12:32:07 +02:00
|
|
|
|
2014-05-14 14:53:58 +02:00
|
|
|
%postun
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2015-02-05 10:38:06 +01:00
|
|
|
%postun fips
|
|
|
|
%{?regenerate_initrd_post}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2015-02-05 10:38:06 +01:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2021-04-07 16:05:49 +02:00
|
|
|
%postun ima
|
2017-10-07 12:32:07 +02:00
|
|
|
%{?regenerate_initrd_post}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2017-10-07 12:32:07 +02:00
|
|
|
|
2015-02-05 10:38:06 +01:00
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2015-02-05 10:38:06 +01:00
|
|
|
%posttrans fips
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2017-10-07 12:32:07 +02:00
|
|
|
%posttrans ima
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2017-10-07 12:32:07 +02:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2014-04-27 10:49:25 +02:00
|
|
|
%files fips
|
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
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2014-04-27 10:49:25 +02:00
|
|
|
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifnarch %ix86
|
2017-10-07 12:32:07 +02:00
|
|
|
%files ima
|
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
|
2023-09-08 12:05:34 +02:00
|
|
|
%endif
|
2017-10-07 12:32:07 +02:00
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
%files tools
|
|
|
|
%{_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
|
|
|
|
%license COPYING
|
|
|
|
|
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
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch ppc ppc64 ppc64le ppc64p7
|
2020-03-24 12:26:34 +01:00
|
|
|
%{dracutlibdir}/modules.d/90ppcmac
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
|
|
|
%ifarch s390 s390x
|
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
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2020-03-10 17:42:32 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%files
|
2018-03-19 12:53:36 +01:00
|
|
|
%license COPYING
|
2021-05-18 11:09:07 +02:00
|
|
|
%doc README.md NEWS.md AUTHORS dracut.html
|
|
|
|
%doc docs/README.cross docs/README.generic docs/README.kernel
|
|
|
|
%doc docs/HACKING.md docs/dracut.png docs/dracut.svg
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_bindir}/dracut
|
2014-03-04 19:26:06 +01:00
|
|
|
%{_bindir}/lsinitrd
|
2022-09-16 08:03:45 +02:00
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
%{_datadir}/bash-completion/completions/dracut
|
|
|
|
%{_datadir}/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
|
2022-09-16 08:03:45 +02:00
|
|
|
%dir %{dracutlibdir}/dracut.conf.d
|
|
|
|
%{dracutlibdir}/dracut.conf.d/01-dist.conf
|
2016-03-29 17:53:41 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/99-debug.conf
|
2022-09-16 08:03:45 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/10-persistent_policy.conf
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_mandir}/man8/dracut.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
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/dracut-util
|
2022-04-04 08:01:58 +02:00
|
|
|
%{dracutlibdir}/dracut-getarg
|
2021-12-10 10:30:32 +01:00
|
|
|
%{dracutlibdir}/dracut-cpio
|
2015-11-26 12:35:04 +01:00
|
|
|
|
|
|
|
%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
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/00systemd-network-management
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifnarch s390 s390x
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/00warpclock
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifarch %ix86
|
|
|
|
%exclude %{dracutlibdir}/modules.d/01fips
|
|
|
|
%endif
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-ac-power
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-ask-password
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-coredump
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-hostnamed
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-initrd
|
2022-04-04 08:01:58 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-integritysetup
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-journald
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-ldconfig
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-modules-load
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-networkd
|
2023-01-23 10:43:39 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-pcrphase
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-portabled
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-pstore
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-repart
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-resolved
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-sysctl
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-sysext
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-sysusers
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/01systemd-timedated
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-timesyncd
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-tmpfiles
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-udevd
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-veritysetup
|
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
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/06dbus-broker
|
|
|
|
%{dracutlibdir}/modules.d/06dbus-daemon
|
2020-03-24 12:26:34 +01:00
|
|
|
%{dracutlibdir}/modules.d/06rngd
|
2021-02-17 15:31:01 +01:00
|
|
|
%{dracutlibdir}/modules.d/09dbus
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/10i18n
|
|
|
|
%{dracutlibdir}/modules.d/30convertfs
|
2022-06-22 12:50:50 +02:00
|
|
|
%{dracutlibdir}/modules.d/35connman
|
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
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/62bluetooth
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/80cms
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/80lvmmerge
|
2022-06-22 12:50:50 +02:00
|
|
|
%{dracutlibdir}/modules.d/80lvmthinpool-monitor
|
2023-01-23 10:43:39 +01:00
|
|
|
%exclude %{dracutlibdir}/modules.d/80test
|
|
|
|
%exclude %{dracutlibdir}/modules.d/80test-makeroot
|
|
|
|
%exclude %{dracutlibdir}/modules.d/80test-root
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
2014-06-02 20:32:32 +02:00
|
|
|
%{dracutlibdir}/modules.d/81cio_ignore
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
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
|
2023-01-23 10:43:39 +01:00
|
|
|
%{dracutlibdir}/modules.d/90dmsquash-live-autooverlay
|
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
|
2023-01-23 10:43:39 +01:00
|
|
|
%{dracutlibdir}/modules.d/90overlayfs
|
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
|
2021-12-09 11:14:41 +01:00
|
|
|
%{dracutlibdir}/modules.d/91fido2
|
2022-04-04 08:01:58 +02:00
|
|
|
%{dracutlibdir}/modules.d/91pcsc
|
|
|
|
%{dracutlibdir}/modules.d/91pkcs11
|
2021-05-18 11:09:07 +02:00
|
|
|
%{dracutlibdir}/modules.d/91tpm2-tss
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
2014-07-03 10:00:15 +02:00
|
|
|
%{dracutlibdir}/modules.d/91zipl
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2012-08-02 21:33:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95cifs
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
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
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2019-05-25 21:57:14 +02:00
|
|
|
%{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
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
2018-02-09 17:21:40 +01:00
|
|
|
%{dracutlibdir}/modules.d/95qeth_rules
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
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
|
2022-06-22 12:50:50 +02:00
|
|
|
%{dracutlibdir}/modules.d/95virtiofs
|
2022-09-16 08:03:45 +02:00
|
|
|
%ifarch s390 s390x
|
2019-05-25 21:57:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95zfcp_rules
|
2022-09-16 08:03:45 +02:00
|
|
|
%endif
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/97biosdevname
|
2023-09-08 12:05:34 +02:00
|
|
|
%ifarch %ix86
|
|
|
|
%exclude %{dracutlibdir}/modules.d/96securityfs
|
|
|
|
%exclude %{dracutlibdir}/modules.d/97masterkey
|
|
|
|
%exclude %{dracutlibdir}/modules.d/98integrity
|
|
|
|
%endif
|
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
|
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
|
|
|
|
|
|
|
|
%changelog
|