]> git.ipfire.org Git - thirdparty/dracut.git/blame - dracut.spec
dracut-install: fetch kernel modules from kmoddir
[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
e8638076
LR
120Requires: (NetworkManager >= 1.20 or dhclient)
121Suggests: NetworkManager
353ef760
HH
122Obsoletes: dracut-generic < 008
123Provides: dracut-generic = %{version}-%{release}
ec74fa87
HH
124
125%description network
126This package requires everything which is needed to build a generic
127all purpose initramfs with network support with dracut.
128
52881470 129%package caps
600c8769 130Summary: dracut modules to build a dracut initramfs which drops capabilities
52881470
HH
131Requires: %{name} = %{version}-%{release}
132Requires: libcap
133
134%description caps
135This package requires everything which is needed to build an
bcd352df 136initramfs with dracut, which drops capabilities.
52881470 137
ac13778f
HH
138%package live
139Summary: dracut modules to build a dracut initramfs with live image capabilities
0344c2be
HH
140%if 0%{?_module_build}
141# See the network subpackage comment.
142Requires: %{name} >= %{version}-%{dist_free_release}
143%else
ac13778f 144Requires: %{name} = %{version}-%{release}
0344c2be 145%endif
ac13778f
HH
146Requires: %{name}-network = %{version}-%{release}
147Requires: tar gzip coreutils bash device-mapper curl
84fe3c1a
RS
148%if 0%{?fedora}
149Requires: fuse ntfs-3g
150%endif
ac13778f
HH
151
152%description live
153This package requires everything which is needed to build an
154initramfs with dracut, with live image capabilities, like Live CDs.
155
18e61d3d 156%package config-generic
e22eb857
HH
157Summary: dracut configuration to turn off hostonly image generation
158Requires: %{name} = %{version}-%{release}
4dbb4dc5
ZJS
159Obsoletes: dracut-nohostonly < 030
160Provides: dracut-nohostonly = %{version}-%{release}
e22eb857 161
18e61d3d 162%description config-generic
e22eb857 163This package provides the configuration to turn off the host specific initramfs
18e61d3d 164generation with dracut and generates a generic image by default.
e22eb857 165
18e61d3d
HH
166%package config-rescue
167Summary: dracut configuration to turn on rescue image generation
e22eb857 168Requires: %{name} = %{version}-%{release}
4dbb4dc5 169Obsoletes: dracut < 030
e22eb857 170
18e61d3d
HH
171%description config-rescue
172This package provides the configuration to turn on the rescue initramfs
e22eb857
HH
173generation with dracut.
174
21007cb6 175%package tools
600c8769 176Summary: dracut tools to build the local initramfs
a0af4fa5 177Requires: %{name} = %{version}-%{release}
21007cb6
HH
178
179%description tools
180This package contains tools to assemble the local initrd and host configuration.
181
24f3463b
KS
182%package squash
183Summary: dracut module to build an initramfs with most files in a squashfs image
184Requires: %{name} = %{version}-%{release}
f51ab4a8 185Requires: squashfs-tools
24f3463b
KS
186
187%description squash
188This package provides a dracut module to build an initramfs, but store most files
189in a squashfs image, result in a smaller initramfs size and reduce runtime memory
190usage.
191
38672ee8 192%prep
311aee1b 193%autosetup -n %{name}-%{version} -S git_am
caa72f82 194cp %{SOURCE1} .
76bba2a1 195
38672ee8 196%build
607fec3e
HH
197%configure --systemdsystemunitdir=%{_unitdir} \
198 --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) \
199 --libdir=%{_prefix}/lib \
b40e38db 200%if %{without doc}
607fec3e 201 --disable-documentation \
b40e38db 202%endif
607fec3e 203 ${NULL}
1d4b3375
HH
204
205make %{?_smp_mflags}
38672ee8 206
38672ee8 207%install
1d4b3375
HH
208make %{?_smp_mflags} install \
209 DESTDIR=$RPM_BUILD_ROOT \
210 libdir=%{_prefix}/lib
38672ee8 211
982d59af 212echo "DRACUT_VERSION=%{version}-%{release}" > $RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh
228694e5 213
7a1f355f 214%if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} == 0
32bd2fbb 215rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips
228694e5
HH
216%endif
217
a5b48ce7
HH
218%if %{defined _unitdir}
219# for systemd, better use systemd-bootchart
32bd2fbb 220rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00bootchart
a5b48ce7
HH
221%endif
222
d96c3254 223# we do not support dash in the initramfs
32bd2fbb 224rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash
d96c3254 225
519186e9
TPG
226# we do not support mksh in the initramfs
227rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00mksh
228
783721b3 229# remove gentoo specific modules
32bd2fbb 230rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/50gensplash
95cf0a88 231
04ab68a4
HH
232%if %{defined _unitdir}
233# with systemd IMA and selinux modules do not make sense
32bd2fbb
HH
234rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs
235rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey
236rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
237%endif
238
2bb4881b 239%ifnarch s390 s390x
4c3688d3
YW
240# remove architecture specific modules
241rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/80cms
a07b1bb6 242rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
243rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/91zipl
244rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd
245rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_mod
246rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_rules
247rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 248rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
249rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp
250rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp_rules
251rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95znet
0a80cda0
HH
252%else
253rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00warpclock
4c3688d3
YW
254%endif
255
21007cb6
HH
256mkdir -p $RPM_BUILD_ROOT/boot/dracut
257mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
837a5a60
HH
258mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
259touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
41f90cbe 260mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs
21007cb6 261
11ee2ca8 262%if 0%{?fedora} || 0%{?rhel}
a42b2b81 263install -m 0644 dracut.conf.d/fedora.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d 264%endif
5ce6642f 265%if 0%{?suse_version}
a42b2b81 266install -m 0644 dracut.conf.d/suse.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
4e2cc49d
LR
267%else
268rm -f $RPM_BUILD_ROOT%{_mandir}/man?/*suse*
d9416c0d
HH
269%endif
270
0bb9a683 271%if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} <= 9999
32bd2fbb
HH
272rm -f -- $RPM_BUILD_ROOT%{_bindir}/mkinitrd
273rm -f -- $RPM_BUILD_ROOT%{_bindir}/lsinitrd
4e2cc49d
LR
274rm -f -- $RPM_BUILD_ROOT%{_mandir}/man8/mkinitrd.8*
275rm -f -- $RPM_BUILD_ROOT%{_mandir}/man1/lsinitrd.1*
1b3bdcc1
HH
276%endif
277
18e61d3d
HH
278echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
279echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf
819ea386 280
4e2cc49d 281%if 0%{?fedora} || 0%{?rhel}
819ea386
HH
282# FIXME: remove after F30
283mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d
284install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
2fa6fd3a
HH
285%endif
286
38672ee8 287%files
b40e38db 288%if %{with doc}
ce0344d3 289%doc README.md HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg
b40e38db 290%endif
caa72f82
HH
291%{!?_licensedir:%global license %%doc}
292%license COPYING lgpl-2.1.txt
ed919de0 293%{_bindir}/dracut
917f3e4d 294%{_datadir}/bash-completion/completions/dracut
7dbca9be 295%{_datadir}/bash-completion/completions/lsinitrd
0bb9a683 296%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
ed919de0
HH
297%{_bindir}/mkinitrd
298%{_bindir}/lsinitrd
1b3bdcc1 299%endif
c5a65990
HH
300%dir %{dracutlibdir}
301%dir %{dracutlibdir}/modules.d
552ecca6 302%{dracutlibdir}/dracut-functions.sh
7f2ea02b 303%{dracutlibdir}/dracut-init.sh
a6b63f91 304%{dracutlibdir}/dracut-functions
dbf8f6ba 305%{dracutlibdir}/dracut-version.sh
552ecca6 306%{dracutlibdir}/dracut-logger.sh
fb67e4aa 307%{dracutlibdir}/dracut-initramfs-restore
f4031e8a 308%{dracutlibdir}/dracut-install
5c5350b3 309%{dracutlibdir}/skipcpio
2fa6fd3a 310%config(noreplace) %{_sysconfdir}/dracut.conf
b019d405 311%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
a42b2b81 312%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d 313%endif
2fa6fd3a 314%dir %{_sysconfdir}/dracut.conf.d
a42b2b81 315%dir %{dracutlibdir}/dracut.conf.d
9befacf0 316%dir %{_datadir}/pkgconfig
471439f5 317%{_datadir}/pkgconfig/dracut.pc
b40e38db
HH
318
319%if %{with doc}
00f0a6e7 320%{_mandir}/man8/dracut.8*
13f77e9f 321%{_mandir}/man8/*service.8*
0bb9a683 322%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
0e14946a 323%{_mandir}/man8/mkinitrd.8*
7a1f355f
HH
324%{_mandir}/man1/lsinitrd.1*
325%endif
4d573e3b
LR
326%if 0%{?suse_version}
327%{_mandir}/man8/mkinitrd-suse.8*
328%endif
0d866147 329%{_mandir}/man7/dracut.kernel.7*
45abddb0 330%{_mandir}/man7/dracut.cmdline.7*
b6c89768 331%{_mandir}/man7/dracut.modules.7*
a1ebd771 332%{_mandir}/man7/dracut.bootup.7*
6cc96b35 333%{_mandir}/man5/dracut.conf.5*
b40e38db
HH
334%endif
335
965cacd4 336%if %{undefined _unitdir}
c5a65990 337%{dracutlibdir}/modules.d/00bootchart
a5b48ce7 338%endif
f071d557 339%{dracutlibdir}/modules.d/00bash
b67d8107 340%{dracutlibdir}/modules.d/00systemd
33782aeb 341%ifnarch s390 s390x
25111d71 342%{dracutlibdir}/modules.d/00warpclock
33782aeb 343%endif
be98291c
YW
344%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
345%{dracutlibdir}/modules.d/01fips
346%endif
b67d8107 347%{dracutlibdir}/modules.d/01systemd-initrd
9b6c5fd7 348%{dracutlibdir}/modules.d/03modsign
fba5fbbd 349%{dracutlibdir}/modules.d/03rescue
ef914f7d 350%{dracutlibdir}/modules.d/04watchdog
c5a65990 351%{dracutlibdir}/modules.d/05busybox
960d8726 352%{dracutlibdir}/modules.d/06rngd
c5a65990 353%{dracutlibdir}/modules.d/10i18n
437cecb9 354%{dracutlibdir}/modules.d/30convertfs
5c4bb360 355%{dracutlibdir}/modules.d/45url-lib
b4751714 356%{dracutlibdir}/modules.d/50drm
c5a65990 357%{dracutlibdir}/modules.d/50plymouth
1a95f1f4 358%{dracutlibdir}/modules.d/80lvmmerge
c5a65990
HH
359%{dracutlibdir}/modules.d/90btrfs
360%{dracutlibdir}/modules.d/90crypt
361%{dracutlibdir}/modules.d/90dm
362%{dracutlibdir}/modules.d/90dmraid
c5a65990 363%{dracutlibdir}/modules.d/90kernel-modules
290df2e1 364%{dracutlibdir}/modules.d/90kernel-modules-extra
c5a65990
HH
365%{dracutlibdir}/modules.d/90lvm
366%{dracutlibdir}/modules.d/90mdraid
367%{dracutlibdir}/modules.d/90multipath
cae0004d 368%{dracutlibdir}/modules.d/90stratis
64082786 369%{dracutlibdir}/modules.d/90ppcmac
1488a9b3 370%{dracutlibdir}/modules.d/90qemu
c5a65990 371%{dracutlibdir}/modules.d/91crypt-gpg
24ba78cb 372%{dracutlibdir}/modules.d/91crypt-loop
c5a65990 373%{dracutlibdir}/modules.d/95debug
c5a65990 374%{dracutlibdir}/modules.d/95fstab-sys
c9d20746 375%{dracutlibdir}/modules.d/95lunmask
52d19cb1
YW
376%{dracutlibdir}/modules.d/95resume
377%{dracutlibdir}/modules.d/95rootfs-block
c5a65990
HH
378%{dracutlibdir}/modules.d/95terminfo
379%{dracutlibdir}/modules.d/95udev-rules
a7c9cbe1 380%{dracutlibdir}/modules.d/95virtfs
4c3688d3
YW
381%ifarch s390 s390x
382%{dracutlibdir}/modules.d/80cms
a07b1bb6 383%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
384%{dracutlibdir}/modules.d/91zipl
385%{dracutlibdir}/modules.d/95dasd
386%{dracutlibdir}/modules.d/95dasd_mod
387%{dracutlibdir}/modules.d/95dasd_rules
388%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 389%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
390%{dracutlibdir}/modules.d/95zfcp
391%{dracutlibdir}/modules.d/95zfcp_rules
392%endif
04ab68a4 393%if %{undefined _unitdir}
c5a65990 394%{dracutlibdir}/modules.d/96securityfs
c5a65990 395%{dracutlibdir}/modules.d/97masterkey
c5a65990 396%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
397%endif
398%{dracutlibdir}/modules.d/97biosdevname
52d19cb1 399%{dracutlibdir}/modules.d/98dracut-systemd
04ab68a4 400%{dracutlibdir}/modules.d/98ecryptfs
d33d6077 401%{dracutlibdir}/modules.d/98pollcdrom
639bd487 402%{dracutlibdir}/modules.d/98selinux
c5a65990
HH
403%{dracutlibdir}/modules.d/98syslog
404%{dracutlibdir}/modules.d/98usrmount
405%{dracutlibdir}/modules.d/99base
406%{dracutlibdir}/modules.d/99fs-lib
407%{dracutlibdir}/modules.d/99shutdown
837a5a60 408%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
41f90cbe 409%dir %{_sharedstatedir}/initramfs
b019d405 410%if %{defined _unitdir}
2023d8eb 411%{_unitdir}/dracut-shutdown.service
4f03054e 412%{_unitdir}/sysinit.target.wants/dracut-shutdown.service
cbd69dc6
HH
413%{_unitdir}/dracut-cmdline.service
414%{_unitdir}/dracut-initqueue.service
415%{_unitdir}/dracut-mount.service
416%{_unitdir}/dracut-pre-mount.service
417%{_unitdir}/dracut-pre-pivot.service
418%{_unitdir}/dracut-pre-trigger.service
419%{_unitdir}/dracut-pre-udev.service
420%{_unitdir}/initrd.target.wants/dracut-cmdline.service
421%{_unitdir}/initrd.target.wants/dracut-initqueue.service
422%{_unitdir}/initrd.target.wants/dracut-mount.service
423%{_unitdir}/initrd.target.wants/dracut-pre-mount.service
424%{_unitdir}/initrd.target.wants/dracut-pre-pivot.service
425%{_unitdir}/initrd.target.wants/dracut-pre-trigger.service
426%{_unitdir}/initrd.target.wants/dracut-pre-udev.service
4cfd24d1 427%endif
9dd9d81f 428%{_prefix}/lib/kernel/install.d/50-dracut.install
ec74fa87
HH
429
430%files network
b67d8107 431%{dracutlibdir}/modules.d/02systemd-networkd
08bdadbf 432%{dracutlibdir}/modules.d/35network-manager
73473918 433%{dracutlibdir}/modules.d/35network-legacy
c5a65990 434%{dracutlibdir}/modules.d/40network
52d19cb1 435%{dracutlibdir}/modules.d/45ifcfg
b67d8107 436%{dracutlibdir}/modules.d/90kernel-network-modules
1488a9b3 437%{dracutlibdir}/modules.d/90qemu-net
72ee74b9 438%{dracutlibdir}/modules.d/95cifs
52d19cb1
YW
439%{dracutlibdir}/modules.d/95fcoe
440%{dracutlibdir}/modules.d/95fcoe-uefi
441%{dracutlibdir}/modules.d/95iscsi
c5a65990
HH
442%{dracutlibdir}/modules.d/95nbd
443%{dracutlibdir}/modules.d/95nfs
a29cf54c 444%{dracutlibdir}/modules.d/95ssh-client
4c3688d3 445%ifarch s390 s390x
c5a65990 446%{dracutlibdir}/modules.d/95znet
4c3688d3 447%endif
08f06c93 448%{dracutlibdir}/modules.d/99uefi-lib
78cd7629 449
52881470 450%files caps
c5a65990 451%{dracutlibdir}/modules.d/02caps
52881470 452
ac13778f 453%files live
ac13778f
HH
454%{dracutlibdir}/modules.d/99img-lib
455%{dracutlibdir}/modules.d/90dmsquash-live
ad3b209d 456%{dracutlibdir}/modules.d/90dmsquash-live-ntfs
ac13778f
HH
457%{dracutlibdir}/modules.d/90livenet
458
3b403b32 459%files tools
b40e38db
HH
460%if %{with doc}
461%doc %{_mandir}/man8/dracut-catimages.8*
462%endif
463
ed919de0 464%{_bindir}/dracut-catimages
21007cb6
HH
465%dir /boot/dracut
466%dir /var/lib/dracut
467%dir /var/lib/dracut/overlay
468
f51ab4a8
KS
469%files squash
470%{dracutlibdir}/modules.d/99squash
471
18e61d3d 472%files config-generic
18e61d3d 473%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
e22eb857 474
18e61d3d 475%files config-rescue
18e61d3d 476%{dracutlibdir}/dracut.conf.d/02-rescue.conf
18e61d3d 477%{_prefix}/lib/kernel/install.d/51-dracut-rescue.install
4e2cc49d 478%if 0%{?fedora} || 0%{?rhel}
819ea386
HH
479# FIXME: remove after F30
480%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
18e61d3d 481%endif
e22eb857 482
38672ee8 483%changelog