]> git.ipfire.org Git - thirdparty/dracut.git/blame - dracut.spec
dracut-install: simplify ldd parsing logic
[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
7bb80835 35BuildRequires: kmod-devel >= 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}
184Requires: squash-tools
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
783721b3 225# remove gentoo specific modules
32bd2fbb 226rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/50gensplash
95cf0a88 227
04ab68a4
HH
228%if %{defined _unitdir}
229# with systemd IMA and selinux modules do not make sense
32bd2fbb
HH
230rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs
231rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey
232rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
233%endif
234
2bb4881b 235%ifnarch s390 s390x
4c3688d3
YW
236# remove architecture specific modules
237rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/80cms
a07b1bb6 238rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
239rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/91zipl
240rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd
241rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_mod
242rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_rules
243rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 244rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
245rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp
246rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp_rules
247rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95znet
0a80cda0
HH
248%else
249rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00warpclock
4c3688d3
YW
250%endif
251
21007cb6
HH
252mkdir -p $RPM_BUILD_ROOT/boot/dracut
253mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
837a5a60
HH
254mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
255touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
41f90cbe 256mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs
21007cb6 257
11ee2ca8 258%if 0%{?fedora} || 0%{?rhel}
a42b2b81 259install -m 0644 dracut.conf.d/fedora.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
11ee2ca8 260rm -f $RPM_BUILD_ROOT%{_mandir}/man?/*suse*
d9416c0d 261%endif
5ce6642f 262%if 0%{?suse_version}
a42b2b81 263install -m 0644 dracut.conf.d/suse.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d
HH
264%endif
265
0bb9a683 266%if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} <= 9999
32bd2fbb
HH
267rm -f -- $RPM_BUILD_ROOT%{_bindir}/mkinitrd
268rm -f -- $RPM_BUILD_ROOT%{_bindir}/lsinitrd
1b3bdcc1
HH
269%endif
270
0bb9a683 271%if 0%{?fedora} || 0%{?rhel}
18e61d3d
HH
272echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
273echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf
819ea386
HH
274
275# FIXME: remove after F30
276mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d
277install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
2fa6fd3a
HH
278%endif
279
38672ee8 280%files
b40e38db 281%if %{with doc}
caa72f82 282%doc README HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg
b40e38db 283%endif
caa72f82
HH
284%{!?_licensedir:%global license %%doc}
285%license COPYING lgpl-2.1.txt
ed919de0 286%{_bindir}/dracut
917f3e4d 287%{_datadir}/bash-completion/completions/dracut
7dbca9be 288%{_datadir}/bash-completion/completions/lsinitrd
0bb9a683 289%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
ed919de0
HH
290%{_bindir}/mkinitrd
291%{_bindir}/lsinitrd
1b3bdcc1 292%endif
c5a65990
HH
293%dir %{dracutlibdir}
294%dir %{dracutlibdir}/modules.d
552ecca6 295%{dracutlibdir}/dracut-functions.sh
7f2ea02b 296%{dracutlibdir}/dracut-init.sh
a6b63f91 297%{dracutlibdir}/dracut-functions
dbf8f6ba 298%{dracutlibdir}/dracut-version.sh
552ecca6 299%{dracutlibdir}/dracut-logger.sh
fb67e4aa 300%{dracutlibdir}/dracut-initramfs-restore
f4031e8a 301%{dracutlibdir}/dracut-install
5c5350b3 302%{dracutlibdir}/skipcpio
2fa6fd3a 303%config(noreplace) %{_sysconfdir}/dracut.conf
b019d405 304%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
a42b2b81 305%{dracutlibdir}/dracut.conf.d/01-dist.conf
d9416c0d 306%endif
2fa6fd3a 307%dir %{_sysconfdir}/dracut.conf.d
a42b2b81 308%dir %{dracutlibdir}/dracut.conf.d
9befacf0 309%dir %{_datadir}/pkgconfig
471439f5 310%{_datadir}/pkgconfig/dracut.pc
b40e38db
HH
311
312%if %{with doc}
00f0a6e7 313%{_mandir}/man8/dracut.8*
13f77e9f 314%{_mandir}/man8/*service.8*
0bb9a683 315%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} > 9999
0e14946a 316%{_mandir}/man8/mkinitrd.8*
7a1f355f
HH
317%{_mandir}/man1/lsinitrd.1*
318%endif
0d866147 319%{_mandir}/man7/dracut.kernel.7*
45abddb0 320%{_mandir}/man7/dracut.cmdline.7*
b6c89768 321%{_mandir}/man7/dracut.modules.7*
a1ebd771 322%{_mandir}/man7/dracut.bootup.7*
6cc96b35 323%{_mandir}/man5/dracut.conf.5*
b40e38db
HH
324%endif
325
965cacd4 326%if %{undefined _unitdir}
c5a65990 327%{dracutlibdir}/modules.d/00bootchart
a5b48ce7 328%endif
f071d557 329%{dracutlibdir}/modules.d/00bash
b67d8107 330%{dracutlibdir}/modules.d/00systemd
33782aeb 331%ifnarch s390 s390x
25111d71 332%{dracutlibdir}/modules.d/00warpclock
33782aeb 333%endif
be98291c
YW
334%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
335%{dracutlibdir}/modules.d/01fips
336%endif
b67d8107 337%{dracutlibdir}/modules.d/01systemd-initrd
9b6c5fd7 338%{dracutlibdir}/modules.d/03modsign
fba5fbbd 339%{dracutlibdir}/modules.d/03rescue
ef914f7d 340%{dracutlibdir}/modules.d/04watchdog
c5a65990
HH
341%{dracutlibdir}/modules.d/05busybox
342%{dracutlibdir}/modules.d/10i18n
437cecb9 343%{dracutlibdir}/modules.d/30convertfs
5c4bb360 344%{dracutlibdir}/modules.d/45url-lib
b4751714 345%{dracutlibdir}/modules.d/50drm
c5a65990 346%{dracutlibdir}/modules.d/50plymouth
1a95f1f4 347%{dracutlibdir}/modules.d/80lvmmerge
c5a65990
HH
348%{dracutlibdir}/modules.d/90btrfs
349%{dracutlibdir}/modules.d/90crypt
350%{dracutlibdir}/modules.d/90dm
351%{dracutlibdir}/modules.d/90dmraid
c5a65990 352%{dracutlibdir}/modules.d/90kernel-modules
290df2e1 353%{dracutlibdir}/modules.d/90kernel-modules-extra
c5a65990
HH
354%{dracutlibdir}/modules.d/90lvm
355%{dracutlibdir}/modules.d/90mdraid
356%{dracutlibdir}/modules.d/90multipath
cae0004d 357%{dracutlibdir}/modules.d/90stratis
1488a9b3 358%{dracutlibdir}/modules.d/90qemu
c5a65990 359%{dracutlibdir}/modules.d/91crypt-gpg
24ba78cb 360%{dracutlibdir}/modules.d/91crypt-loop
c5a65990 361%{dracutlibdir}/modules.d/95debug
c5a65990 362%{dracutlibdir}/modules.d/95fstab-sys
c9d20746 363%{dracutlibdir}/modules.d/95lunmask
52d19cb1
YW
364%{dracutlibdir}/modules.d/95resume
365%{dracutlibdir}/modules.d/95rootfs-block
c5a65990
HH
366%{dracutlibdir}/modules.d/95terminfo
367%{dracutlibdir}/modules.d/95udev-rules
a7c9cbe1 368%{dracutlibdir}/modules.d/95virtfs
4c3688d3
YW
369%ifarch s390 s390x
370%{dracutlibdir}/modules.d/80cms
a07b1bb6 371%{dracutlibdir}/modules.d/81cio_ignore
4c3688d3
YW
372%{dracutlibdir}/modules.d/91zipl
373%{dracutlibdir}/modules.d/95dasd
374%{dracutlibdir}/modules.d/95dasd_mod
375%{dracutlibdir}/modules.d/95dasd_rules
376%{dracutlibdir}/modules.d/95dcssblk
058ff2f0 377%{dracutlibdir}/modules.d/95qeth_rules
4c3688d3
YW
378%{dracutlibdir}/modules.d/95zfcp
379%{dracutlibdir}/modules.d/95zfcp_rules
380%endif
04ab68a4 381%if %{undefined _unitdir}
c5a65990 382%{dracutlibdir}/modules.d/96securityfs
c5a65990 383%{dracutlibdir}/modules.d/97masterkey
c5a65990 384%{dracutlibdir}/modules.d/98integrity
04ab68a4
HH
385%endif
386%{dracutlibdir}/modules.d/97biosdevname
52d19cb1 387%{dracutlibdir}/modules.d/98dracut-systemd
04ab68a4 388%{dracutlibdir}/modules.d/98ecryptfs
d33d6077 389%{dracutlibdir}/modules.d/98pollcdrom
639bd487 390%{dracutlibdir}/modules.d/98selinux
c5a65990
HH
391%{dracutlibdir}/modules.d/98syslog
392%{dracutlibdir}/modules.d/98usrmount
393%{dracutlibdir}/modules.d/99base
394%{dracutlibdir}/modules.d/99fs-lib
395%{dracutlibdir}/modules.d/99shutdown
837a5a60 396%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
41f90cbe 397%dir %{_sharedstatedir}/initramfs
b019d405 398%if %{defined _unitdir}
2023d8eb 399%{_unitdir}/dracut-shutdown.service
4f03054e 400%{_unitdir}/sysinit.target.wants/dracut-shutdown.service
cbd69dc6
HH
401%{_unitdir}/dracut-cmdline.service
402%{_unitdir}/dracut-initqueue.service
403%{_unitdir}/dracut-mount.service
404%{_unitdir}/dracut-pre-mount.service
405%{_unitdir}/dracut-pre-pivot.service
406%{_unitdir}/dracut-pre-trigger.service
407%{_unitdir}/dracut-pre-udev.service
408%{_unitdir}/initrd.target.wants/dracut-cmdline.service
409%{_unitdir}/initrd.target.wants/dracut-initqueue.service
410%{_unitdir}/initrd.target.wants/dracut-mount.service
411%{_unitdir}/initrd.target.wants/dracut-pre-mount.service
412%{_unitdir}/initrd.target.wants/dracut-pre-pivot.service
413%{_unitdir}/initrd.target.wants/dracut-pre-trigger.service
414%{_unitdir}/initrd.target.wants/dracut-pre-udev.service
415
4cfd24d1 416%endif
0bb9a683 417%if 0%{?fedora} || 0%{?rhel}
9dd9d81f
HH
418%{_prefix}/lib/kernel/install.d/50-dracut.install
419%endif
ec74fa87
HH
420
421%files network
b67d8107 422%{dracutlibdir}/modules.d/02systemd-networkd
08bdadbf 423%{dracutlibdir}/modules.d/35network-manager
73473918 424%{dracutlibdir}/modules.d/35network-legacy
c5a65990 425%{dracutlibdir}/modules.d/40network
52d19cb1 426%{dracutlibdir}/modules.d/45ifcfg
b67d8107 427%{dracutlibdir}/modules.d/90kernel-network-modules
1488a9b3 428%{dracutlibdir}/modules.d/90qemu-net
72ee74b9 429%{dracutlibdir}/modules.d/95cifs
52d19cb1
YW
430%{dracutlibdir}/modules.d/95fcoe
431%{dracutlibdir}/modules.d/95fcoe-uefi
432%{dracutlibdir}/modules.d/95iscsi
c5a65990
HH
433%{dracutlibdir}/modules.d/95nbd
434%{dracutlibdir}/modules.d/95nfs
a29cf54c 435%{dracutlibdir}/modules.d/95ssh-client
4c3688d3 436%ifarch s390 s390x
c5a65990 437%{dracutlibdir}/modules.d/95znet
4c3688d3 438%endif
08f06c93 439%{dracutlibdir}/modules.d/99uefi-lib
78cd7629 440
52881470 441%files caps
c5a65990 442%{dracutlibdir}/modules.d/02caps
52881470 443
ac13778f 444%files live
ac13778f
HH
445%{dracutlibdir}/modules.d/99img-lib
446%{dracutlibdir}/modules.d/90dmsquash-live
ad3b209d 447%{dracutlibdir}/modules.d/90dmsquash-live-ntfs
ac13778f
HH
448%{dracutlibdir}/modules.d/90livenet
449
3b403b32 450%files tools
b40e38db
HH
451%if %{with doc}
452%doc %{_mandir}/man8/dracut-catimages.8*
453%endif
454
24f3463b
KS
455%files squash
456%{dracutlibdir}/modules.d/99squash
457
ed919de0 458%{_bindir}/dracut-catimages
21007cb6
HH
459%dir /boot/dracut
460%dir /var/lib/dracut
461%dir /var/lib/dracut/overlay
462
18e61d3d 463%files config-generic
18e61d3d 464%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
e22eb857 465
18e61d3d 466%files config-rescue
18e61d3d 467%{dracutlibdir}/dracut.conf.d/02-rescue.conf
0bb9a683 468%if 0%{?fedora} || 0%{?rhel}
18e61d3d 469%{_prefix}/lib/kernel/install.d/51-dracut-rescue.install
819ea386
HH
470# FIXME: remove after F30
471%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh
18e61d3d 472%endif
e22eb857 473
38672ee8 474%changelog