]> git.ipfire.org Git - thirdparty/dracut.git/blame - dracut.spec
TEST-{20,50,60,70): set MACAddressPolicy=keep
[thirdparty/dracut.git] / dracut.spec
CommitLineData
c5a65990 1%define dracutlibdir %{_prefix}/lib/dracut
b40e38db 2%bcond_without doc
c5a65990 3
9befacf0
HH
4# We ship a .pc file but don't want to have a dep on pkg-config. We
5# strip the automatically generated dep here and instead co-own the
6# directory.
7%global __requires_exclude pkg-config
0344c2be
HH
8%define dist_free_release xxx
9
0aaa523c 10Name: dracut
0e6a94b3 11Version: xxx
0344c2be 12Release: %{dist_free_release}%{?dist}
228694e5 13
38672ee8 14Summary: Initramfs generator using udev
b019d405 15%if 0%{?fedora} || 0%{?rhel}
3b403b32 16Group: System Environment/Base
228694e5 17%endif
5ce6642f 18%if 0%{?suse_version}
228694e5
HH
19Group: System/Base
20%endif
f4031e8a
HH
21
22# The entire source code is GPLv2+
8f53670c
HH
23# except install/* which is LGPLv2+
24License: GPLv2+ and LGPLv2+
f4031e8a 25
82794b4b 26URL: https://dracut.wiki.kernel.org/
f4031e8a 27
3b403b32 28# Source can be generated by
4dbb4dc5 29# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%%{version};sf=tgz
5db9c5c1 30Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
caa72f82
HH
31Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
32
5283544c
HH
33BuildRequires: bash
34BuildRequires: git
4d573e3b 35BuildRequires: pkgconfig(libkmod) >= 23
5283544c 36BuildRequires: gcc
4cfd24d1 37
b019d405 38%if 0%{?fedora} || 0%{?rhel}
8e2bcb4b 39BuildRequires: pkgconfig
0bb9a683 40BuildRequires: systemd
8e2bcb4b
HH
41%endif
42%if 0%{?fedora}
8c67d395 43BuildRequires: bash-completion
228694e5 44%endif
8e2bcb4b 45
b40e38db 46%if %{with doc}
b019d405 47%if 0%{?fedora} || 0%{?rhel}
d9416c0d
HH
48BuildRequires: docbook-style-xsl docbook-dtds libxslt
49%endif
50
5ce6642f 51%if 0%{?suse_version}
4be697e5 52BuildRequires: docbook-xsl-stylesheets libxslt
d9416c0d 53%endif
5c554bd2 54
4ce3a1b1 55BuildRequires: asciidoc
b40e38db
HH
56%endif
57
228694e5
HH
58%if 0%{?suse_version} > 9999
59Obsoletes: mkinitrd < 2.6.1
60Provides: mkinitrd = 2.6.1
61%endif
62
3c3b2cf0
LN
63Obsoletes: dracut-fips <= 047
64Provides: dracut-fips = %{version}-%{release}
65Obsoletes: dracut-fips-aesni <= 047
66Provides: dracut-fips-aesni = %{version}-%{release}
67
d46394ad 68Requires: bash >= 4
38672ee8 69Requires: coreutils
7e33fa5b 70Requires: cpio
7e33fa5b 71Requires: filesystem >= 2.1.0
38672ee8
JK
72Requires: findutils
73Requires: grep
884e1cda 74Requires: kmod
7e33fa5b 75Requires: sed
693b7a32
HH
76Requires: xz
77Requires: gzip
c42064a6 78
0bb9a683 79%if 0%{?fedora} || 0%{?rhel}
c42064a6 80Recommends: hardlink
693b7a32 81Recommends: pigz
c42064a6 82Recommends: kpartx
abbb76fe 83Requires: util-linux >= 2.21
01430d27 84Requires: systemd >= 219
e80ac437 85Requires: systemd-udev >= 219
475f3a81 86Requires: procps-ng
b019d405 87%else
0bb9a683
LN
88Requires: hardlink
89Requires: gzip
90Requires: kpartx
4a5a9c6d 91Requires: udev > 166
abbb76fe 92Requires: util-linux-ng >= 2.21
b019d405 93%endif
d9416c0d 94
1f50d5b8 95%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
bca1967c 96Requires: libkcapi-hmaccalc
1f50d5b8
LN
97%endif
98
38672ee8 99%description
3ed33db5
HH
100dracut contains tools to create bootable initramfses for the Linux
101kernel. Unlike previous implementations, dracut hard-codes as little
102as possible into the initramfs. dracut contains various modules which
103are driven by the event-based udev. Having root on MD, DM, LVM2, LUKS
104is supported as well as NFS, iSCSI, NBD, FCoE with the dracut-network
105package.
38672ee8 106
ec74fa87 107%package network
600c8769 108Summary: dracut modules to build a dracut initramfs with network support
0344c2be
HH
109%if 0%{?_module_build}
110# In the module-build-service, we have pieces of dracut provided by different
111# modules ("base-runtime" provides most functionality, but we need
112# dracut-network in "installer". Since these two modules build with separate
113# dist-tags, we need to reduce this strict requirement to ignore the dist-tag.
114Requires: %{name} >= %{version}-%{dist_free_release}
115%else
78cd7629 116Requires: %{name} = %{version}-%{release}
0344c2be 117%endif
3d8a164d
HH
118Requires: iputils
119Requires: iproute
dc63e654 120Requires: dhclient
353ef760
HH
121Obsoletes: dracut-generic < 008
122Provides: dracut-generic = %{version}-%{release}
ec74fa87
HH
123
124%description network
125This package requires everything which is needed to build a generic
126all purpose initramfs with network support with dracut.
127
52881470 128%package caps
600c8769 129Summary: dracut modules to build a dracut initramfs which drops capabilities
52881470
HH
130Requires: %{name} = %{version}-%{release}
131Requires: libcap
132
133%description caps
134This package requires everything which is needed to build an
bcd352df 135initramfs with dracut, which drops capabilities.
52881470 136
ac13778f
HH
137%package live
138Summary: dracut modules to build a dracut initramfs with live image capabilities
0344c2be
HH
139%if 0%{?_module_build}
140# See the network subpackage comment.
141Requires: %{name} >= %{version}-%{dist_free_release}
142%else
ac13778f 143Requires: %{name} = %{version}-%{release}
0344c2be 144%endif
ac13778f
HH
145Requires: %{name}-network = %{version}-%{release}
146Requires: tar gzip coreutils bash device-mapper curl
84fe3c1a
RS
147%if 0%{?fedora}
148Requires: fuse ntfs-3g
149%endif
ac13778f
HH
150
151%description live
152This package requires everything which is needed to build an
153initramfs with dracut, with live image capabilities, like Live CDs.
154
18e61d3d 155%package config-generic
e22eb857
HH
156Summary: dracut configuration to turn off hostonly image generation
157Requires: %{name} = %{version}-%{release}
4dbb4dc5
ZJS
158Obsoletes: dracut-nohostonly < 030
159Provides: dracut-nohostonly = %{version}-%{release}
e22eb857 160
18e61d3d 161%description config-generic
e22eb857 162This package provides the configuration to turn off the host specific initramfs
18e61d3d 163generation with dracut and generates a generic image by default.
e22eb857 164
18e61d3d
HH
165%package config-rescue
166Summary: dracut configuration to turn on rescue image generation
e22eb857 167Requires: %{name} = %{version}-%{release}
4dbb4dc5 168Obsoletes: dracut < 030
e22eb857 169
18e61d3d
HH
170%description config-rescue
171This package provides the configuration to turn on the rescue initramfs
e22eb857
HH
172generation with dracut.
173
21007cb6 174%package tools
600c8769 175Summary: dracut tools to build the local initramfs
a0af4fa5 176Requires: %{name} = %{version}-%{release}
21007cb6
HH
177
178%description tools
179This package contains tools to assemble the local initrd and host configuration.
180
24f3463b
KS
181%package squash
182Summary: dracut module to build an initramfs with most files in a squashfs image
183Requires: %{name} = %{version}-%{release}
f51ab4a8 184Requires: squashfs-tools
24f3463b
KS
185
186%description squash
187This package provides a dracut module to build an initramfs, but store most files
188in a squashfs image, result in a smaller initramfs size and reduce runtime memory
189usage.
190
38672ee8 191%prep
311aee1b 192%autosetup -n %{name}-%{version} -S git_am
caa72f82 193cp %{SOURCE1} .
76bba2a1 194
38672ee8 195%build
607fec3e
HH
196%configure --systemdsystemunitdir=%{_unitdir} \
197 --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) \
198 --libdir=%{_prefix}/lib \
b40e38db 199%if %{without doc}
607fec3e 200 --disable-documentation \
b40e38db 201%endif
607fec3e 202 ${NULL}
1d4b3375
HH
203
204make %{?_smp_mflags}
38672ee8 205
38672ee8 206%install
1d4b3375
HH
207make %{?_smp_mflags} install \
208 DESTDIR=$RPM_BUILD_ROOT \
209 libdir=%{_prefix}/lib
38672ee8 210
982d59af 211echo "DRACUT_VERSION=%{version}-%{release}" > $RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh
228694e5 212
7a1f355f 213%if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} == 0
32bd2fbb 214rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips
228694e5
HH
215%endif
216
a5b48ce7
HH
217%if %{defined _unitdir}
218# for systemd, better use systemd-bootchart
32bd2fbb 219rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00bootchart
a5b48ce7
HH
220%endif
221
d96c3254 222# we do not support dash in the initramfs
32bd2fbb 223rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash
d96c3254 224
519186e9
TPG
225# we do not support mksh in the initramfs
226rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00mksh
227
783721b3 228# remove gentoo specific modules
32bd2fbb 229rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/50gensplash
95cf0a88 230
04ab68a4
HH
231%if %{defined _unitdir}
232# with systemd IMA and selinux modules do not make sense
32bd2fbb
HH
233rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs
234rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey
235rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
236%endif
237
2bb4881b 238%ifnarch s390 s390x
4c3688d3
YW
239# remove architecture specific modules
240rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/80cms
a07b1bb6 241rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
242rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/91zipl
243rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd
244rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_mod
245rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_rules
246rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 247rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
248rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp
249rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp_rules
250rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95znet
0a80cda0
HH
251%else
252rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00warpclock
4c3688d3
YW
253%endif
254
21007cb6
HH
255mkdir -p $RPM_BUILD_ROOT/boot/dracut
256mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
837a5a60
HH
257mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
258touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
41f90cbe 259mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs
21007cb6 260
11ee2ca8 261%if 0%{?fedora} || 0%{?rhel}
a42b2b81 262install -m 0644 dracut.conf.d/fedora.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d 263%endif
5ce6642f 264%if 0%{?suse_version}
a42b2b81 265install -m 0644 dracut.conf.d/suse.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
4e2cc49d
LR
266%else
267rm -f $RPM_BUILD_ROOT%{_mandir}/man?/*suse*
d9416c0d
HH
268%endif
269
0bb9a683 270%if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} <= 9999
32bd2fbb
HH
271rm -f -- $RPM_BUILD_ROOT%{_bindir}/mkinitrd
272rm -f -- $RPM_BUILD_ROOT%{_bindir}/lsinitrd
4e2cc49d
LR
273rm -f -- $RPM_BUILD_ROOT%{_mandir}/man8/mkinitrd.8*
274rm -f -- $RPM_BUILD_ROOT%{_mandir}/man1/lsinitrd.1*
1b3bdcc1
HH
275%endif
276
18e61d3d
HH
277echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
278echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf
819ea386 279
4e2cc49d 280%if 0%{?fedora} || 0%{?rhel}
819ea386
HH
281# FIXME: remove after F30
282mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d
283install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
2fa6fd3a
HH
284%endif
285
38672ee8 286%files
b40e38db 287%if %{with doc}
ce0344d3 288%doc README.md HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg
b40e38db 289%endif
caa72f82
HH
290%{!?_licensedir:%global license %%doc}
291%license COPYING lgpl-2.1.txt
ed919de0 292%{_bindir}/dracut
917f3e4d 293%{_datadir}/bash-completion/completions/dracut
7dbca9be 294%{_datadir}/bash-completion/completions/lsinitrd
0bb9a683 295%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
ed919de0
HH
296%{_bindir}/mkinitrd
297%{_bindir}/lsinitrd
1b3bdcc1 298%endif
c5a65990
HH
299%dir %{dracutlibdir}
300%dir %{dracutlibdir}/modules.d
552ecca6 301%{dracutlibdir}/dracut-functions.sh
7f2ea02b 302%{dracutlibdir}/dracut-init.sh
a6b63f91 303%{dracutlibdir}/dracut-functions
dbf8f6ba 304%{dracutlibdir}/dracut-version.sh
552ecca6 305%{dracutlibdir}/dracut-logger.sh
fb67e4aa 306%{dracutlibdir}/dracut-initramfs-restore
f4031e8a 307%{dracutlibdir}/dracut-install
5c5350b3 308%{dracutlibdir}/skipcpio
2fa6fd3a 309%config(noreplace) %{_sysconfdir}/dracut.conf
b019d405 310%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
a42b2b81 311%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d 312%endif
2fa6fd3a 313%dir %{_sysconfdir}/dracut.conf.d
a42b2b81 314%dir %{dracutlibdir}/dracut.conf.d
9befacf0 315%dir %{_datadir}/pkgconfig
471439f5 316%{_datadir}/pkgconfig/dracut.pc
b40e38db
HH
317
318%if %{with doc}
00f0a6e7 319%{_mandir}/man8/dracut.8*
13f77e9f 320%{_mandir}/man8/*service.8*
0bb9a683 321%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
0e14946a 322%{_mandir}/man8/mkinitrd.8*
7a1f355f
HH
323%{_mandir}/man1/lsinitrd.1*
324%endif
4d573e3b
LR
325%if 0%{?suse_version}
326%{_mandir}/man8/mkinitrd-suse.8*
327%endif
0d866147 328%{_mandir}/man7/dracut.kernel.7*
45abddb0 329%{_mandir}/man7/dracut.cmdline.7*
b6c89768 330%{_mandir}/man7/dracut.modules.7*
a1ebd771 331%{_mandir}/man7/dracut.bootup.7*
6cc96b35 332%{_mandir}/man5/dracut.conf.5*
b40e38db
HH
333%endif
334
965cacd4 335%if %{undefined _unitdir}
c5a65990 336%{dracutlibdir}/modules.d/00bootchart
a5b48ce7 337%endif
f071d557 338%{dracutlibdir}/modules.d/00bash
b67d8107 339%{dracutlibdir}/modules.d/00systemd
33782aeb 340%ifnarch s390 s390x
25111d71 341%{dracutlibdir}/modules.d/00warpclock
33782aeb 342%endif
be98291c
YW
343%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
344%{dracutlibdir}/modules.d/01fips
345%endif
b67d8107 346%{dracutlibdir}/modules.d/01systemd-initrd
9b6c5fd7 347%{dracutlibdir}/modules.d/03modsign
fba5fbbd 348%{dracutlibdir}/modules.d/03rescue
ef914f7d 349%{dracutlibdir}/modules.d/04watchdog
c5a65990 350%{dracutlibdir}/modules.d/05busybox
960d8726 351%{dracutlibdir}/modules.d/06rngd
c5a65990 352%{dracutlibdir}/modules.d/10i18n
437cecb9 353%{dracutlibdir}/modules.d/30convertfs
5c4bb360 354%{dracutlibdir}/modules.d/45url-lib
b4751714 355%{dracutlibdir}/modules.d/50drm
c5a65990 356%{dracutlibdir}/modules.d/50plymouth
1a95f1f4 357%{dracutlibdir}/modules.d/80lvmmerge
c5a65990
HH
358%{dracutlibdir}/modules.d/90btrfs
359%{dracutlibdir}/modules.d/90crypt
360%{dracutlibdir}/modules.d/90dm
361%{dracutlibdir}/modules.d/90dmraid
c5a65990 362%{dracutlibdir}/modules.d/90kernel-modules
290df2e1 363%{dracutlibdir}/modules.d/90kernel-modules-extra
c5a65990
HH
364%{dracutlibdir}/modules.d/90lvm
365%{dracutlibdir}/modules.d/90mdraid
366%{dracutlibdir}/modules.d/90multipath
cae0004d 367%{dracutlibdir}/modules.d/90stratis
64082786 368%{dracutlibdir}/modules.d/90ppcmac
1488a9b3 369%{dracutlibdir}/modules.d/90qemu
c5a65990 370%{dracutlibdir}/modules.d/91crypt-gpg
24ba78cb 371%{dracutlibdir}/modules.d/91crypt-loop
c5a65990 372%{dracutlibdir}/modules.d/95debug
c5a65990 373%{dracutlibdir}/modules.d/95fstab-sys
c9d20746 374%{dracutlibdir}/modules.d/95lunmask
52d19cb1
YW
375%{dracutlibdir}/modules.d/95resume
376%{dracutlibdir}/modules.d/95rootfs-block
c5a65990
HH
377%{dracutlibdir}/modules.d/95terminfo
378%{dracutlibdir}/modules.d/95udev-rules
a7c9cbe1 379%{dracutlibdir}/modules.d/95virtfs
4c3688d3
YW
380%ifarch s390 s390x
381%{dracutlibdir}/modules.d/80cms
a07b1bb6 382%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
383%{dracutlibdir}/modules.d/91zipl
384%{dracutlibdir}/modules.d/95dasd
385%{dracutlibdir}/modules.d/95dasd_mod
386%{dracutlibdir}/modules.d/95dasd_rules
387%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 388%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
389%{dracutlibdir}/modules.d/95zfcp
390%{dracutlibdir}/modules.d/95zfcp_rules
391%endif
04ab68a4 392%if %{undefined _unitdir}
c5a65990 393%{dracutlibdir}/modules.d/96securityfs
c5a65990 394%{dracutlibdir}/modules.d/97masterkey
c5a65990 395%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
396%endif
397%{dracutlibdir}/modules.d/97biosdevname
52d19cb1 398%{dracutlibdir}/modules.d/98dracut-systemd
04ab68a4 399%{dracutlibdir}/modules.d/98ecryptfs
d33d6077 400%{dracutlibdir}/modules.d/98pollcdrom
639bd487 401%{dracutlibdir}/modules.d/98selinux
c5a65990
HH
402%{dracutlibdir}/modules.d/98syslog
403%{dracutlibdir}/modules.d/98usrmount
404%{dracutlibdir}/modules.d/99base
405%{dracutlibdir}/modules.d/99fs-lib
406%{dracutlibdir}/modules.d/99shutdown
837a5a60 407%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
41f90cbe 408%dir %{_sharedstatedir}/initramfs
b019d405 409%if %{defined _unitdir}
2023d8eb 410%{_unitdir}/dracut-shutdown.service
4f03054e 411%{_unitdir}/sysinit.target.wants/dracut-shutdown.service
cbd69dc6
HH
412%{_unitdir}/dracut-cmdline.service
413%{_unitdir}/dracut-initqueue.service
414%{_unitdir}/dracut-mount.service
415%{_unitdir}/dracut-pre-mount.service
416%{_unitdir}/dracut-pre-pivot.service
417%{_unitdir}/dracut-pre-trigger.service
418%{_unitdir}/dracut-pre-udev.service
419%{_unitdir}/initrd.target.wants/dracut-cmdline.service
420%{_unitdir}/initrd.target.wants/dracut-initqueue.service
421%{_unitdir}/initrd.target.wants/dracut-mount.service
422%{_unitdir}/initrd.target.wants/dracut-pre-mount.service
423%{_unitdir}/initrd.target.wants/dracut-pre-pivot.service
424%{_unitdir}/initrd.target.wants/dracut-pre-trigger.service
425%{_unitdir}/initrd.target.wants/dracut-pre-udev.service
4cfd24d1 426%endif
9dd9d81f 427%{_prefix}/lib/kernel/install.d/50-dracut.install
ec74fa87
HH
428
429%files network
b67d8107 430%{dracutlibdir}/modules.d/02systemd-networkd
08bdadbf 431%{dracutlibdir}/modules.d/35network-manager
73473918 432%{dracutlibdir}/modules.d/35network-legacy
c5a65990 433%{dracutlibdir}/modules.d/40network
52d19cb1 434%{dracutlibdir}/modules.d/45ifcfg
b67d8107 435%{dracutlibdir}/modules.d/90kernel-network-modules
1488a9b3 436%{dracutlibdir}/modules.d/90qemu-net
72ee74b9 437%{dracutlibdir}/modules.d/95cifs
52d19cb1
YW
438%{dracutlibdir}/modules.d/95fcoe
439%{dracutlibdir}/modules.d/95fcoe-uefi
440%{dracutlibdir}/modules.d/95iscsi
c5a65990
HH
441%{dracutlibdir}/modules.d/95nbd
442%{dracutlibdir}/modules.d/95nfs
a29cf54c 443%{dracutlibdir}/modules.d/95ssh-client
4c3688d3 444%ifarch s390 s390x
c5a65990 445%{dracutlibdir}/modules.d/95znet
4c3688d3 446%endif
08f06c93 447%{dracutlibdir}/modules.d/99uefi-lib
78cd7629 448
52881470 449%files caps
c5a65990 450%{dracutlibdir}/modules.d/02caps
52881470 451
ac13778f 452%files live
ac13778f
HH
453%{dracutlibdir}/modules.d/99img-lib
454%{dracutlibdir}/modules.d/90dmsquash-live
ad3b209d 455%{dracutlibdir}/modules.d/90dmsquash-live-ntfs
ac13778f
HH
456%{dracutlibdir}/modules.d/90livenet
457
3b403b32 458%files tools
b40e38db
HH
459%if %{with doc}
460%doc %{_mandir}/man8/dracut-catimages.8*
461%endif
462
ed919de0 463%{_bindir}/dracut-catimages
21007cb6
HH
464%dir /boot/dracut
465%dir /var/lib/dracut
466%dir /var/lib/dracut/overlay
467
f51ab4a8
KS
468%files squash
469%{dracutlibdir}/modules.d/99squash
470
18e61d3d 471%files config-generic
18e61d3d 472%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
e22eb857 473
18e61d3d 474%files config-rescue
18e61d3d 475%{dracutlibdir}/dracut.conf.d/02-rescue.conf
18e61d3d 476%{_prefix}/lib/kernel/install.d/51-dracut-rescue.install
4e2cc49d 477%if 0%{?fedora} || 0%{?rhel}
819ea386
HH
478# FIXME: remove after F30
479%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
18e61d3d 480%endif
e22eb857 481
38672ee8 482%changelog