2012-07-13 15:52:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package dracut
|
|
|
|
#
|
2018-01-09 09:08:58 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2012-08-07 08:50:52 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-02-09 14:23:30 +01:00
|
|
|
%define dracutlibdir %{_libexecdir}/dracut
|
2017-06-07 10:34:24 +02:00
|
|
|
%define _pkg_version 044
|
2014-02-13 23:20:14 +01:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Name: dracut
|
2017-06-07 10:34:24 +02:00
|
|
|
# Need minor increase for reliable conflicts by systemd, use %{_pkg_version} for real version
|
|
|
|
Version: 044.1
|
2012-07-30 20:02:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Initramfs generator using udev
|
2018-03-19 12:53:36 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2012-08-07 08:50:52 +02:00
|
|
|
Group: System/Base
|
2012-07-30 20:02:55 +02:00
|
|
|
Url: https://dracut.wiki.kernel.org/
|
2017-06-07 10:34:24 +02:00
|
|
|
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{_pkg_version}.tar.xz
|
2015-11-06 10:56:00 +01:00
|
|
|
Source1: dracut-rpmlintrc
|
2013-10-02 14:32:19 +02:00
|
|
|
Source3: mkinitrd_setup_dummy
|
2013-12-18 17:20:48 +01:00
|
|
|
Source4: purge-kernels
|
|
|
|
Source5: purge-kernels.service
|
2014-02-28 16:05:59 +01:00
|
|
|
Source6: dracut-installkernel
|
2016-03-29 17:53:41 +02:00
|
|
|
Source7: 99-debug.conf
|
2017-03-02 16:14:47 +01:00
|
|
|
Source8: s390x_persistent_device.conf
|
2015-03-31 16:12:12 +02:00
|
|
|
|
2018-02-09 17:21:40 +01:00
|
|
|
# Network
|
|
|
|
# Applied upstream as f0094476fd889b27b391e063f456bf8683670bf0
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch12: 0012-40network-Fix-race-condition-when-wait-for-networks.patch
|
2018-02-09 17:21:40 +01:00
|
|
|
# None are upstream yet:
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch13: 0013-40network-always-start-netroot-in-ifup.sh.patch
|
2014-06-04 14:38:30 +02:00
|
|
|
Patch15: 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch
|
|
|
|
Patch17: 0017-45ifcfg-use-distro-specific-scripts.patch
|
|
|
|
Patch48: 0048-40network-Only-enable-network-interfaces-if-explicit.patch
|
2014-06-17 09:43:08 +02:00
|
|
|
Patch60: 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch
|
|
|
|
Patch61: 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch89: 0089-40network-create-var-lib-wicked-in-ifup.sh.patch
|
|
|
|
Patch94: 0094-Implement-shortcut-ip-ifname-static-for-static-confi.patch
|
|
|
|
Patch124: 0124-40network-Update-iBFT-scanning-code-to-handle-IPv6.patch
|
|
|
|
Patch125: 0125-40network-separate-mask-and-prefix.patch
|
|
|
|
Patch131: 0131-40network-handle-prefixed-IP-addresses-correctly.patch
|
|
|
|
Patch132: 0132-40network-fixup-static-network-configuration.patch
|
2016-01-26 17:28:00 +01:00
|
|
|
Patch133: 0133-Allow-multiple-configurations-per-network-interface-.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch142: 0142-40network-Don-t-report-error-for-etc-sysconfig-netwo.patch
|
2016-01-26 17:28:00 +01:00
|
|
|
Patch145: 0145-40network-handle-ip-ifname-static-correctly.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch159: 0159-network-Try-to-load-xennet.patch
|
2016-01-26 17:28:00 +01:00
|
|
|
Patch162: 0162-network-Request-DHCP-lease-instead-of-getting-applyi.patch
|
2016-01-28 14:55:23 +01:00
|
|
|
Patch169: 0169-network_set_mtu_macaddr_for_dhcp.patch
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch170: 0170-iscsi-skip-ibft-invalid-dhcp.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
|
|
|
|
#S390
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 55c763b1ff37405da390ab1ef5765683f3a7838e
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch16: 0016-Add-new-s390x-specific-rule-files.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as d43cccf5885a84d688a3b526d5fc57865369da57
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch21: 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as d0c97fdf4c33bb422f0a13a8752751d3054de143
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch56: 0056-81cio_ignore-handle-cio_ignore-commandline.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 856d039ba4716ba080fc8d823b3329a4470a60ef
|
2014-06-25 17:13:52 +02:00
|
|
|
Patch75: 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 5d1ea2d72616ec7ed9cf5e1f3bc99d7d5bc4f003
|
2014-06-25 17:13:52 +02:00
|
|
|
Patch76: 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as e5d21b80c054235114c4167e0bf7769aa698b4d4
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch79: 0079-95dasd_rules-fixup-rd.dasd-parsing.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 13626413107b67ab493ccfc4f6a1c6bef228a74e
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch80: 0080-95dasd_rules-print-out-rd.dasd-commandline.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 6f1b5c0dabe57259d7e67ab9b643b11b70deb388
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch81: 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 9be4be7aa72af312c6b0588ddb008da7632612bc
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch83: 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 624f173cbd49b7389577aac10a887f16d4f89b7a
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch85: 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as c8e531239bf314ae532ca1bc820285250a3b35d7
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch86: 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as bd355f8643555762acf02c6dd6179b683cd0a6aa
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch87: 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 73f89bbadbd61ffb4cb485e11b630571185b7ef2
|
2014-07-03 10:00:15 +02:00
|
|
|
Patch88: 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 2600b54c187e5668f5b55d5d73f49e99c7b33212
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch107: 0107-Fixup-typo-firmare-instead-of-firmware.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 73f89bbadbd61ffb4cb485e11b630571185b7ef2
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch108: 0108-91zipl-Store-commandline-correctly.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 05bf32097201c24c56dc6bb7a59a428293247d61
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch109: 0109-95dasd_rules-Store-all-devices-in-commandline.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 3a8ba440265696ce1279dc12eb5a7acda14c1712
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch110: 0110-95zfcp_rules-Store-all-devices-in-commandline.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as d118e9d94050ea65cb4514dda5fda10ef30275fe
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch113: 0113-91zipl-Install-script-as-executable.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 403f2c3e1dbb681c27b1279b9d023449cfc6d007
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch114: 0114-91zipl-Translate-ext2-3-into-ext4.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream, already incorporated where original patches have been upstreamed
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch116: 0116-Mark-scripts-as-executable.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as cf9c8c5fe3fdb899b57c25867bf54b74adc3272f
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch117: 0117-95dasd_rules-Enable-the-device-before-checking-devic.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 5e7bbe43a349a9d3ef0300c61f62a49a2e44c0a0
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch118: 0118-95zfcp_rules-Enable-the-device-before-checking-devic.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 5f923256e33893bead8233852a741a4b0036f709
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch123: 0123-95zfcp_rules-fix-typo-in-module_setup.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 33260dac6e0980da2d6577a29d83644b6637745c
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch157: 0157-Add-boot-zipl-to-host-devs-if-it-is-a-mount-point.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 8bae047a4e096e69a34c520dae15458e210eecdb
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch160: 0160-s390-update_active_devices_initrd.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as c8aa1d949aecaf146b0a0e1ce269f69e6048dc5a
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch161: 0161-95zfcp_rules-simplified-rd.zfcp-commandline-for-NPIV.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as e5bf1cecd635897e5f2c8ae373494d33af3b1996
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch188: 0188-95dasd_rules-Install-collect-udev-helper-binary.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream (??)
|
2017-02-02 13:23:11 +01:00
|
|
|
Patch506: 0506-Boot-on-s390x-with-fips-1-on-the-kernel-commnad-line.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
|
|
|
|
#FIPS
|
|
|
|
Patch53: 0053-01fips-fixup-loading-issues.patch
|
|
|
|
Patch57: 0057-01fips-Include-some-more-hmacs.patch
|
|
|
|
Patch126: 0126-01fips-Add-drbg-module-to-force-loaded-modules.patch
|
|
|
|
Patch137: 0137-Switch-from-Mozilla-NSS-sha256hmac-checking-to-fipsc.patch
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch138: 0138-fips_add_aesni-intel.patch
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch139: 0139-fips-kernel-4.4-fixes.patch
|
2017-03-01 14:30:24 +01:00
|
|
|
Patch509: 0509-01fips-Remove-zlib-module-as-requirement.patch
|
2017-03-17 11:21:31 +01:00
|
|
|
Patch510: 0510-01fips-Some-modules-use-separators-other-than.patch
|
|
|
|
Patch511: 0511-01fips-ensure-fips-initialization-succeeds-on-s390-x.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
|
2018-01-11 17:25:35 +01:00
|
|
|
# Others, partly SUSE specific. Not submitted unless annotated otherwise
|
|
|
|
|
2018-01-19 16:31:54 +01:00
|
|
|
# Submitted to upstream as 7ce2872be28a5463757651cc30049c3f4e81559a
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch20: 0020-00warpclock-Set-correct-timezone.patch
|
|
|
|
Patch58: 0058-dracut-add-warning-when-including-unsupported-module.patch
|
|
|
|
Patch59: 0059-99suse-Add-SUSE-specific-initrd-parsing.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: This should not be a patch, but be removed in the install section
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch90: 0090-dracut-caps-Remove-whole-caps-module.patch
|
|
|
|
Patch91: 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch
|
2014-07-21 14:41:52 +02:00
|
|
|
Patch121: 0121-Adjust-initramfs-kernel.img-to-SUSE-default-initrd-k.patch
|
2014-08-05 17:24:31 +02:00
|
|
|
Patch130: 0130-nfs-Always-add-all-kernel-modules-for-kdump.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as c3b6970394ad677f05a42bef420bf34b1d0652e0
|
2014-08-21 14:50:20 +02:00
|
|
|
Patch144: 0144-90crypt-Fixed-crypttab_contains-to-also-work-with-de.patch
|
2014-08-29 16:57:13 +02:00
|
|
|
Patch150: 0150-Find-kernel-modules-in-extra-and-weak-updates-path-a.patch
|
2016-02-01 11:33:31 +01:00
|
|
|
Patch158: 0158-Add-SUSE-kernel-module-dependencies-in-etc-modprobe.patch
|
2014-10-02 16:40:32 +02:00
|
|
|
Patch163: 0163-Install-etc-sysconfig-console-to-see-specific-fonts.patch
|
2018-01-25 10:33:05 +01:00
|
|
|
# TODO: Verify: Should be obsolete due to fixes in systemd
|
2014-10-15 18:10:04 +02:00
|
|
|
Patch164: 0164-Fix-initramfs-ver.img-vs-initrd-ver-in-dracut-initra.patch
|
2018-02-09 17:21:40 +01:00
|
|
|
# Applied upstream as ed2cc8c9b96438be4527dbc9f5814196554abec4
|
2015-02-23 20:15:53 +01:00
|
|
|
Patch168: 0168-remove_plymouth_logo_file.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 251afd36b2be35b7b27011b6f90b5ab3bbbbff84
|
2015-09-17 09:45:51 +02:00
|
|
|
Patch180: 0180-i18n_add_correct_fontmaps.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as dcacd2b072c301a51c114256e8bb696346879a2b
|
2015-09-22 17:18:34 +02:00
|
|
|
Patch182: 0182-fix-include-parsing.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as d53bb5c01737270049fde82559ae72aae1943b81
|
2015-09-23 14:25:24 +02:00
|
|
|
Patch183: 0183-fix_add_drivers_hang.patch
|
2014-06-11 18:09:50 +02:00
|
|
|
|
2016-04-12 16:08:19 +02:00
|
|
|
# iscsiadm
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply all patches in this section upstream
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch190: 0190-replace-iscsistart-with-systemd-service-files.patch
|
|
|
|
Patch191: 0191-static_network_setup_return_zero.patch
|
|
|
|
Patch192: 0192-iscsi_set_boot_protocol_from_ifcfg.patch
|
|
|
|
Patch193: 0193-95iscsi-Set-number-of-login-retries.patch
|
2016-04-14 15:36:44 +02:00
|
|
|
Patch196: 0196-ibft-wait-for-session-on-all-paths.patch
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch197: 0197-95iscsi-Do-not-require-network-for-qla4xxx-flash-ses.patch
|
|
|
|
Patch198: 0198-95iscsi-set-rd.iscsi.firmware-for-qla4xxx-sessions.patch
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch199: 0199-rd-iscsi-waitnet-default-false.patch
|
2016-04-12 16:08:19 +02:00
|
|
|
|
2015-05-08 10:10:36 +02:00
|
|
|
# Submit mainline asap
|
2018-01-11 17:25:35 +01:00
|
|
|
|
|
|
|
# Applied upstream as 5c84d51b3f258af9035a4031c6b482103adea4d9
|
2015-10-17 14:02:47 +02:00
|
|
|
Patch128: 0128-90lvm-Install-dm-snapshot-module.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as d12ce1da8551c065616f81f158b6425b20ee191c
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch200: 0200-dracut_fix_multipath_without_config.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as f5c10673de18d84f3b054df9a68ffa8d43f9571c
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch201: 0201-fix_nfs_with_ip_instead_of_hostname.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch202: 0202-dracut_dmraid_use_udev.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Check if still an issue with C-style insmod logic
|
2015-11-05 15:26:14 +01:00
|
|
|
Patch203: 0203-no-fail-builtin-module.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 51d2436c22d64e45376c64ad3b6c90c48cc88d78
|
2015-11-06 10:56:00 +01:00
|
|
|
Patch204: 0204-mkinitrd-fix-monster.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2015-11-10 13:17:01 +01:00
|
|
|
Patch205: 0205-mdraid_ignore_hostonly.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 8602e5986702f6118f8b30f1053a45af1df892bd
|
2015-11-24 16:25:43 +01:00
|
|
|
Patch206: 0206-nfs_dns_alias.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 43819af68c7789ec932c25e699c56889fdf7276c
|
2016-01-22 10:34:00 +01:00
|
|
|
Patch207: 0207-handle_module_aliases.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Possibly made redundant by changes done by upstream
|
2016-01-26 17:36:55 +01:00
|
|
|
Patch208: 0208-no_forced_virtnet.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 9fd3e045d5b41ba5cf9fb0c51db9750ce0e530d8
|
2016-01-27 17:45:27 +01:00
|
|
|
Patch209: 0209-fix_modules_load_d_hostonly.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 22836a092191c1abc0e04e4c6d68856f2603d6e8
|
2016-02-15 16:16:25 +01:00
|
|
|
Patch210: 0210-add_fcoe_uefi_check.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 6b96b50d2cd92d6598240e6061a81b29b889ecdd
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch212: 0212-fcoe_reorder_init_path.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 18729719a7091c35ffe377b21b860a60a352def8
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch213: 0213-Fix-wrong-keymap-inclusion.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as d066fcc3fb9080ffff412c8dc5177ca1dcc08e75
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch214: 0214-95fcoe-Do-not-overwrite-FCoE-configuration.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 1279a9e1a0a28107e0a240ab344f700b465c96b3 by upstream
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch215: 0215-95fcoe-Do-not-complain-about-missing-etc-hba.conf.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as d71c9ee286def5d1a5e90f549b65e21d0f18c9ac
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch216: 0216-95fcoe-silence-lldpad-warnings.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as c75196e11ec4325fc76bb11aeb884ceade62df48
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch217: 0217-95fcoe-Allow-to-specify-the-FCoE-mode-via-the-fcoe-p.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Probably not upstreamable?
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch218: 0218-40network-allow-persistent-interface-names.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 164760f4b075ff564c349cb40d1fa308c139432d
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch219: 0219-95fcoe-use-interface-names-instead-of-MAC-addresses.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 2aac3194100b903740bb9057aed71a35ce92a2e3
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch220: 0220-95fcoe-always-set-AUTO_VLAN-for-fcoemon.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as a3f91db4768451a10fbbc3e28270c29e1368df6c
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch221: 0221-95fcoe-Add-shutdown-script.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 07e635748342aa70a76bc1a2237339f6a897d841
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch222: 0222-90dm-Fixup-shutdown-script.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 870591acec41e854071129e7bf834cdfe43ae716
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch223: 0223-90dm-fixup-dependency-cycle-between-MD-and-DM-shutdo.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch224: 0224-95iscsi-setup-bnx2i-offload-connections-properly.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Applied upstream as part of 36a8b2e3058518255dbd39e33bf2c72b7889cfae
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch225: 0225-95fcoe-do-not-start-fcoemon-twice.patch
|
2015-05-08 10:10:36 +02:00
|
|
|
|
2016-04-12 16:08:19 +02:00
|
|
|
# SUSE-specific fixes
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch300: 0300-dracut_dont_use_dpkg_defaults_on_SUSE.patch
|
2015-11-12 11:15:55 +01:00
|
|
|
Patch301: 0301-include_sysconfig_language.patch
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch302: 0302-Revert-90multipath-add-hostonly-multipath.conf-in-ca.patch
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch303: 0303-fix_multipath_check_hostonly.patch
|
|
|
|
Patch304: 0304-90multipath-Start-daemon-after-udev-settle.patch
|
|
|
|
Patch305: 0305-90multipath-load-dm_multipath-module-during-startup.patch
|
|
|
|
Patch306: 0306-90multipath-add-shutdown-script.patch
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch307: 0307-90multipath-parse-kernel-commandline-option-multipat.patch
|
2016-10-13 15:03:19 +02:00
|
|
|
Patch308: 0308-mdraid_add_IMSM_NO_PLATFORM_env.patch
|
|
|
|
Patch309: 0309-90dmraid-do-not-delete-partitions.patch
|
|
|
|
Patch310: 0310-95resume-Do-not-resume-on-iSCSI.patch
|
|
|
|
Patch311: 0311-95iscsi-ip-ibft-is-deprecated.patch
|
|
|
|
Patch312: 0312-40network-Do-not-print-message-about-tmp-net.ibft0.c.patch
|
2016-10-15 15:47:11 +02:00
|
|
|
Patch313: 0313-90mdraid-Use-stock-MD-rules-to-assemble-RAID-arrays.patch
|
2017-03-02 16:14:47 +01:00
|
|
|
Patch314: 0314-nfs_do_not_pass_ifname_for_bonding_devices.patch
|
2015-08-31 13:13:37 +02:00
|
|
|
|
2015-11-12 11:15:55 +01:00
|
|
|
# New features/improvements
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2015-11-05 15:26:14 +01:00
|
|
|
Patch402: 0402-driver-fail-summary.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Applied upstream as 10f06425a597ca797b8efbf45e8838c4d30651e9
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch403: 0403-95lunmask-Add-module-to-handle-LUN-masking.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Applied upstream as 1f8a7ae799effed1e57033167beca4281389391c
|
2016-08-02 18:36:01 +02:00
|
|
|
Patch404: 0404-dracut-emergency-optionally-print-fs-help.patch
|
2015-09-11 15:57:10 +02:00
|
|
|
|
2016-11-08 16:09:17 +01:00
|
|
|
# Workarounds/Patches no longer relevant in 045
|
|
|
|
Patch450: 0450-Strip-NUL-bytes-in-stream-before-push-in-string.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Patch from upstream: d4efc0aeeecc470d9a267b7f3c130f472488905c
|
2016-11-09 14:07:55 +01:00
|
|
|
Patch451: 0451-systemd-initrd-add-initrd-root-device.target.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 9ffab3f3a5105691b4b640649c3a99e3cce39c1a
|
2016-11-15 16:21:18 +01:00
|
|
|
Patch452: 0452-Always-try-to-add-pinctrl-cherryview.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 7957bd01b097507a601495ed7cd2c8480c2af67b
|
2017-01-16 20:28:57 +01:00
|
|
|
Patch453: 0453-Resolve-symbolic-links-for-i-and-k-parameters-bsc-90.patch
|
2018-01-19 16:31:54 +01:00
|
|
|
# Applied upstream as e69da98de1a4175fb3c745570471fc3a7d567a33
|
2017-01-18 14:46:16 +01:00
|
|
|
Patch454: 0454-Add-md4-and-arc4-modules-for-ntlm.patch
|
2016-11-08 16:09:17 +01:00
|
|
|
|
2016-06-07 15:51:45 +02:00
|
|
|
# On top patches/fixes which have to be applied late
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 8b0791fa010cf7e5fde3a37a8c2bb6d6f1264f59
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch500: 0500-Reset-IFS-variable.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as e0c3b0793f92c24d442f543a755aed8cc218ab20
|
2016-08-02 18:36:01 +02:00
|
|
|
Patch501: 0501-dasd_fix_ssid_bigger_zero.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2016-10-13 15:03:19 +02:00
|
|
|
Patch502: 0502-persistent_device_policy_param_enhance.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 0db98910a11c12a454eac4c8e86dc7a7bbc764a4
|
2016-11-07 15:16:02 +01:00
|
|
|
Patch503: 0503-dracut.sh-create-the-initramfs-non-world-readable-al.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2016-12-17 14:04:09 +01:00
|
|
|
Patch504: 0504-ibft-fix-boot-flag-check.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as f1c790495baa017ec48b266a33b0dd558e760dde
|
2017-01-30 11:39:32 +01:00
|
|
|
Patch505: 0505-Allow-booting-from-degraded-MD-RAID-arrays.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 649619f6a5775d1c94d9c4f3fec627c747633275
|
2017-02-03 15:50:02 +01:00
|
|
|
Patch507: 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 8008d47fafcecd27c456215e910be33a23546519
|
2017-02-08 18:09:52 +01:00
|
|
|
Patch508: 0508-90multipath-start-before-local-fs-pre.target.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 8b6d136e625cb538f8845e858b37e9f6c67a5f1c
|
2017-04-05 12:20:43 +02:00
|
|
|
Patch512: 0512-Make-binutils-optional-when-elfutils-are-available.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2017-04-07 12:18:06 +02:00
|
|
|
Patch513: 0513-Fix-regression-caused-by-6f9bf2b8ac436259bdccb110545.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 4a739be99c409719e76078ece55e7ba3c817b054
|
2017-04-07 12:18:06 +02:00
|
|
|
Patch514: 0514-man-make-the-k-option-clear-using-mkinitrd.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Reverted later. Do not submit!
|
2017-04-21 12:11:27 +02:00
|
|
|
Patch515: 0515-90kernel-modules-also-add-block-device-driver-revers.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 7cf2c21798b537a5553ecc23df5ce8cfda631e9c
|
2017-04-25 16:27:59 +02:00
|
|
|
Patch516: 0516-mkinitrd-suse.sh-Fix-prefix-calculation.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as fd13d5d4d50dd837be393c4b7dc1859237f6daac
|
2017-04-27 13:16:18 +02:00
|
|
|
Patch517: 0517-95fcoe-fixup-fcoe-genrules.sh-for-VN2VN-mode.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Fixed more generically in upstream as feaaee4278077dd67fe24acebfbe47ba20738955
|
2017-04-27 13:16:18 +02:00
|
|
|
Patch518: 0518-90kernel-modules-Fix-backlight-on-Cherrytrail-device.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream if correct
|
2017-04-27 13:16:18 +02:00
|
|
|
Patch519: 0519-90kernel-modules-Ensure-phy-drivers-are-loaded-in-in.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Check if still relevant and apply upstream
|
2017-05-08 17:39:31 +02:00
|
|
|
Patch520: 0520-Ignore-module-resolution-errors.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Apply upstream
|
2017-06-07 09:34:41 +02:00
|
|
|
Patch521: 0521-Ensure-udev-persistent-storage-compat-rules-get-crea.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: belongs with FIPS commits
|
2017-06-16 18:15:40 +02:00
|
|
|
Patch522: 0522-Fix-typo-from-commit-3f1cdb520.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as e3189ab1235748cda136b564668b697d1c87847b
|
2017-06-16 18:15:40 +02:00
|
|
|
Patch523: 0523-98dracut-systemd-Fix-module-force-loading-with-syste.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Fixes SUSE Patch
|
2017-06-19 14:08:12 +02:00
|
|
|
Patch524: 0524-Suppress-nonsensical-error-message-bsc-1032029.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied from upstream commit 106255afd46ea2be1d035aca0c5695186a3f2c41
|
2017-07-11 12:01:32 +02:00
|
|
|
Patch525: 0525-backport-bail-out-if-module-directory-does-not-exist.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: apply upstream
|
2017-07-13 17:24:13 +02:00
|
|
|
Patch526: 0526-iscsiroot-call-handle_firmware-only-for-non-iface-in.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: belongs with FIPS commits
|
2017-07-13 17:24:13 +02:00
|
|
|
Patch527: 0527-switch-fips-checking-to-use-the-libkcapi-based-fipsc.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: apply upstream
|
2017-08-02 15:17:10 +02:00
|
|
|
Patch528: 0528-Ensure-dracut.sh-responds-properly-to-hostonly_cmdli.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied from upstream commit 8261d2367ee673e24d03306b9623f4f3070dae5b
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch529: 0529-systemd-add-missing-.slice-unit.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied from upstream commit eddca3c9c24e4cb9c5def0b98920e36b16fafaac
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch530: 0530-dracut-systemd-dracut-cmdline-ask-fix-dracut-kernel-.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied from upstream commit c000a21c25bd436f2b3cc2076cb7025cc82d2807
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch531: 0531-dracut-systemd-.service-conflict-with-shutdown-targe.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Do not submit, reverts bogus patch
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch532: 0532-List-drivers-rather-than-looking-for-reverse-depende.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: check if still relevant
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch533: 0533-instmods-check-modules.builtin-in-srcmods.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 348935e3b65b5058e65f66682df6a5b184eaacb2
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch534: 0534-ssh-client-Include-nss_-libraries.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as e316ae0e4309726b2c067a70ac41f7b22011c063
|
2017-08-18 18:12:38 +02:00
|
|
|
Patch535: 0535-Sync-initramfs-after-creation.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: apply upstream
|
2017-09-07 14:03:50 +02:00
|
|
|
Patch536: 0536-90multipath-drop-67-kpartx-compat.rules.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: check how to submit upstream
|
2017-09-07 14:03:50 +02:00
|
|
|
Patch537: 0537-dracut-init.sh-ignore-crc32.ko-in-builtin-test.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as afe4e2844ffa7c06160434430f0ce9e493c112e0
|
2017-09-07 14:03:50 +02:00
|
|
|
Patch538: 0538-Enable-core-dumps-with-systemd-from-initrd.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Not eligable for submit, unless specfile gets submitted
|
2017-10-07 12:32:07 +02:00
|
|
|
Patch539: 0539-Add-IMA-functionality-fate-323289.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied from upstream commit 551cc3694e32be97084b1f198f76f4daf908d503
|
2017-10-17 10:12:31 +02:00
|
|
|
Patch540: 0540-Check-the-proper-variable-for-a-custom-IMA-keys-dire.patch
|
2017-12-13 17:42:36 +01:00
|
|
|
# SLE and Leap have persistent net names, but not Factory/TW
|
2018-01-11 17:25:35 +01:00
|
|
|
%if 0%{?suse_version} && ! 0%{?sle_version}
|
|
|
|
# TODO: Unsure if this can be sumbmitted
|
2017-10-23 13:56:26 +02:00
|
|
|
Patch541: 0541-Make-sure-70-persistent-net.rules-is-included-in-ini.patch
|
2017-11-03 02:04:28 +01:00
|
|
|
%endif
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 9f2916cce13d584610295e001394274e823c3f15
|
2017-10-23 13:56:26 +02:00
|
|
|
Patch542: 0542-Include-crc32c-intel-module-when-using-btrfs.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as b36d322bd2ccb6ef4eb31384c86a75572184bba1
|
2017-12-13 17:42:36 +01:00
|
|
|
Patch543: 0543-Remove-00systemd-bootchart.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# TODO: Check if still relevant
|
2017-12-13 17:42:36 +01:00
|
|
|
Patch544: 0544-40network-Make-ip-dhcp-work.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# More generic fix upstream
|
2017-12-13 17:42:36 +01:00
|
|
|
Patch545: 0545-Add-early-microcode-support-for-AMD-family-16h.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# More generic fix upstream
|
2017-12-13 17:42:36 +01:00
|
|
|
Patch546: 0546-Support-Microcode-Updates-for-AMD-CPU-Family-0x17.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as df96cccc8f562f8aeab7c09248c204f21ed42c4a
|
2017-12-14 14:06:50 +01:00
|
|
|
Patch547: 0547-Fix-task-limit-in-emergency.service-the-same-change-.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as 36a8b2e3058518255dbd39e33bf2c72b7889cfae
|
2017-12-15 13:46:13 +01:00
|
|
|
Patch548: 0548-95fcoe-Switch-back-to-using-fipvlan-for-bnx2fc.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Same patch applied by upstream: 3966a1e1ee0e3d27197258f446f54b683c415208
|
2017-12-15 13:46:13 +01:00
|
|
|
Patch549: 0549-fcoe-up-Increase-sleeptime-to-13s.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Applied upstream as fd13d5d4d50dd837be393c4b7dc1859237f6daac
|
2017-12-15 13:46:13 +01:00
|
|
|
Patch550: 0550-95fcoe-add-timeout-initqueue-entries.patch
|
2018-01-11 17:25:35 +01:00
|
|
|
# Patch adopted from upstream commit 7c29d205f4bfb465f1618fdb8984798522c8eb4a
|
|
|
|
Patch551: 0551-fips-use-lib-modules-uname-r-modules.fips.patch
|
2018-01-25 10:33:05 +01:00
|
|
|
# Patch adopted from upstream commit 479b5cd94f16052cf6ea28d0e8abba2b926fff83
|
|
|
|
Patch552: 0552-98integrity-support-validating-the-IMA-policy-file-s.patch
|
|
|
|
# Patch submitted to upstream as 9e451d4770ec3a98816fcf97fdd745d6af135336
|
|
|
|
Patch553: 0553-98integrity-support-loading-x509-into-the-trusted-bu.patch
|
|
|
|
# Patch submitted to upstream as cb2c9a4338ddc15d55c6c524276a1807bec23485
|
|
|
|
Patch554: 0554-98integrity-support-X.509-only-EVM-configuration.patch
|
2018-02-09 16:46:02 +01:00
|
|
|
# Applied upstream as 94f61235d760337fdef692fac5ead589e8f3ab0e
|
|
|
|
Patch555: 0555-Avoid-executing-emergency-hooks-twice.patch
|
2018-02-09 17:21:40 +01:00
|
|
|
# Patch submitted to upstream as 62ceddfd3e3b9da8bdceb1be72dae55abdf35498
|
|
|
|
Patch556: 0556-95qeth_rules-Add-new-module-to-copy-qeth-rules.patch
|
2018-02-23 14:19:45 +01:00
|
|
|
# Patch not upstream, better fix depends on wicked
|
|
|
|
Patch557: 0557-40network-make-arping-optional.patch
|
|
|
|
# Applied upstream as 285495814becd9310bab3ab268a84ff54f43ed35
|
|
|
|
Patch558: 0558-40network-remove-brctl-dependency.patch
|
2018-03-16 16:03:33 +01:00
|
|
|
# Patch specific to SUSE, not upstream
|
|
|
|
Patch559: 0559-Add-wickedd-duid.xml-and-iaid.xml-if-available.patch
|
|
|
|
# Patch submitted to upstream as c68c28af2f140522e1dfae98ad62c56b01cbf175
|
|
|
|
Patch560: 0560-90kernel-modules-Ensure-PCI-host-modules-are-include.patch
|
|
|
|
# Patch submitted to upstream as 446c3bb2e25238f499bec875bbe4978a31d4e3d6
|
|
|
|
Patch561: 0561-Add-the-qedi-driver-to-driver-list-for-iscsi-boot.patch
|
|
|
|
# Patches taken from upstream (squashed)
|
|
|
|
Patch562: 0562-Adjust-driver-list-to-modern-kernels.patch
|
|
|
|
# Patch specific to SUSE, not upstream
|
|
|
|
Patch563: 0563-40network-collapse-arping-and-dhcp-calls-into-wicked.patch
|
|
|
|
# Patch specific to SUSE, not upstream
|
|
|
|
Patch564: 0564-40network-Always-set-the-gw-variable.patch
|
|
|
|
# Patch submitted to upstream as 774090d2223cc58db259f5670bde17bd37b286ea
|
|
|
|
Patch565: 0565-90kernel-modules-Include-Intel-Volume-Management-Dev.patch
|
2016-06-07 15:51:45 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: asciidoc
|
2014-02-09 14:23:30 +01:00
|
|
|
BuildRequires: bash
|
2012-07-30 20:02:55 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
2015-02-05 10:38:06 +01:00
|
|
|
BuildRequires: suse-module-tools
|
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
|
2015-11-26 12:35:04 +01:00
|
|
|
# systemd-sysvinit provides: poweroff, reboot, halt
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: coreutils
|
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
|
2014-02-09 14:23:30 +01:00
|
|
|
Requires: systemd-sysvinit
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: udev > 166
|
|
|
|
Requires: util-linux >= 2.21
|
2014-08-29 16:57:13 +02:00
|
|
|
Requires: xz
|
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
|
2013-11-29 13:27:47 +01:00
|
|
|
Recommends: logrotate
|
2014-02-09 14:23:30 +01:00
|
|
|
Obsoletes: mkinitrd < 2.8.2
|
|
|
|
Provides: mkinitrd = 2.8.2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
|
|
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
|
2017-08-29 15:42:36 +02:00
|
|
|
Requires(post): coreutils
|
2014-04-27 10:49:25 +02:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2014-08-15 13:38:18 +02:00
|
|
|
Requires: fipscheck
|
2018-01-25 10:33:05 +01:00
|
|
|
Requires: libcryptsetup12-hmac
|
2014-08-15 13:38:18 +02:00
|
|
|
Requires: libgcrypt20-hmac
|
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.
|
|
|
|
|
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.
|
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.
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%prep
|
2017-06-07 10:34:24 +02:00
|
|
|
%setup -q -n dracut-%{_pkg_version}
|
2016-06-07 15:51:45 +02:00
|
|
|
|
2013-11-29 13:27:47 +01:00
|
|
|
%patch12 -p1
|
2014-01-13 19:00:03 +01:00
|
|
|
%patch13 -p1
|
2014-02-13 15:56:13 +01:00
|
|
|
%patch15 -p1
|
2014-06-04 14:38:30 +02:00
|
|
|
%patch16 -p1
|
|
|
|
%patch17 -p1
|
2014-02-17 14:21:58 +01:00
|
|
|
%patch20 -p1
|
2015-11-06 10:56:00 +01:00
|
|
|
chmod a+x modules.d/00warpclock/module-setup.sh
|
2014-03-07 13:53:43 +01:00
|
|
|
%patch21 -p1
|
2014-05-28 18:30:59 +02:00
|
|
|
%patch48 -p1
|
2014-06-04 14:38:30 +02:00
|
|
|
%patch53 -p1
|
2014-05-28 18:30:59 +02:00
|
|
|
%patch56 -p1
|
2014-06-11 18:09:50 +02:00
|
|
|
%patch57 -p1
|
2014-06-12 09:15:53 +02:00
|
|
|
%patch58 -p1
|
2014-06-17 09:43:08 +02:00
|
|
|
%patch59 -p1
|
|
|
|
%patch60 -p1
|
2015-11-06 10:56:00 +01:00
|
|
|
chmod a+x modules.d/45ifcfg/write-ifcfg-suse.sh
|
2014-06-17 09:43:08 +02:00
|
|
|
%patch61 -p1
|
2014-06-25 17:13:52 +02:00
|
|
|
%patch75 -p1
|
|
|
|
%patch76 -p1
|
2014-06-27 09:31:06 +02:00
|
|
|
%patch79 -p1
|
|
|
|
%patch80 -p1
|
|
|
|
%patch81 -p1
|
|
|
|
%patch83 -p1
|
|
|
|
%patch85 -p1
|
|
|
|
%patch86 -p1
|
|
|
|
%patch87 -p1
|
2014-07-03 10:00:15 +02:00
|
|
|
%patch88 -p1
|
2015-11-06 10:56:00 +01:00
|
|
|
chmod a+x modules.d/91zipl/install_zipl_cmdline.sh
|
2014-07-05 23:13:32 +02:00
|
|
|
%patch89 -p1
|
|
|
|
%patch90 -p1
|
|
|
|
%patch91 -p1
|
|
|
|
%patch94 -p1
|
2014-07-14 18:09:29 +02:00
|
|
|
%patch107 -p1
|
|
|
|
%patch108 -p1
|
|
|
|
%patch109 -p1
|
|
|
|
%patch110 -p1
|
|
|
|
%patch113 -p1
|
|
|
|
%patch114 -p1
|
|
|
|
%patch116 -p1
|
|
|
|
%patch117 -p1
|
|
|
|
%patch118 -p1
|
2014-07-21 14:41:52 +02:00
|
|
|
%patch121 -p1
|
|
|
|
%patch123 -p1
|
|
|
|
%patch124 -p1
|
|
|
|
%patch125 -p1
|
|
|
|
%patch126 -p1
|
2015-10-17 14:02:47 +02:00
|
|
|
%patch128 -p1
|
2014-08-05 17:24:31 +02:00
|
|
|
%patch130 -p1
|
|
|
|
%patch131 -p1
|
|
|
|
%patch132 -p1
|
2016-01-26 17:28:00 +01:00
|
|
|
%patch133 -p1
|
2015-03-31 16:12:12 +02:00
|
|
|
|
2014-08-15 13:38:18 +02:00
|
|
|
%patch137 -p1
|
2015-06-30 14:59:59 +02:00
|
|
|
%patch138 -p1
|
2016-06-15 12:43:23 +02:00
|
|
|
%patch139 -p1
|
2015-06-30 14:59:59 +02:00
|
|
|
|
2014-08-21 14:50:20 +02:00
|
|
|
%patch142 -p1
|
|
|
|
%patch144 -p1
|
2016-01-26 17:28:00 +01:00
|
|
|
%patch145 -p1
|
2014-08-29 16:57:13 +02:00
|
|
|
%patch150 -p1
|
2014-09-11 15:47:15 +02:00
|
|
|
%patch157 -p1
|
|
|
|
%patch158 -p1
|
2014-09-22 15:42:49 +02:00
|
|
|
%patch159 -p1
|
2016-04-12 16:08:19 +02:00
|
|
|
%patch160 -p1
|
|
|
|
%patch161 -p1
|
2016-01-26 17:28:00 +01:00
|
|
|
%patch162 -p1
|
2014-10-02 16:40:32 +02:00
|
|
|
%patch163 -p1
|
2014-10-15 18:10:04 +02:00
|
|
|
%patch164 -p1
|
2015-02-23 20:15:53 +01:00
|
|
|
%patch168 -p1
|
2016-01-28 14:55:23 +01:00
|
|
|
%patch169 -p1
|
2016-04-12 16:08:19 +02:00
|
|
|
%patch170 -p1
|
2016-01-28 14:55:23 +01:00
|
|
|
|
2015-09-16 11:17:31 +02:00
|
|
|
%patch180 -p1
|
2015-09-22 17:18:34 +02:00
|
|
|
%patch182 -p1
|
2015-09-23 14:25:24 +02:00
|
|
|
%patch183 -p1
|
2016-06-07 15:51:45 +02:00
|
|
|
%patch188 -p1
|
2013-06-18 09:22:22 +02:00
|
|
|
|
2016-04-12 16:08:19 +02:00
|
|
|
%patch190 -p1
|
|
|
|
%patch191 -p1
|
|
|
|
%patch192 -p1
|
|
|
|
%patch193 -p1
|
2016-04-14 15:36:44 +02:00
|
|
|
%patch196 -p1
|
2016-06-07 15:51:45 +02:00
|
|
|
%patch197 -p1
|
|
|
|
%patch198 -p1
|
2016-10-07 10:44:57 +02:00
|
|
|
%patch199 -p1
|
2016-04-12 16:08:19 +02:00
|
|
|
|
2015-05-08 10:10:36 +02:00
|
|
|
%patch200 -p1
|
2015-06-30 14:59:59 +02:00
|
|
|
%patch201 -p1
|
|
|
|
%patch202 -p1
|
2015-11-05 15:26:14 +01:00
|
|
|
%patch203 -p1
|
2015-11-06 10:56:00 +01:00
|
|
|
%patch204 -p1
|
2015-11-10 13:17:01 +01:00
|
|
|
%patch205 -p1
|
2015-11-24 16:25:43 +01:00
|
|
|
%patch206 -p1
|
2016-01-22 10:34:00 +01:00
|
|
|
%patch207 -p1
|
2016-01-26 17:36:55 +01:00
|
|
|
%patch208 -p1
|
2016-01-27 17:45:27 +01:00
|
|
|
%patch209 -p1
|
2016-02-15 16:16:25 +01:00
|
|
|
%patch210 -p1
|
2016-06-07 15:51:45 +02:00
|
|
|
%patch212 -p1
|
2016-06-17 16:53:43 +02:00
|
|
|
%patch213 -p1
|
2016-09-01 13:57:40 +02:00
|
|
|
%patch214 -p1
|
|
|
|
%patch215 -p1
|
|
|
|
%patch216 -p1
|
|
|
|
%patch217 -p1
|
|
|
|
%patch218 -p1
|
|
|
|
%patch219 -p1
|
|
|
|
%patch220 -p1
|
|
|
|
%patch221 -p1
|
|
|
|
%patch222 -p1
|
|
|
|
%patch223 -p1
|
2016-10-07 10:44:57 +02:00
|
|
|
%patch224 -p1
|
|
|
|
%patch225 -p1
|
2015-05-08 10:10:36 +02:00
|
|
|
|
2015-08-31 13:13:37 +02:00
|
|
|
%patch300 -p1
|
2015-11-12 11:15:55 +01:00
|
|
|
%patch301 -p1
|
2016-06-07 15:51:45 +02:00
|
|
|
%patch302 -p1
|
2016-09-01 13:57:40 +02:00
|
|
|
%patch303 -p1
|
|
|
|
%patch304 -p1
|
|
|
|
%patch305 -p1
|
|
|
|
%patch306 -p1
|
2016-10-07 10:44:57 +02:00
|
|
|
%patch307 -p1
|
2016-10-13 15:03:19 +02:00
|
|
|
%patch308 -p1
|
|
|
|
%patch309 -p1
|
|
|
|
%patch310 -p1
|
|
|
|
%patch311 -p1
|
|
|
|
%patch312 -p1
|
2016-10-15 15:47:11 +02:00
|
|
|
%patch313 -p1
|
2017-03-02 16:14:47 +01:00
|
|
|
%patch314 -p1
|
2015-08-31 13:13:37 +02:00
|
|
|
|
2015-11-05 15:26:14 +01:00
|
|
|
%patch402 -p1
|
2016-04-12 16:08:19 +02:00
|
|
|
%patch403 -p1
|
2016-08-02 18:36:01 +02:00
|
|
|
%patch404 -p1
|
2015-09-11 15:57:10 +02:00
|
|
|
|
2016-11-08 16:09:17 +01:00
|
|
|
%patch450 -p1
|
2016-11-09 14:07:55 +01:00
|
|
|
%patch451 -p1
|
2016-11-15 16:21:18 +01:00
|
|
|
%patch452 -p1
|
2017-01-16 20:28:57 +01:00
|
|
|
%patch453 -p1
|
2017-01-18 14:46:16 +01:00
|
|
|
%patch454 -p1
|
2016-11-08 16:09:17 +01:00
|
|
|
|
2016-06-07 15:51:45 +02:00
|
|
|
%patch500 -p1
|
2016-08-02 18:36:01 +02:00
|
|
|
%patch501 -p1
|
2016-10-13 15:03:19 +02:00
|
|
|
%patch502 -p1
|
2016-11-07 15:16:02 +01:00
|
|
|
%patch503 -p1
|
2016-12-17 14:04:09 +01:00
|
|
|
%patch504 -p1
|
2017-01-30 11:39:32 +01:00
|
|
|
%patch505 -p1
|
2016-06-07 15:51:45 +02:00
|
|
|
|
2017-02-02 13:23:11 +01:00
|
|
|
%patch506 -p1
|
2017-02-03 15:50:02 +01:00
|
|
|
%patch507 -p1
|
2017-02-08 18:09:52 +01:00
|
|
|
%patch508 -p1
|
2017-03-01 14:30:24 +01:00
|
|
|
%patch509 -p1
|
2017-03-17 11:21:31 +01:00
|
|
|
%patch510 -p1
|
|
|
|
%patch511 -p1
|
2017-04-05 12:20:43 +02:00
|
|
|
%patch512 -p1
|
2017-04-07 12:18:06 +02:00
|
|
|
%patch513 -p1
|
|
|
|
%patch514 -p1
|
2017-04-21 12:11:27 +02:00
|
|
|
%patch515 -p1
|
2017-04-25 16:27:59 +02:00
|
|
|
%patch516 -p1
|
2017-04-27 13:16:18 +02:00
|
|
|
%patch517 -p1
|
|
|
|
%patch518 -p1
|
|
|
|
%patch519 -p1
|
2017-05-08 17:39:31 +02:00
|
|
|
%patch520 -p1
|
2017-06-07 09:34:41 +02:00
|
|
|
%patch521 -p1
|
2017-06-16 18:15:40 +02:00
|
|
|
%patch522 -p1
|
|
|
|
%patch523 -p1
|
2017-06-19 14:08:12 +02:00
|
|
|
%patch524 -p1
|
2017-07-11 12:01:32 +02:00
|
|
|
%patch525 -p1
|
2017-07-13 17:24:13 +02:00
|
|
|
%patch526 -p1
|
|
|
|
%patch527 -p1
|
2017-08-02 15:17:10 +02:00
|
|
|
%patch528 -p1
|
2017-08-18 18:12:38 +02:00
|
|
|
%patch529 -p1
|
|
|
|
%patch530 -p1
|
|
|
|
%patch531 -p1
|
|
|
|
%patch532 -p1
|
|
|
|
%patch533 -p1
|
|
|
|
%patch534 -p1
|
|
|
|
%patch535 -p1
|
2017-09-07 14:03:50 +02:00
|
|
|
%patch536 -p1
|
|
|
|
%patch537 -p1
|
|
|
|
%patch538 -p1
|
2017-10-07 12:32:07 +02:00
|
|
|
%patch539 -p1
|
2017-10-17 10:12:31 +02:00
|
|
|
%patch540 -p1
|
2017-12-13 18:14:11 +01:00
|
|
|
%if 0%{?suse_version} && ! 0%{?sle_version}
|
2017-10-23 13:56:26 +02:00
|
|
|
%patch541 -p1
|
2017-11-03 02:04:28 +01:00
|
|
|
%endif
|
2017-10-23 13:56:26 +02:00
|
|
|
%patch542 -p1
|
2017-12-13 17:42:36 +01:00
|
|
|
%patch543 -p1
|
|
|
|
%patch544 -p1
|
|
|
|
%patch545 -p1
|
|
|
|
%patch546 -p1
|
2017-12-14 14:06:50 +01:00
|
|
|
%patch547 -p1
|
2017-12-15 13:46:13 +01:00
|
|
|
%patch548 -p1
|
|
|
|
%patch549 -p1
|
|
|
|
%patch550 -p1
|
2018-01-11 17:25:35 +01:00
|
|
|
%patch551 -p1
|
2018-01-25 10:33:05 +01:00
|
|
|
%patch552 -p1
|
|
|
|
%patch553 -p1
|
|
|
|
%patch554 -p1
|
2018-02-09 16:46:02 +01:00
|
|
|
%patch555 -p1
|
2018-02-09 17:21:40 +01:00
|
|
|
%patch556 -p1
|
2018-03-16 16:03:33 +01:00
|
|
|
chmod a+x modules.d/95qeth_rules/module-setup.sh
|
2018-02-23 14:19:45 +01:00
|
|
|
%patch557 -p1
|
|
|
|
%patch558 -p1
|
2018-03-16 16:03:33 +01:00
|
|
|
%patch559 -p1
|
|
|
|
%patch560 -p1
|
|
|
|
%patch561 -p1
|
|
|
|
%patch562 -p1
|
|
|
|
%patch563 -p1
|
|
|
|
%patch564 -p1
|
|
|
|
%patch565 -p1
|
2017-02-02 13:23:11 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%build
|
2013-04-10 21:50:58 +02:00
|
|
|
%configure\
|
|
|
|
--systemdsystemunitdir=%{_unitdir}\
|
|
|
|
--bashcompletiondir=%{_sysconfdir}/bash_completion.d\
|
|
|
|
--libdir=%{_prefix}/lib
|
2015-06-30 14:59:59 +02:00
|
|
|
make all CFLAGS="%{optflags}" %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%install
|
2017-10-12 13:16:57 +02:00
|
|
|
%make_install %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2017-06-07 10:34:24 +02:00
|
|
|
echo -e "#!/bin/bash\nDRACUT_VERSION=%{_pkg_version}-%{release}" > %{buildroot}/%{dracutlibdir}/dracut-version.sh
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2017-12-13 17:42:36 +01:00
|
|
|
# no longer needed, use the (built-in) systemd-analyze instead
|
2014-04-10 00:04:52 +02:00
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00bootchart
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
# not supported
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00dash
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/05busybox
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
# remove gentoo specific modules
|
|
|
|
rm -fr %{buildroot}%{dracutlibdir}/modules.d/50gensplash
|
|
|
|
|
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
|
|
|
|
2016-03-29 17:53:41 +02:00
|
|
|
install -D -m 0644 dracut.conf.d/suse.conf.example %{buildroot}/usr/lib/dracut/dracut.conf.d/01-dist.conf
|
|
|
|
install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/dracut.conf.d/99-debug.conf
|
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
|
2017-03-02 16:14:47 +01:00
|
|
|
# bsc#915218
|
|
|
|
%ifarch s390 s390x
|
|
|
|
install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/dracut.conf.d/10-s390x_persistent_device.conf
|
|
|
|
%endif
|
2014-04-27 10:49:25 +02:00
|
|
|
|
2013-07-18 13:45:24 +02:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
echo 'early_microcode="yes"' > %{buildroot}%{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
|
|
|
|
%endif
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2013-11-29 13:27:47 +01:00
|
|
|
rm %{buildroot}%{_bindir}/mkinitrd
|
2013-10-02 14:32:19 +02:00
|
|
|
# moved to /sbin
|
|
|
|
mkdir -p %{buildroot}/sbin
|
2013-11-29 13:27:47 +01:00
|
|
|
install -m 0755 mkinitrd-suse.sh %{buildroot}/sbin/mkinitrd
|
|
|
|
mv %{buildroot}%{_mandir}/man8/mkinitrd-suse.8 %{buildroot}%{_mandir}/man8/mkinitrd.8
|
2014-02-09 14:23:30 +01:00
|
|
|
install -m 0755 %{SOURCE3} %{buildroot}/sbin/mkinitrd_setup
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
|
|
|
install -m 0644 dracut.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
install -D -m 0755 %{SOURCE4} %{buildroot}/sbin/purge-kernels
|
2014-02-09 14:23:30 +01:00
|
|
|
install -m 644 %{SOURCE5} %{buildroot}/%{_unitdir}/purge-kernels.service
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2014-02-28 16:05:59 +01:00
|
|
|
install -D -m 0755 %{SOURCE6} %{buildroot}/sbin/installkernel
|
2014-02-13 23:20:14 +01:00
|
|
|
|
2014-02-17 14:21:58 +01:00
|
|
|
%if 0%{?suse_version}
|
2014-04-30 17:29:13 +02:00
|
|
|
rm -f %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
2014-02-17 14:21:58 +01:00
|
|
|
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-suse.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
|
|
|
%else
|
2014-04-30 17:29:13 +02:00
|
|
|
mv %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh
|
2014-02-17 14:21:58 +01:00
|
|
|
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
|
|
|
|
%endif
|
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
%pre
|
|
|
|
%service_add_pre purge-kernels.service
|
|
|
|
|
2014-05-14 14:53:58 +02:00
|
|
|
%post
|
|
|
|
%service_add_post purge-kernels.service
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
|
|
|
%post fips
|
|
|
|
%{?regenerate_initrd_post}
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%post ima
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2013-12-18 17:20:48 +01:00
|
|
|
%preun
|
|
|
|
%service_del_preun purge-kernels.service
|
|
|
|
|
2014-05-14 14:53:58 +02:00
|
|
|
%postun
|
|
|
|
%service_del_postun purge-kernels.service
|
2015-02-05 10:38:06 +01:00
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
|
|
|
%postun fips
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%postun ima
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
2015-02-05 10:38:06 +01:00
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
|
|
|
%posttrans fips
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%posttrans ima
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
2014-04-27 10:49:25 +02:00
|
|
|
%files fips
|
|
|
|
%defattr(-,root,root,0755)
|
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
|
|
|
|
%{dracutlibdir}/modules.d/02fips-aesni
|
|
|
|
|
2017-10-07 12:32:07 +02:00
|
|
|
%files ima
|
|
|
|
%defattr(-,root,root,0755)
|
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
|
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
%files tools
|
2016-04-14 15:36:44 +02:00
|
|
|
%defattr(-,root,root,0755)
|
2015-11-26 12:35:04 +01:00
|
|
|
%{_bindir}/dracut-catimages
|
|
|
|
%{_mandir}/man8/dracut-catimages.8*
|
|
|
|
%dir /boot/dracut
|
|
|
|
%dir %{_localstatedir}/lib/dracut
|
|
|
|
%dir %{_localstatedir}/lib/dracut/overlay
|
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,0755)
|
2018-03-19 12:53:36 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc README HACKING TODO AUTHORS NEWS dracut.html dracut.png dracut.svg
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_bindir}/dracut
|
2014-03-04 19:26:06 +01:00
|
|
|
%{_bindir}/lsinitrd
|
2013-12-18 17:20:48 +01:00
|
|
|
/sbin/purge-kernels
|
2014-02-28 16:05:59 +01:00
|
|
|
/sbin/installkernel
|
2013-10-02 14:32:19 +02:00
|
|
|
/sbin/mkinitrd
|
|
|
|
/sbin/mkinitrd_setup
|
2014-02-09 14:23:30 +01:00
|
|
|
%config %{_sysconfdir}/bash_completion.d/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
|
2016-03-29 17:53:41 +02:00
|
|
|
%dir /usr/lib/dracut/dracut.conf.d
|
|
|
|
%config %{_sysconfdir}/dracut.conf.d/99-debug.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
2016-03-29 17:53:41 +02:00
|
|
|
/usr/lib/dracut/dracut.conf.d/01-dist.conf
|
2012-07-13 15:52:08 +02:00
|
|
|
%endif
|
2013-07-18 13:45:24 +02:00
|
|
|
%ifarch %ix86 x86_64
|
2013-10-03 09:37:56 +02:00
|
|
|
%config %{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
|
2013-07-18 13:45:24 +02:00
|
|
|
%endif
|
2017-03-27 19:59:03 +02:00
|
|
|
%ifarch s390 s390x
|
|
|
|
%config %{_sysconfdir}/dracut.conf.d/10-s390x_persistent_device.conf
|
|
|
|
%endif
|
2015-11-26 12:35:04 +01:00
|
|
|
|
2012-07-13 15:52:08 +02:00
|
|
|
%{_mandir}/man8/dracut.8*
|
|
|
|
%{_mandir}/man8/mkinitrd.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
|
|
|
|
2014-02-09 14:23:30 +01:00
|
|
|
%dir %{_libexecdir}/kernel
|
|
|
|
%dir %{_libexecdir}/kernel/install.d
|
|
|
|
%{_libexecdir}/kernel/install.d/50-dracut.install
|
|
|
|
%{_libexecdir}/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
|
|
|
|
|
|
|
|
%dir %{dracutlibdir}/modules.d
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/00bash
|
2014-03-07 14:20:21 +01:00
|
|
|
%{dracutlibdir}/modules.d/00warpclock
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/00systemd
|
|
|
|
%{dracutlibdir}/modules.d/01systemd-initrd
|
|
|
|
%{dracutlibdir}/modules.d/02systemd-networkd
|
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
|
|
|
|
%{dracutlibdir}/modules.d/10i18n
|
|
|
|
%{dracutlibdir}/modules.d/30convertfs
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/40network
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/45url-lib
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/45ifcfg
|
2013-01-24 11:28:22 +01:00
|
|
|
%{dracutlibdir}/modules.d/50drm
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/50plymouth
|
|
|
|
%{dracutlibdir}/modules.d/80cms
|
2014-06-02 20:32:32 +02:00
|
|
|
%{dracutlibdir}/modules.d/81cio_ignore
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/90livenet
|
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
|
|
|
|
%{dracutlibdir}/modules.d/90kernel-modules
|
|
|
|
%{dracutlibdir}/modules.d/90lvm
|
|
|
|
%{dracutlibdir}/modules.d/90mdraid
|
|
|
|
%{dracutlibdir}/modules.d/90multipath
|
|
|
|
%{dracutlibdir}/modules.d/90qemu
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/90kernel-network-modules
|
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
|
2014-07-03 10:00:15 +02:00
|
|
|
%{dracutlibdir}/modules.d/91zipl
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/95znet
|
|
|
|
%{dracutlibdir}/modules.d/95fcoe-uefi
|
|
|
|
%{dracutlibdir}/modules.d/95nbd
|
|
|
|
%{dracutlibdir}/modules.d/95nfs
|
|
|
|
%{dracutlibdir}/modules.d/95ssh-client
|
|
|
|
%{dracutlibdir}/modules.d/95fcoe
|
|
|
|
%{dracutlibdir}/modules.d/95iscsi
|
2012-08-02 21:33:14 +02:00
|
|
|
%{dracutlibdir}/modules.d/95cifs
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95debug
|
|
|
|
%{dracutlibdir}/modules.d/95resume
|
|
|
|
%{dracutlibdir}/modules.d/95rootfs-block
|
2014-03-14 16:16:25 +01:00
|
|
|
%{dracutlibdir}/modules.d/95dcssblk
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95dasd
|
|
|
|
%{dracutlibdir}/modules.d/95dasd_mod
|
2013-11-29 13:27:47 +01:00
|
|
|
%{dracutlibdir}/modules.d/95dasd_rules
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95fstab-sys
|
2016-04-12 16:08:19 +02:00
|
|
|
%{dracutlibdir}/modules.d/95lunmask
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95zfcp
|
2013-11-29 13:27:47 +01:00
|
|
|
%{dracutlibdir}/modules.d/95zfcp_rules
|
2018-02-09 17:21:40 +01:00
|
|
|
%{dracutlibdir}/modules.d/95qeth_rules
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/95terminfo
|
|
|
|
%{dracutlibdir}/modules.d/95udev-rules
|
|
|
|
%{dracutlibdir}/modules.d/95virtfs
|
|
|
|
%{dracutlibdir}/modules.d/97biosdevname
|
|
|
|
%{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
|
2015-06-30 14:59:59 +02:00
|
|
|
%{dracutlibdir}/modules.d/98dracut-systemd
|
2012-07-13 15:52:08 +02:00
|
|
|
%{dracutlibdir}/modules.d/98usrmount
|
|
|
|
%{dracutlibdir}/modules.d/99base
|
|
|
|
%{dracutlibdir}/modules.d/99fs-lib
|
|
|
|
%{dracutlibdir}/modules.d/99img-lib
|
|
|
|
%{dracutlibdir}/modules.d/99shutdown
|
2012-07-30 20:02:55 +02:00
|
|
|
%{dracutlibdir}/modules.d/99suse
|
2014-03-04 19:26:06 +01:00
|
|
|
%{dracutlibdir}/modules.d/99uefi-lib
|
2014-07-14 18:24:40 +02:00
|
|
|
|
|
|
|
# executable fixups
|
2015-11-26 12:35:04 +01:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/00warpclock/warpclock.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/90livenet/livenet-generator.sh
|
2016-09-01 13:57:40 +02:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/90multipath/multipath-shutdown.sh
|
2014-07-14 18:24:40 +02:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95dcssblk/parse-dcssblk.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95dcssblk/module-setup.sh
|
2015-11-26 12:35:04 +01:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95fcoe/cleanup-fcoe.sh
|
2016-09-01 13:57:40 +02:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95fcoe/stop-fcoe.sh
|
2014-07-14 18:24:40 +02:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/99suse/parse-suse-initrd.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/99suse/module-setup.sh
|
|
|
|
|
2016-04-12 16:08:19 +02:00
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95lunmask/sas_transport_scan_lun.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95lunmask/parse-lunmask.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95lunmask/fc_transport_scan_lun.sh
|
|
|
|
%attr(0755,root,root) %{dracutlibdir}/modules.d/95lunmask/module-setup.sh
|
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/dracut
|
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
|
2013-11-29 13:27:47 +01:00
|
|
|
%config %{_sysconfdir}/bash_completion.d/dracut
|
2012-07-13 15:52:08 +02:00
|
|
|
|
|
|
|
%changelog
|