2012-07-13 15:52:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package dracut
|
|
|
|
#
|
2017-01-07 13:37:07 +01:00
|
|
|
# Copyright (c) 2017 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
|
2014-02-13 23:20:14 +01:00
|
|
|
|
2012-07-30 20:02:55 +02:00
|
|
|
Name: dracut
|
2015-11-26 12:35:04 +01:00
|
|
|
Version: 044
|
2012-07-30 20:02:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Initramfs generator using udev
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
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/
|
2013-11-29 13:27:47 +01:00
|
|
|
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{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
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
#Network:
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch12: 0012-40network-Fix-race-condition-when-wait-for-networks.patch
|
|
|
|
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
|
|
|
|
Patch16: 0016-Add-new-s390x-specific-rule-files.patch
|
|
|
|
Patch21: 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch
|
|
|
|
Patch56: 0056-81cio_ignore-handle-cio_ignore-commandline.patch
|
2014-06-25 17:13:52 +02:00
|
|
|
Patch75: 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch
|
|
|
|
Patch76: 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch
|
2014-06-27 09:31:06 +02:00
|
|
|
Patch79: 0079-95dasd_rules-fixup-rd.dasd-parsing.patch
|
|
|
|
Patch80: 0080-95dasd_rules-print-out-rd.dasd-commandline.patch
|
|
|
|
Patch81: 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch
|
|
|
|
Patch83: 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch
|
|
|
|
Patch85: 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch
|
|
|
|
Patch86: 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch
|
|
|
|
Patch87: 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch
|
2014-07-03 10:00:15 +02:00
|
|
|
Patch88: 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch107: 0107-Fixup-typo-firmare-instead-of-firmware.patch
|
|
|
|
Patch108: 0108-91zipl-Store-commandline-correctly.patch
|
|
|
|
Patch109: 0109-95dasd_rules-Store-all-devices-in-commandline.patch
|
|
|
|
Patch110: 0110-95zfcp_rules-Store-all-devices-in-commandline.patch
|
|
|
|
Patch113: 0113-91zipl-Install-script-as-executable.patch
|
|
|
|
Patch114: 0114-91zipl-Translate-ext2-3-into-ext4.patch
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch116: 0116-Mark-scripts-as-executable.patch
|
2014-07-14 18:09:29 +02:00
|
|
|
Patch117: 0117-95dasd_rules-Enable-the-device-before-checking-devic.patch
|
|
|
|
Patch118: 0118-95zfcp_rules-Enable-the-device-before-checking-devic.patch
|
2015-03-31 16:12:12 +02:00
|
|
|
Patch123: 0123-95zfcp_rules-fix-typo-in-module_setup.patch
|
|
|
|
Patch157: 0157-Add-boot-zipl-to-host-devs-if-it-is-a-mount-point.patch
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch160: 0160-s390-update_active_devices_initrd.patch
|
|
|
|
Patch161: 0161-95zfcp_rules-simplified-rd.zfcp-commandline-for-NPIV.patch
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch188: 0188-95dasd_rules-Install-collect-udev-helper-binary.patch
|
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
|
|
|
|
|
|
|
# Others
|
|
|
|
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
|
|
|
|
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
|
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
|
2014-10-15 18:10:04 +02:00
|
|
|
Patch164: 0164-Fix-initramfs-ver.img-vs-initrd-ver-in-dracut-initra.patch
|
2015-02-23 20:15:53 +01:00
|
|
|
Patch168: 0168-remove_plymouth_logo_file.patch
|
2015-09-17 09:45:51 +02:00
|
|
|
Patch180: 0180-i18n_add_correct_fontmaps.patch
|
2015-09-22 17:18:34 +02:00
|
|
|
Patch182: 0182-fix-include-parsing.patch
|
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
|
|
|
|
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
|
2015-10-17 14:02:47 +02:00
|
|
|
Patch128: 0128-90lvm-Install-dm-snapshot-module.patch
|
2015-11-23 11:52:33 +01:00
|
|
|
Patch200: 0200-dracut_fix_multipath_without_config.patch
|
|
|
|
Patch201: 0201-fix_nfs_with_ip_instead_of_hostname.patch
|
|
|
|
Patch202: 0202-dracut_dmraid_use_udev.patch
|
2015-11-05 15:26:14 +01:00
|
|
|
Patch203: 0203-no-fail-builtin-module.patch
|
2015-11-06 10:56:00 +01:00
|
|
|
Patch204: 0204-mkinitrd-fix-monster.patch
|
2015-11-10 13:17:01 +01:00
|
|
|
Patch205: 0205-mdraid_ignore_hostonly.patch
|
2015-11-24 16:25:43 +01:00
|
|
|
Patch206: 0206-nfs_dns_alias.patch
|
2016-01-22 10:34:00 +01:00
|
|
|
Patch207: 0207-handle_module_aliases.patch
|
2016-01-26 17:36:55 +01:00
|
|
|
Patch208: 0208-no_forced_virtnet.patch
|
2016-01-27 17:45:27 +01:00
|
|
|
Patch209: 0209-fix_modules_load_d_hostonly.patch
|
2016-02-15 16:16:25 +01:00
|
|
|
Patch210: 0210-add_fcoe_uefi_check.patch
|
2016-06-07 15:51:45 +02:00
|
|
|
Patch212: 0212-fcoe_reorder_init_path.patch
|
2016-09-01 13:57:40 +02:00
|
|
|
Patch213: 0213-Fix-wrong-keymap-inclusion.patch
|
|
|
|
Patch214: 0214-95fcoe-Do-not-overwrite-FCoE-configuration.patch
|
|
|
|
Patch215: 0215-95fcoe-Do-not-complain-about-missing-etc-hba.conf.patch
|
|
|
|
Patch216: 0216-95fcoe-silence-lldpad-warnings.patch
|
|
|
|
Patch217: 0217-95fcoe-Allow-to-specify-the-FCoE-mode-via-the-fcoe-p.patch
|
|
|
|
Patch218: 0218-40network-allow-persistent-interface-names.patch
|
|
|
|
Patch219: 0219-95fcoe-use-interface-names-instead-of-MAC-addresses.patch
|
|
|
|
Patch220: 0220-95fcoe-always-set-AUTO_VLAN-for-fcoemon.patch
|
|
|
|
Patch221: 0221-95fcoe-Add-shutdown-script.patch
|
|
|
|
Patch222: 0222-90dm-Fixup-shutdown-script.patch
|
|
|
|
Patch223: 0223-90dm-fixup-dependency-cycle-between-MD-and-DM-shutdo.patch
|
2016-10-07 10:44:57 +02:00
|
|
|
Patch224: 0224-95iscsi-setup-bnx2i-offload-connections-properly.patch
|
|
|
|
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
|
2015-11-05 15:26:14 +01:00
|
|
|
Patch402: 0402-driver-fail-summary.patch
|
2016-04-12 16:08:19 +02:00
|
|
|
Patch403: 0403-95lunmask-Add-module-to-handle-LUN-masking.patch
|
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
|
2016-11-09 14:07:55 +01:00
|
|
|
Patch451: 0451-systemd-initrd-add-initrd-root-device.target.patch
|
2016-11-15 16:21:18 +01:00
|
|
|
Patch452: 0452-Always-try-to-add-pinctrl-cherryview.patch
|
2017-01-16 20:28:57 +01:00
|
|
|
Patch453: 0453-Resolve-symbolic-links-for-i-and-k-parameters-bsc-90.patch
|
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
|
|
|
|
Patch500: 0500-Reset-IFS-variable.patch
|
2016-08-02 18:36:01 +02:00
|
|
|
Patch501: 0501-dasd_fix_ssid_bigger_zero.patch
|
2016-10-13 15:03:19 +02:00
|
|
|
Patch502: 0502-persistent_device_policy_param_enhance.patch
|
2016-11-07 15:16:02 +01:00
|
|
|
Patch503: 0503-dracut.sh-create-the-initramfs-non-world-readable-al.patch
|
2016-12-17 14:04:09 +01:00
|
|
|
Patch504: 0504-ibft-fix-boot-flag-check.patch
|
2017-01-30 11:39:32 +01:00
|
|
|
Patch505: 0505-Allow-booting-from-degraded-MD-RAID-arrays.patch
|
2017-02-03 15:50:02 +01:00
|
|
|
Patch507: 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch
|
2017-02-08 18:09:52 +01:00
|
|
|
Patch508: 0508-90multipath-start-before-local-fs-pre.target.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
|
|
|
|
Requires: binutils
|
2012-07-30 20:02:55 +02:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: cpio
|
|
|
|
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
|
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
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2014-08-15 13:38:18 +02:00
|
|
|
Requires: fipscheck
|
|
|
|
Requires: libcryptsetup4-hmac
|
|
|
|
Requires: libgcrypt20-hmac
|
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.
|
|
|
|
|
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
|
2012-07-30 20:02:55 +02:00
|
|
|
%setup -q
|
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-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
|
2014-02-09 14:23:30 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2013-11-29 13:27:47 +01:00
|
|
|
echo -e "#!/bin/bash\nDRACUT_VERSION=%{version}-%{release}" > %{buildroot}/%{dracutlibdir}/dracut-version.sh
|
2012-07-13 15:52:08 +02:00
|
|
|
|
2015-11-26 12:35:04 +01:00
|
|
|
# use 00systemd-bootchart 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
|
|
|
# with systemd IMA and selinux modules do not make sense
|
2012-07-30 20:02:55 +02:00
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/96securityfs
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/97masterkey
|
|
|
|
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98integrity
|
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-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
|
|
|
|
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}
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
|
|
|
%posttrans fips
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2014-05-14 14:53:58 +02:00
|
|
|
|
2014-04-27 10:49:25 +02:00
|
|
|
%files fips
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc COPYING
|
|
|
|
%config %{_sysconfdir}/dracut.conf.d/40-fips.conf
|
|
|
|
%{dracutlibdir}/modules.d/01fips
|
|
|
|
%{dracutlibdir}/modules.d/02fips-aesni
|
|
|
|
|
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)
|
|
|
|
%doc README HACKING TODO COPYING AUTHORS NEWS dracut.html dracut.png dracut.svg
|
|
|
|
%{_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
|
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
|
2015-11-26 12:35:04 +01:00
|
|
|
%{dracutlibdir}/modules.d/00systemd-bootchart
|
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
|
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
|