[12005] | 1 | %define dracutlibdir %{_prefix}/lib/dracut |
---|
| 2 | %bcond_without doc |
---|
| 3 | |
---|
| 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 |
---|
| 8 | |
---|
| 9 | # Variables must be defined |
---|
| 10 | %define with_nbd 0 |
---|
| 11 | |
---|
[12364] | 12 | %define dist_free_release 3 |
---|
[12005] | 13 | |
---|
| 14 | Name: dracut |
---|
[12364] | 15 | Version: 050 |
---|
[12005] | 16 | Release: %{dist_free_release}%{?_dist_release} |
---|
| 17 | |
---|
| 18 | Summary: Initramfs generator using udev |
---|
| 19 | Group: System Environment/Base |
---|
[12364] | 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: tomop |
---|
[12005] | 23 | |
---|
| 24 | # The entire source code is GPLv2+ |
---|
| 25 | # except install/* which is LGPLv2+ |
---|
| 26 | License: GPLv2+ and LGPLv2+ |
---|
| 27 | URL: https://dracut.wiki.kernel.org/ |
---|
| 28 | # Source can be generated by |
---|
| 29 | # http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%%{version};sf=tgz |
---|
| 30 | Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz |
---|
| 31 | Patch1: 0001.patch |
---|
| 32 | Patch2: 0002.patch |
---|
| 33 | Patch3: 0003.patch |
---|
| 34 | Patch4: 0004.patch |
---|
| 35 | Patch5: 0005.patch |
---|
| 36 | Patch6: 0006.patch |
---|
| 37 | Patch7: 0007.patch |
---|
| 38 | Patch8: 0008.patch |
---|
| 39 | Patch9: 0009.patch |
---|
| 40 | Patch10: 0010.patch |
---|
| 41 | Patch11: 0011.patch |
---|
| 42 | Patch12: 0012.patch |
---|
| 43 | Patch13: 0013.patch |
---|
| 44 | Patch14: 0014.patch |
---|
| 45 | Patch15: 0015.patch |
---|
| 46 | Patch16: 0016.patch |
---|
| 47 | Patch17: 0017.patch |
---|
| 48 | Patch18: 0018.patch |
---|
| 49 | Patch19: 0019.patch |
---|
| 50 | Patch20: 0020.patch |
---|
| 51 | Patch21: 0021.patch |
---|
| 52 | Patch22: 0022.patch |
---|
| 53 | Patch23: 0023.patch |
---|
| 54 | Patch24: 0024.patch |
---|
[12364] | 55 | Patch25: 0025.patch |
---|
[12005] | 56 | |
---|
[12364] | 57 | Patch1000: dracut-050-resolve-symlink.patch |
---|
[12213] | 58 | |
---|
[12005] | 59 | Source1: https://www.gnu.org/licenses/lgpl-2.1.txt |
---|
| 60 | |
---|
| 61 | Source1000: dracut-warpclock.tar.gz |
---|
| 62 | |
---|
| 63 | Source2000: vine.conf |
---|
| 64 | Source2001: vine-module-setup.sh |
---|
| 65 | Source2002: vine-usb-pre-udev.sh |
---|
[12364] | 66 | Source2003: ChangeLog.fedora |
---|
[12005] | 67 | |
---|
| 68 | BuildRequires: bash git |
---|
| 69 | BuildRequires: kmod-devel >= 15 |
---|
| 70 | |
---|
| 71 | %if 0%{?fedora} || 0%{?rhel} |
---|
| 72 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 73 | BuildRequires: pkgconfig |
---|
| 74 | %endif |
---|
| 75 | %if 0%{?fedora} |
---|
| 76 | BuildRequires: bash-completion |
---|
| 77 | %endif |
---|
| 78 | |
---|
| 79 | %if 0%{?suse_version} |
---|
| 80 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
---|
| 81 | %endif |
---|
| 82 | |
---|
| 83 | %if %{with doc} |
---|
| 84 | %if 0%{?fedora} || 0%{?rhel} |
---|
| 85 | BuildRequires: docbook-style-xsl docbook-dtds libxslt |
---|
| 86 | %endif |
---|
| 87 | |
---|
| 88 | %if 0%{?suse_version} |
---|
| 89 | -BuildRequires: docbook-xsl-stylesheets libxslt |
---|
| 90 | %endif |
---|
| 91 | |
---|
| 92 | BuildRequires: asciidoc |
---|
| 93 | %endif |
---|
| 94 | |
---|
| 95 | %if 0%{?fedora} > 12 || 0%{?rhel} |
---|
| 96 | # no "provides", because dracut does not offer |
---|
| 97 | # all functionality of the obsoleted packages |
---|
| 98 | Obsoletes: mkinitrd < 6.0.94 |
---|
| 99 | Obsoletes: mkinitrd-devel < 6.0.94 |
---|
| 100 | Obsoletes: nash < 6.0.94 |
---|
| 101 | Obsoletes: libbdevid-python < 6.0.94 |
---|
| 102 | %endif |
---|
| 103 | |
---|
| 104 | %if 0%{?fedora} > 16 || 0%{?rhel} > 6 |
---|
| 105 | BuildRequires: systemd-units |
---|
| 106 | %endif |
---|
| 107 | |
---|
| 108 | Obsoletes: dracut-kernel < 005 |
---|
| 109 | Provides: dracut-kernel = %{version}-%{release} |
---|
| 110 | |
---|
| 111 | Obsoletes: dracut < 030 |
---|
| 112 | Obsoletes: dracut-norescue < 030 |
---|
| 113 | Provides: dracut-norescue = %{version}-%{release} |
---|
| 114 | |
---|
| 115 | Requires: bash >= 4 |
---|
| 116 | Requires: coreutils |
---|
| 117 | Requires: cpio |
---|
| 118 | Requires: filesystem >= 2.1.0 |
---|
| 119 | Requires: findutils |
---|
| 120 | Requires: grep |
---|
| 121 | Requires: kmod |
---|
| 122 | Requires: sed |
---|
| 123 | Requires: xz |
---|
[12213] | 124 | Requires: xz-lzma-compat |
---|
[12005] | 125 | Requires: gzip |
---|
| 126 | |
---|
| 127 | Recommends: grubby |
---|
| 128 | Recommends: hardlink |
---|
| 129 | Recommends: pigz |
---|
| 130 | Recommends: kpartx |
---|
| 131 | |
---|
| 132 | %if 0%{?fedora} || 0%{?rhel} > 6 |
---|
| 133 | Requires: util-linux >= 2.21 |
---|
| 134 | Requires: systemd >= 219 |
---|
| 135 | Requires: systemd-udev >= 219 |
---|
| 136 | Requires: procps-ng |
---|
| 137 | Conflicts: grubby < 8.23 |
---|
| 138 | Conflicts: initscripts < 8.63-1 |
---|
| 139 | Conflicts: plymouth < 0.8.0-0.2009.29.09.19.1 |
---|
| 140 | Conflicts: bcache-tools < 0-0.14.20130909git |
---|
| 141 | %else |
---|
| 142 | Requires: udev > 166 |
---|
| 143 | Requires: util-linux-ng >= 2.21 |
---|
| 144 | %endif |
---|
| 145 | |
---|
| 146 | Conflicts: mdadm < 3.2.6-14 |
---|
| 147 | |
---|
| 148 | %description |
---|
| 149 | dracut contains tools to create a bootable initramfs for 2.6 Linux kernels. |
---|
| 150 | Unlike existing implementations, dracut does hard-code as little as possible |
---|
| 151 | into the initramfs. dracut contains various modules which are driven by the |
---|
| 152 | event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as |
---|
| 153 | NFS, iSCSI, NBD, FCoE with the dracut-network package. |
---|
| 154 | |
---|
| 155 | %package network |
---|
| 156 | Summary: dracut modules to build a dracut initramfs with network support |
---|
| 157 | %if 0%{?_module_build} |
---|
| 158 | # In the module-build-service, we have pieces of dracut provided by different |
---|
| 159 | # modules ("base-runtime" provides most functionality, but we need |
---|
| 160 | # dracut-network in "installer". Since these two modules build with separate |
---|
| 161 | # dist-tags, we need to reduce this strict requirement to ignore the dist-tag. |
---|
| 162 | Requires: %{name} >= %{version}-%{dist_free_release} |
---|
| 163 | %else |
---|
| 164 | Requires: %{name} = %{version}-%{release} |
---|
| 165 | %endif |
---|
| 166 | Requires: iputils |
---|
| 167 | Requires: iproute |
---|
| 168 | Requires: dhclient |
---|
| 169 | Obsoletes: dracut-generic < 008 |
---|
| 170 | Provides: dracut-generic = %{version}-%{release} |
---|
| 171 | |
---|
| 172 | %description network |
---|
| 173 | This package requires everything which is needed to build a generic |
---|
| 174 | all purpose initramfs with network support with dracut. |
---|
| 175 | |
---|
| 176 | %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} |
---|
| 177 | %package fips |
---|
| 178 | Summary: dracut modules to build a dracut initramfs with an integrity check |
---|
| 179 | Requires: %{name} = %{version}-%{release} |
---|
| 180 | Requires: hmaccalc |
---|
| 181 | %if 0%{?rhel} > 5 |
---|
| 182 | # For Alpha 3, we want nss instead of nss-softokn |
---|
| 183 | Requires: nss |
---|
| 184 | %else |
---|
| 185 | Requires: nss-softokn |
---|
| 186 | %endif |
---|
| 187 | Requires: nss-softokn-freebl |
---|
| 188 | |
---|
| 189 | %description fips |
---|
| 190 | This package requires everything which is needed to build an |
---|
| 191 | initramfs with dracut, which does an integrity check. |
---|
| 192 | %endif |
---|
| 193 | |
---|
| 194 | %package fips-aesni |
---|
| 195 | Summary: dracut modules to build a dracut initramfs with an integrity check with aesni-intel |
---|
| 196 | Requires: %{name}-fips = %{version}-%{release} |
---|
| 197 | |
---|
| 198 | %description fips-aesni |
---|
| 199 | This package requires everything which is needed to build an |
---|
| 200 | initramfs with dracut, which does an integrity check and adds the aesni-intel kernel module. |
---|
| 201 | |
---|
| 202 | %package caps |
---|
| 203 | Summary: dracut modules to build a dracut initramfs which drops capabilities |
---|
| 204 | Requires: %{name} = %{version}-%{release} |
---|
| 205 | Requires: libcap |
---|
| 206 | |
---|
| 207 | %description caps |
---|
| 208 | This package requires everything which is needed to build an |
---|
| 209 | initramfs with dracut, which drops capabilities. |
---|
| 210 | |
---|
| 211 | %package live |
---|
| 212 | Summary: dracut modules to build a dracut initramfs with live image capabilities |
---|
| 213 | %if 0%{?_module_build} |
---|
| 214 | # See the network subpackage comment. |
---|
| 215 | Requires: %{name} >= %{version}-%{dist_free_release} |
---|
| 216 | %else |
---|
| 217 | Requires: %{name} = %{version}-%{release} |
---|
| 218 | %endif |
---|
| 219 | Requires: %{name}-network = %{version}-%{release} |
---|
| 220 | Requires: tar gzip coreutils bash device-mapper curl |
---|
| 221 | |
---|
| 222 | %description live |
---|
| 223 | This package requires everything which is needed to build an |
---|
| 224 | initramfs with dracut, with live image capabilities, like Live CDs. |
---|
| 225 | |
---|
| 226 | %package config-generic |
---|
| 227 | Summary: dracut configuration to turn off hostonly image generation |
---|
| 228 | Requires: %{name} = %{version}-%{release} |
---|
| 229 | Obsoletes: dracut-nohostonly < 030 |
---|
| 230 | Provides: dracut-nohostonly = %{version}-%{release} |
---|
| 231 | |
---|
| 232 | %description config-generic |
---|
| 233 | This package provides the configuration to turn off the host specific initramfs |
---|
| 234 | generation with dracut and generates a generic image by default. |
---|
| 235 | |
---|
| 236 | %package config-rescue |
---|
| 237 | Summary: dracut configuration to turn on rescue image generation |
---|
| 238 | Requires: %{name} = %{version}-%{release} |
---|
| 239 | Obsoletes: dracut < 030 |
---|
| 240 | |
---|
| 241 | %description config-rescue |
---|
| 242 | This package provides the configuration to turn on the rescue initramfs |
---|
| 243 | generation with dracut. |
---|
| 244 | |
---|
| 245 | %package tools |
---|
| 246 | Summary: dracut tools to build the local initramfs |
---|
| 247 | Requires: %{name} = %{version}-%{release} |
---|
| 248 | |
---|
| 249 | %description tools |
---|
| 250 | This package contains tools to assemble the local initrd and host configuration. |
---|
| 251 | |
---|
| 252 | %prep |
---|
| 253 | %autosetup -n %{name}-%{version} -S git_am |
---|
[12364] | 254 | |
---|
[12005] | 255 | cp %{SOURCE1} . |
---|
| 256 | |
---|
[12364] | 257 | cp %{SOURCE2003} . |
---|
| 258 | |
---|
[12005] | 259 | %build |
---|
| 260 | %configure \ |
---|
| 261 | %if %{defined _unitdir} |
---|
| 262 | --systemdsystemunitdir=%{_unitdir} \ |
---|
| 263 | %endif |
---|
| 264 | --bashcompletiondir=$(pkg-config \ |
---|
| 265 | --variable=completionsdir bash-completion) \ |
---|
| 266 | --libdir=%{_prefix}/lib \ |
---|
| 267 | %if %{without doc} |
---|
| 268 | --disable-documentation \ |
---|
| 269 | %endif |
---|
| 270 | ${NULL} |
---|
| 271 | |
---|
| 272 | make %{?_smp_mflags} |
---|
| 273 | |
---|
| 274 | %install |
---|
| 275 | rm -rf -- $RPM_BUILD_ROOT |
---|
| 276 | |
---|
| 277 | make %{?_smp_mflags} install \ |
---|
| 278 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
| 279 | libdir=%{_prefix}/lib |
---|
| 280 | |
---|
| 281 | echo "DRACUT_VERSION=%{version}-%{release}" > $RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh |
---|
| 282 | |
---|
| 283 | %if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} == 0 |
---|
| 284 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips |
---|
| 285 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/02fips-aesni |
---|
| 286 | %endif |
---|
| 287 | |
---|
| 288 | %if %{defined _unitdir} |
---|
| 289 | # for systemd, better use systemd-bootchart |
---|
| 290 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00bootchart |
---|
| 291 | %else |
---|
| 292 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00systemd-bootchart |
---|
| 293 | %endif |
---|
| 294 | |
---|
| 295 | # we do not support dash in the initramfs |
---|
| 296 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash |
---|
| 297 | |
---|
[12364] | 298 | # we do not support mksh in the initramfs |
---|
| 299 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00mksh |
---|
| 300 | |
---|
[12005] | 301 | # remove gentoo specific modules |
---|
| 302 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/50gensplash |
---|
| 303 | |
---|
| 304 | %if %{defined _unitdir} |
---|
| 305 | # with systemd IMA and selinux modules do not make sense |
---|
| 306 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs |
---|
| 307 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey |
---|
| 308 | rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity |
---|
| 309 | %endif |
---|
| 310 | |
---|
| 311 | mkdir -p $RPM_BUILD_ROOT/boot/dracut |
---|
| 312 | mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay |
---|
| 313 | mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log |
---|
| 314 | touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log |
---|
| 315 | mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs |
---|
| 316 | |
---|
| 317 | install -m 0644 %{SOURCE2000} %{buildroot}%{dracutlibdir}/dracut.conf.d/01-dist.conf |
---|
| 318 | |
---|
| 319 | %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} |
---|
| 320 | install -m 0644 dracut.conf.d/fips.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/40-fips.conf |
---|
| 321 | %endif |
---|
| 322 | |
---|
| 323 | %if 0%{?fedora} <= 12 && 0%{?rhel} < 6 && 0%{?suse_version} <= 9999 |
---|
| 324 | rm -f -- $RPM_BUILD_ROOT%{_bindir}/mkinitrd |
---|
| 325 | rm -f -- $RPM_BUILD_ROOT%{_bindir}/lsinitrd |
---|
| 326 | rm -f -- $RPM_BUILD_ROOT%{_mandir}/man8/mkinitrd* |
---|
| 327 | rm -f -- $RPM_BUILD_ROOT%{_mandir}/man1/lsinitrd* |
---|
| 328 | %endif |
---|
| 329 | |
---|
| 330 | # FIXME: remove after F19 |
---|
| 331 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d |
---|
| 332 | install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh |
---|
| 333 | |
---|
| 334 | echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-image.conf |
---|
| 335 | echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf |
---|
| 336 | |
---|
| 337 | %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} |
---|
| 338 | > $RPM_BUILD_ROOT/etc/system-fips |
---|
| 339 | %endif |
---|
| 340 | |
---|
[12364] | 341 | #pushd $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/ |
---|
| 342 | #tar xvf %{SOURCE1000} |
---|
| 343 | #popd |
---|
[12005] | 344 | |
---|
| 345 | # make to load EHCI driver at first |
---|
| 346 | mkdir -p %{buildroot}%{dracutlibdir}/modules.d/70ehci_first |
---|
| 347 | install -m755 %{SOURCE2001} %{buildroot}%{dracutlibdir}/modules.d/70ehci_first/module-setup.sh |
---|
| 348 | install -m755 %{SOURCE2002} %{buildroot}%{dracutlibdir}/modules.d/70ehci_first/usb-pre-udev.sh |
---|
| 349 | |
---|
[12364] | 350 | # fix path to rngd |
---|
| 351 | sed -i -e 's|/usr/sbin/|/sbin/|' \ |
---|
| 352 | %{buildroot}%{dracutlibdir}/modules.d/06rngd/rngd.service |
---|
[12005] | 353 | |
---|
| 354 | %clean |
---|
| 355 | rm -rf -- $RPM_BUILD_ROOT |
---|
| 356 | |
---|
| 357 | %files |
---|
| 358 | %defattr(-,root,root,0755) |
---|
| 359 | %if %{with doc} |
---|
[12364] | 360 | %doc README* HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg |
---|
[12005] | 361 | %endif |
---|
| 362 | %{!?_licensedir:%global license %%doc} |
---|
| 363 | %license COPYING lgpl-2.1.txt |
---|
[12364] | 364 | %doc ChangeLog.fedora |
---|
[12005] | 365 | %{_bindir}/dracut |
---|
| 366 | %{_datadir}/bash-completion/completions/dracut |
---|
| 367 | %{_datadir}/bash-completion/completions/lsinitrd |
---|
| 368 | %if 0%{?fedora} > 12 || 0%{?rhel} >= 6 || 0%{?suse_version} > 9999 |
---|
| 369 | %{_bindir}/mkinitrd |
---|
| 370 | %{_bindir}/lsinitrd |
---|
| 371 | %endif |
---|
| 372 | %dir %{dracutlibdir} |
---|
| 373 | %dir %{dracutlibdir}/modules.d |
---|
| 374 | %{dracutlibdir}/dracut-functions.sh |
---|
| 375 | %{dracutlibdir}/dracut-init.sh |
---|
| 376 | %{dracutlibdir}/dracut-functions |
---|
| 377 | %{dracutlibdir}/dracut-version.sh |
---|
| 378 | %{dracutlibdir}/dracut-logger.sh |
---|
| 379 | %{dracutlibdir}/dracut-initramfs-restore |
---|
| 380 | %{dracutlibdir}/dracut-install |
---|
| 381 | %{dracutlibdir}/skipcpio |
---|
| 382 | %config(noreplace) %{_sysconfdir}/dracut.conf |
---|
| 383 | %{dracutlibdir}/dracut.conf.d/01-dist.conf |
---|
| 384 | %dir %{_sysconfdir}/dracut.conf.d |
---|
| 385 | %dir %{dracutlibdir}/dracut.conf.d |
---|
| 386 | %dir %{_datadir}/pkgconfig |
---|
| 387 | %{_datadir}/pkgconfig/dracut.pc |
---|
| 388 | |
---|
| 389 | %if %{with doc} |
---|
| 390 | %{_mandir}/man8/dracut.8* |
---|
| 391 | %{_mandir}/man8/*service.8* |
---|
| 392 | %if 0%{?fedora} > 12 || 0%{?rhel} >= 6 || 0%{?suse_version} > 9999 |
---|
| 393 | %{_mandir}/man8/mkinitrd.8* |
---|
| 394 | %{_mandir}/man1/lsinitrd.1* |
---|
| 395 | %endif |
---|
| 396 | %{_mandir}/man7/dracut.kernel.7* |
---|
| 397 | %{_mandir}/man7/dracut.cmdline.7* |
---|
| 398 | %{_mandir}/man7/dracut.modules.7* |
---|
| 399 | %{_mandir}/man7/dracut.bootup.7* |
---|
| 400 | %{_mandir}/man5/dracut.conf.5* |
---|
| 401 | %endif |
---|
| 402 | |
---|
| 403 | %if %{defined _unitdir} |
---|
| 404 | %{dracutlibdir}/modules.d/00systemd-bootchart |
---|
| 405 | %else |
---|
| 406 | %{dracutlibdir}/modules.d/00bootchart |
---|
| 407 | %endif |
---|
| 408 | %{dracutlibdir}/modules.d/00bash |
---|
| 409 | %{dracutlibdir}/modules.d/00systemd |
---|
| 410 | %{dracutlibdir}/modules.d/00warpclock |
---|
| 411 | %{dracutlibdir}/modules.d/01systemd-initrd |
---|
| 412 | %{dracutlibdir}/modules.d/03modsign |
---|
| 413 | %{dracutlibdir}/modules.d/03rescue |
---|
| 414 | %{dracutlibdir}/modules.d/04watchdog |
---|
| 415 | %{dracutlibdir}/modules.d/05busybox |
---|
[12364] | 416 | %{dracutlibdir}/modules.d/06rngd |
---|
[12005] | 417 | %{dracutlibdir}/modules.d/10i18n |
---|
| 418 | %{dracutlibdir}/modules.d/30convertfs |
---|
| 419 | %{dracutlibdir}/modules.d/45url-lib |
---|
| 420 | %{dracutlibdir}/modules.d/50drm |
---|
| 421 | %{dracutlibdir}/modules.d/50plymouth |
---|
| 422 | # vine |
---|
| 423 | %{dracutlibdir}/modules.d/70ehci_first |
---|
| 424 | |
---|
| 425 | %{dracutlibdir}/modules.d/80lvmmerge |
---|
| 426 | %{dracutlibdir}/modules.d/90btrfs |
---|
| 427 | %{dracutlibdir}/modules.d/90crypt |
---|
| 428 | %{dracutlibdir}/modules.d/90dm |
---|
| 429 | %{dracutlibdir}/modules.d/90dmraid |
---|
| 430 | %{dracutlibdir}/modules.d/90kernel-modules |
---|
| 431 | %{dracutlibdir}/modules.d/90kernel-modules-extra |
---|
| 432 | %{dracutlibdir}/modules.d/90lvm |
---|
| 433 | %{dracutlibdir}/modules.d/90mdraid |
---|
| 434 | %{dracutlibdir}/modules.d/90multipath |
---|
[12364] | 435 | %{dracutlibdir}/modules.d/90nvdimm |
---|
[12005] | 436 | %{dracutlibdir}/modules.d/90qemu |
---|
| 437 | %{dracutlibdir}/modules.d/90stratis |
---|
[12364] | 438 | %{dracutlibdir}/modules.d/90ppcmac |
---|
[12005] | 439 | %{dracutlibdir}/modules.d/91crypt-gpg |
---|
| 440 | %{dracutlibdir}/modules.d/91crypt-loop |
---|
| 441 | %{dracutlibdir}/modules.d/95debug |
---|
| 442 | %{dracutlibdir}/modules.d/95fstab-sys |
---|
| 443 | %{dracutlibdir}/modules.d/95lunmask |
---|
| 444 | %{dracutlibdir}/modules.d/95resume |
---|
| 445 | %{dracutlibdir}/modules.d/95rootfs-block |
---|
| 446 | %{dracutlibdir}/modules.d/95terminfo |
---|
| 447 | %{dracutlibdir}/modules.d/95udev-rules |
---|
| 448 | %{dracutlibdir}/modules.d/95virtfs |
---|
| 449 | %ifarch s390 s390x |
---|
| 450 | %{dracutlibdir}/modules.d/80cms |
---|
| 451 | %{dracutlibdir}/modules.d/81cio_ignore |
---|
| 452 | %{dracutlibdir}/modules.d/91zipl |
---|
| 453 | %{dracutlibdir}/modules.d/95dasd |
---|
| 454 | %{dracutlibdir}/modules.d/95dasd_mod |
---|
| 455 | %{dracutlibdir}/modules.d/95dasd_rules |
---|
| 456 | %{dracutlibdir}/modules.d/95dcssblk |
---|
| 457 | %{dracutlibdir}/modules.d/95qeth_rules |
---|
| 458 | %{dracutlibdir}/modules.d/95zfcp |
---|
| 459 | %{dracutlibdir}/modules.d/95zfcp_rules |
---|
| 460 | %else |
---|
| 461 | %exclude %{dracutlibdir}/modules.d/80cms |
---|
| 462 | %exclude %{dracutlibdir}/modules.d/81cio_ignore |
---|
| 463 | %exclude %{dracutlibdir}/modules.d/91zipl |
---|
| 464 | %exclude %{dracutlibdir}/modules.d/95dasd |
---|
| 465 | %exclude %{dracutlibdir}/modules.d/95dasd_mod |
---|
| 466 | %exclude %{dracutlibdir}/modules.d/95dasd_rules |
---|
| 467 | %exclude %{dracutlibdir}/modules.d/95dcssblk |
---|
| 468 | %exclude %{dracutlibdir}/modules.d/95qeth_rules |
---|
| 469 | %exclude %{dracutlibdir}/modules.d/95zfcp |
---|
| 470 | %exclude %{dracutlibdir}/modules.d/95zfcp_rules |
---|
| 471 | %endif |
---|
| 472 | %if %{undefined _unitdir} |
---|
| 473 | %{dracutlibdir}/modules.d/96securityfs |
---|
| 474 | %{dracutlibdir}/modules.d/97masterkey |
---|
| 475 | %{dracutlibdir}/modules.d/98integrity |
---|
| 476 | %endif |
---|
| 477 | %{dracutlibdir}/modules.d/97biosdevname |
---|
| 478 | %{dracutlibdir}/modules.d/98ecryptfs |
---|
| 479 | %{dracutlibdir}/modules.d/98pollcdrom |
---|
| 480 | %{dracutlibdir}/modules.d/98selinux |
---|
| 481 | %{dracutlibdir}/modules.d/98syslog |
---|
| 482 | %{dracutlibdir}/modules.d/98dracut-systemd |
---|
| 483 | %{dracutlibdir}/modules.d/98usrmount |
---|
| 484 | %{dracutlibdir}/modules.d/99base |
---|
| 485 | %{dracutlibdir}/modules.d/99fs-lib |
---|
| 486 | %{dracutlibdir}/modules.d/99shutdown |
---|
| 487 | %{dracutlibdir}/modules.d/99squash |
---|
| 488 | |
---|
| 489 | %attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log |
---|
| 490 | %dir %{_sharedstatedir}/initramfs |
---|
| 491 | %if %{defined _unitdir} |
---|
| 492 | %{_unitdir}/dracut-shutdown.service |
---|
| 493 | %{_unitdir}/sysinit.target.wants/dracut-shutdown.service |
---|
| 494 | %{_unitdir}/dracut-cmdline.service |
---|
| 495 | %{_unitdir}/dracut-initqueue.service |
---|
| 496 | %{_unitdir}/dracut-mount.service |
---|
| 497 | %{_unitdir}/dracut-pre-mount.service |
---|
| 498 | %{_unitdir}/dracut-pre-pivot.service |
---|
| 499 | %{_unitdir}/dracut-pre-trigger.service |
---|
| 500 | %{_unitdir}/dracut-pre-udev.service |
---|
| 501 | %{_unitdir}/initrd.target.wants/dracut-cmdline.service |
---|
| 502 | %{_unitdir}/initrd.target.wants/dracut-initqueue.service |
---|
| 503 | %{_unitdir}/initrd.target.wants/dracut-mount.service |
---|
| 504 | %{_unitdir}/initrd.target.wants/dracut-pre-mount.service |
---|
| 505 | %{_unitdir}/initrd.target.wants/dracut-pre-pivot.service |
---|
| 506 | %{_unitdir}/initrd.target.wants/dracut-pre-trigger.service |
---|
| 507 | %{_unitdir}/initrd.target.wants/dracut-pre-udev.service |
---|
| 508 | |
---|
| 509 | %endif |
---|
| 510 | %{_prefix}/lib/kernel/install.d/50-dracut.install |
---|
| 511 | |
---|
| 512 | %files network |
---|
| 513 | %defattr(-,root,root,0755) |
---|
| 514 | %{dracutlibdir}/modules.d/02systemd-networkd |
---|
| 515 | %{dracutlibdir}/modules.d/35network-legacy |
---|
| 516 | %{dracutlibdir}/modules.d/35network-manager |
---|
| 517 | %{dracutlibdir}/modules.d/40network |
---|
| 518 | %{dracutlibdir}/modules.d/90kernel-network-modules |
---|
| 519 | %{dracutlibdir}/modules.d/95fcoe |
---|
| 520 | %{dracutlibdir}/modules.d/95iscsi |
---|
| 521 | %{dracutlibdir}/modules.d/90qemu-net |
---|
| 522 | %{dracutlibdir}/modules.d/95cifs |
---|
| 523 | %{dracutlibdir}/modules.d/95nbd |
---|
| 524 | %{dracutlibdir}/modules.d/95nfs |
---|
| 525 | %{dracutlibdir}/modules.d/95ssh-client |
---|
| 526 | %{dracutlibdir}/modules.d/45ifcfg |
---|
| 527 | %ifarch s390 s390x |
---|
| 528 | %{dracutlibdir}/modules.d/95znet |
---|
| 529 | %else |
---|
| 530 | %exclude %{dracutlibdir}/modules.d/95znet |
---|
| 531 | %endif |
---|
| 532 | %{dracutlibdir}/modules.d/95fcoe-uefi |
---|
| 533 | %{dracutlibdir}/modules.d/99uefi-lib |
---|
| 534 | |
---|
| 535 | %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} |
---|
| 536 | %files fips |
---|
| 537 | %defattr(-,root,root,0755) |
---|
| 538 | %{dracutlibdir}/modules.d/01fips |
---|
| 539 | %{dracutlibdir}/dracut.conf.d/40-fips.conf |
---|
| 540 | %config(missingok) /etc/system-fips |
---|
| 541 | |
---|
| 542 | %files fips-aesni |
---|
| 543 | %defattr(-,root,root,0755) |
---|
| 544 | %{dracutlibdir}/modules.d/02fips-aesni |
---|
| 545 | %endif |
---|
| 546 | |
---|
| 547 | %files caps |
---|
| 548 | %defattr(-,root,root,0755) |
---|
| 549 | %{dracutlibdir}/modules.d/02caps |
---|
| 550 | |
---|
| 551 | %files live |
---|
| 552 | %defattr(-,root,root,0755) |
---|
| 553 | %{dracutlibdir}/modules.d/99img-lib |
---|
| 554 | %{dracutlibdir}/modules.d/90dmsquash-live |
---|
| 555 | %{dracutlibdir}/modules.d/90dmsquash-live-ntfs |
---|
| 556 | %{dracutlibdir}/modules.d/90livenet |
---|
| 557 | |
---|
| 558 | %files tools |
---|
| 559 | %defattr(-,root,root,0755) |
---|
| 560 | |
---|
| 561 | %if %{with doc} |
---|
| 562 | %doc %{_mandir}/man8/dracut-catimages.8* |
---|
| 563 | %endif |
---|
| 564 | |
---|
| 565 | %{_bindir}/dracut-catimages |
---|
| 566 | %dir /boot/dracut |
---|
| 567 | %dir /var/lib/dracut |
---|
| 568 | %dir /var/lib/dracut/overlay |
---|
| 569 | |
---|
| 570 | %files config-generic |
---|
| 571 | %defattr(-,root,root,0755) |
---|
| 572 | %{dracutlibdir}/dracut.conf.d/02-generic-image.conf |
---|
| 573 | |
---|
| 574 | %files config-rescue |
---|
| 575 | %defattr(-,root,root,0755) |
---|
| 576 | %{dracutlibdir}/dracut.conf.d/02-rescue.conf |
---|
| 577 | %{_prefix}/lib/kernel/install.d/51-dracut-rescue.install |
---|
| 578 | %{_sysconfdir}/kernel/postinst.d/51-dracut-rescue-postinst.sh |
---|
| 579 | |
---|
| 580 | %changelog |
---|
[12364] | 581 | * Fri Apr 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-3 |
---|
| 582 | - added support for recursive symlink of /sbin/init. |
---|
| 583 | |
---|
| 584 | * Thu Apr 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-2 |
---|
| 585 | - fixed path to rngd. |
---|
| 586 | - truncated %%changelog: old logs are moved to ChangeLog.fedora. |
---|
| 587 | |
---|
| 588 | * Wed Apr 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-1 |
---|
| 589 | - new upstream release. |
---|
| 590 | |
---|
[12213] | 591 | * Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 049-2 |
---|
| 592 | - imported Patch100 and 101 from rawhide. |
---|
| 593 | - added R:xz-lzma-compat. |
---|
| 594 | |
---|
[12005] | 595 | * Tue Jan 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 049-1 |
---|
| 596 | - new upstream release. |
---|
| 597 | |
---|
| 598 | * Fri Sep 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-10 |
---|
| 599 | - fixed release number. |
---|
| 600 | |
---|
| 601 | * Thu Sep 14 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-9 |
---|
| 602 | - imported warpclock scripts from openSUSE. |
---|
| 603 | |
---|
| 604 | * Tue Sep 12 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-8 |
---|
| 605 | - initial build for Vine Linux. |
---|