dracut/dracut.spec

931 lines
29 KiB
RPMSpec
Raw Normal View History

2010-01-13 18:55:02 +00:00
# Variables must be defined
2010-03-19 16:49:22 +00:00
%define with_nbd 1
2009-10-26 14:51:57 +00:00
2010-10-29 13:44:08 +00:00
# nbd in Fedora only
%if 0%{?rhel} >= 6
%define with_nbd 0
%endif
2009-07-01 20:24:30 +00:00
Name: dracut
2011-08-12 14:24:08 +00:00
Version: 013
2011-10-19 13:30:00 +00:00
Release: 85.git20111019%{?dist}
2010-10-29 13:44:08 +00:00
2009-07-01 20:24:30 +00:00
Summary: Initramfs generator using udev
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2011-05-20 13:26:54 +00:00
Group: System Environment/Base
2010-10-29 13:44:08 +00:00
%endif
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
2010-10-29 13:44:08 +00:00
Group: System/Base
%endif
2011-05-20 13:26:54 +00:00
License: GPLv2+
2011-03-17 13:45:53 +00:00
URL: https://dracut.wiki.kernel.org/
2011-05-20 13:26:54 +00:00
# Source can be generated by
2011-07-18 16:02:29 +00:00
# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%{version};sf=tgz
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.bz2
Patch1: 0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch
2011-08-17 07:04:38 +00:00
Patch2: 0003-fix-live-crash-with-livenet-installed.patch
2011-10-19 13:30:00 +00:00
Patch3: 0004-profile.py-parse-the-output-of-dracut-profile-for-pr.patch
Patch4: 0005-add-TEST-16-DMSQUASH.patch
Patch5: 0006-dracut-functions-s-emergency-shutdown-shutdown-emerg.patch
Patch6: 0007-dracut-unset-LD_LIBRARY_PATH.patch
Patch7: 0008-build-initramfs-prelink-undo-sbin.patch
Patch8: 0009-dracut-functions-speed-up-inst_dir.patch
Patch9: 0010-90crypt-ask_for_password-pings-plymouthd.patch
Patch10: 0011-99base-whitespace-fix.patch
Patch11: 0012-dracut-functions-new-function-inst_any-d-dest-f1-f2-.patch
Patch12: 0013-livenet-take-into-account-other-ca-bundle-paths-use-.patch
Patch13: 0014-luks-key-on-ext-dev-wait-for-luks.patch
Patch14: 0015-crypt-changed-cmdline-arg-name-from-rd.luks.tout-to-.patch
Patch15: 0016-luks-key-on-ext-dev-wait-for-luks.patch
Patch16: 0017-dracut-functions-fix-inst_dir-for-non-absolute-dirs.patch
Patch17: 0018-90mdraid-65-md-incremental-imsm.rules-incremental-ru.patch
Patch18: 0019-dracut.spec-fixed-rhel-fedora-version-checks.patch
Patch19: 0020-50plymouth-add-plymouth.enable-kernel-command-line-o.patch
Patch20: 0021-99base-init-only-poll-cdroms-if-the-kernel-does-supp.patch
Patch21: 0022-build-initramfs-unclear-_mpargs-in-instmods.patch
Patch22: 0023-90crypt-parse-crypt.sh-also-accept-the-beginning-of-.patch
Patch23: 0024-99base-init-save-and-restore-environment-given-from-.patch
Patch24: 0025-99base-init-move-switch_root-breakpoint-to-a-later-p.patch
Patch25: 0026-dracut-functions-hmac-checksum-files-can-be-symlinks.patch
Patch26: 0027-95udev-rules-add-input_id.patch
Patch27: 0028-inst_simple-inst_dir-make-fast-case-faster.patch
Patch28: 0029-filter_kernel_modules-is-a-specialized-filter_kernel.patch
Patch29: 0030-install_kmod_with_fw-make-fast-case-faster.patch
Patch30: 0031-instmods-get-filenames-from-stdin-if-no-args-use-it.patch
Patch31: 0032-instmods-sanity-for-_mpargs.patch
Patch32: 0033-instmods-factor-out-egrep-of-FATAL-Module-.-not-foun.patch
Patch33: 0034-99base-init-do-not-fail-when-importing-the-original-.patch
Patch34: 0035-dracut-cp-with-sparse.patch
Patch35: 0036-99base-init-removed-cdrom-polling-reset-code.patch
Patch36: 0037-dmsquash-live-root-use-blkid-to-determine-fstype-of-.patch
Patch37: 0038-dmsquash-live-root-load-filesystem-modules-before-mo.patch
Patch38: 0039-90dmsquash-live-do-not-symlink-to-dev-live.patch
Patch39: 0040-99base-init-remove-dev-root-helper-symlink.patch
Patch40: 0041-Do-not-use-run-udev-rules.d-for-udev-rules.patch
Patch41: 0042-99base-init-mount-securityfs-with-source-securityfs-.patch
Patch42: 0043-mount-securityfs-in-a-seperate-dracut-module.patch
Patch43: 0044-mount-securityfs-in-a-seperate-dracut-module.patch
Patch44: 0045-90mdraid-adjust-stock-mdadm-udev-rules.patch
Patch45: 0046-90mdraid-containers-are-not-runnable.patch
Patch46: 0047-90mdraid-fix-adjust-mdraid-cleanup.patch
Patch47: 0048-90mdraid-fix-adjust-force-run-script.patch
Patch48: 0049-90-md-dm-raid-recognize-ddf-container.patch
Patch49: 0050-90mdraid-fix-adjust-65-md-rules-and-related-scripts.patch
Patch50: 0051-TEST-40-NBD-relaxed-check-on-ext3-filesystem-options.patch
Patch51: 0052-99fs-lib-fs-lib.sh-fsck-btrfs-via-mounting-like-xfs.patch
Patch52: 0053-dracut-functions-inst_rules-do-not-check-std-dirs-fo.patch
Patch53: 0054-str_replace-fix.patch
Patch54: 0055-dracut-logger-bail-out-early-if-we-don-t-have-to-log.patch
Patch55: 0056-dracut-create-dev-besides-proc-sys-and-so.patch
Patch56: 0057-99fs-lib-export-FSTAB_FILE-before-fsck-call.patch
Patch57: 0058-dracut-functions-inst_rules-add-missing.patch
Patch58: 0059-90mdraid-check-precisely-for-supported-contaiers.patch
Patch59: 0060-90mdraid-more-thorough-64-md-raid.rules-edit.patch
Patch60: 0061-90mdraid-adjust-dev-md-loops.patch
Patch61: 0062-dracut-PATCH-Parameter-expansion-occurs-before-comma.patch
Patch62: 0063-dracut-PATCH-es-parallelize-block_module-filter-and-.patch
Patch63: 0064-order-mdadm-and-lvm-timeout-operations.patch
Patch64: 0065-90mdraid-mdraid_start.sh-fix-path-to-md-sysfs.patch
Patch65: 0066-90mdraid-module-setup.sh-fixed-sed-arguments.patch
Patch66: 0067-95udev-rules-module-setup.sh-also-search-in-lib-udev.patch
Patch67: 0068-update-the-documentation-of-no-prefix.patch
Patch68: 0069-dracut-check-mktemp-return-value.patch
Patch69: 0070-convert_abs_rel-fixups.patch
Patch70: 0071-dracut.8-add-missing-lvmconf-info.patch
Patch71: 0072-fs-lib-add-ability-to-choose-fsck-tools.patch
Patch72: 0073-manuals-add-info-about-fs-lib-fsck-configuration.patch
Patch73: 0074-dracut-functions-conv-normalize-minor-corrections.patch
Patch74: 0075-dracut.-.xml-s-exisiting-existing-g.patch
Patch75: 0076-95udev-rules-module-setup.s-fixed-symlink-for-udevd-.patch
Patch76: 0077-dracut.conf.5.xml-tag-mismatch-fix.patch
Patch77: 0078-bash3-compat-patch.patch
Patch78: 0079-explicitly-verify-bash-version.patch
Patch79: 0080-dracut-remove-duplicate-options.patch
Patch80: 0081-dracut-lib.sh-fix-dropped-backslashes-in-CMDLINE.patch
Patch81: 0082-dmsquash-live-fix-log-message-about-root-liveroot.patch
Patch82: 0083-check-root-candidates-more-carefully.patch
Patch83: 0084-netroot-do-not-die-if-arping-failed.patch
2010-10-29 13:44:08 +00:00
BuildArch: noarch
2011-05-20 13:33:23 +00:00
BuildRequires: dash bash
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2009-07-01 20:24:30 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-10-29 13:44:08 +00:00
%endif
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
2010-10-29 13:44:08 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2010-10-29 13:44:08 +00:00
BuildRequires: docbook-style-xsl docbook-dtds libxslt
%endif
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
BuildRequires: docbook-xsl-stylesheets libxslt
%endif
%if 0%{?fedora} > 12 || 0%{?rhel} >= 6
# no "provides", because dracut does not offer
# all functionality of the obsoleted packages
Obsoletes: mkinitrd <= 6.0.93
Obsoletes: mkinitrd-devel <= 6.0.93
Obsoletes: nash <= 6.0.93
Obsoletes: libbdevid-python <= 6.0.93
%endif
2010-10-29 13:44:08 +00:00
%if 0%{?suse_version} > 9999
Obsoletes: mkinitrd < 2.6.1
Provides: mkinitrd = 2.6.1
%endif
2010-03-19 16:49:22 +00:00
Obsoletes: dracut-kernel < 005
Provides: dracut-kernel = %{version}-%{release}
2010-06-17 09:07:35 +00:00
Requires: bash
Requires: bzip2
2009-07-01 20:24:30 +00:00
Requires: coreutils
2010-06-17 09:07:35 +00:00
Requires: cpio
Requires: dash
Requires: filesystem >= 2.1.0
2009-07-01 20:24:30 +00:00
Requires: findutils
Requires: grep
2010-06-17 09:07:35 +00:00
Requires: gzip
Requires: kbd
Requires: mktemp >= 1.5-5
2010-06-17 09:07:35 +00:00
Requires: module-init-tools >= 3.7-9
Requires: sed
Requires: tar
Requires: udev
2010-10-29 13:44:08 +00:00
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2011-02-02 17:23:20 +00:00
Requires: util-linux >= 2.16
2010-10-29 13:44:08 +00:00
Requires: initscripts >= 8.63-1
Requires: plymouth >= 0.8.0-0.2009.29.09.19.1
%endif
2009-07-01 20:24:30 +00:00
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
2010-10-29 13:44:08 +00:00
Requires: util-linux >= 2.16
2009-07-01 20:24:30 +00:00
%endif
2010-10-29 13:44:08 +00:00
2009-07-01 20:24:30 +00:00
%description
2011-05-20 13:26:54 +00:00
Dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
Unlike existing implementations, dracut does hard-code as little as possible
into the initramfs. Dracut contains various modules which are driven by the
event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as
2010-03-19 16:49:22 +00:00
NFS, iSCSI, NBD, FCoE with the dracut-network package.
2009-07-01 20:24:30 +00:00
%package network
Summary: Dracut modules to build a dracut initramfs with network support
2009-07-01 20:24:30 +00:00
Requires: %{name} = %{version}-%{release}
2011-05-20 13:26:54 +00:00
Requires: rpcbind
2010-01-13 18:55:02 +00:00
%if %{with_nbd}
2009-07-01 20:24:30 +00:00
Requires: nbd
2010-01-13 18:55:02 +00:00
%endif
Requires: iproute
Requires: bridge-utils
2010-10-29 13:44:08 +00:00
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2010-10-29 13:44:08 +00:00
Requires: iscsi-initiator-utils
2011-05-20 13:26:54 +00:00
Requires: nfs-utils
2010-10-29 13:44:08 +00:00
Requires: dhclient
%endif
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
2010-10-29 13:44:08 +00:00
Requires: dhcp-client
Requires: nfs-client
Requires: vlan
%endif
Obsoletes: dracut-generic < 008
Provides: dracut-generic = %{version}-%{release}
%description network
This package requires everything which is needed to build a generic
all purpose initramfs with network support with dracut.
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
%package fips
2010-03-19 16:49:22 +00:00
Summary: Dracut modules to build a dracut initramfs with an integrity check
Requires: %{name} = %{version}-%{release}
Requires: hmaccalc
2009-11-27 14:53:43 +00:00
%if 0%{?rhel} > 5
# For Alpha 3, we want nss instead of nss-softokn
Requires: nss
%else
Requires: nss-softokn
2009-11-27 14:53:43 +00:00
%endif
Requires: nss-softokn-freebl
%description fips
This package requires everything which is needed to build an
all purpose initramfs with dracut, which does an integrity check.
2010-10-29 13:44:08 +00:00
%endif
2009-07-25 09:11:39 +00:00
2011-03-17 13:45:53 +00:00
%package caps
Summary: Dracut modules to build a dracut initramfs which drops capabilities
Requires: %{name} = %{version}-%{release}
Requires: libcap
%description caps
This package requires everything which is needed to build an
all purpose initramfs with dracut, which drops capabilities.
2009-07-25 09:11:39 +00:00
%package tools
Summary: Dracut tools to build the local initramfs
Requires: %{name} = %{version}-%{release}
2009-07-25 09:11:39 +00:00
%description tools
This package contains tools to assemble the local initrd and host configuration.
2009-07-01 20:24:30 +00:00
%prep
2011-07-18 16:02:29 +00:00
%setup -q -n %{name}-%{version}
%patch1 -p1
2011-08-17 07:04:38 +00:00
%patch2 -p1
2011-10-19 13:30:00 +00:00
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%patch40 -p1
%patch41 -p1
%patch42 -p1
%patch43 -p1
%patch44 -p1
%patch45 -p1
%patch46 -p1
%patch47 -p1
%patch48 -p1
%patch49 -p1
%patch50 -p1
%patch51 -p1
%patch52 -p1
%patch53 -p1
%patch54 -p1
%patch55 -p1
%patch56 -p1
%patch57 -p1
%patch58 -p1
%patch59 -p1
%patch60 -p1
%patch61 -p1
%patch62 -p1
%patch63 -p1
%patch64 -p1
%patch65 -p1
%patch66 -p1
%patch67 -p1
%patch68 -p1
%patch69 -p1
%patch70 -p1
%patch71 -p1
%patch72 -p1
%patch73 -p1
%patch74 -p1
%patch75 -p1
%patch76 -p1
%patch77 -p1
%patch78 -p1
%patch79 -p1
%patch80 -p1
%patch81 -p1
%patch82 -p1
%patch83 -p1
2009-07-01 20:24:30 +00:00
%build
2011-05-20 13:26:54 +00:00
make
2009-07-01 20:24:30 +00:00
%install
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2009-07-01 20:24:30 +00:00
rm -rf $RPM_BUILD_ROOT
2010-10-29 13:44:08 +00:00
%endif
make install DESTDIR=$RPM_BUILD_ROOT sbindir=/sbin \
2011-05-20 13:26:54 +00:00
sysconfdir=/etc mandir=%{_mandir}
2009-07-01 20:24:30 +00:00
echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/%{_datadir}/dracut/modules.d/10rpmversion/dracut-version
2010-10-29 13:44:08 +00:00
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} == 0 && 0%{?rhel} == 0
2010-10-29 13:44:08 +00:00
rm -fr $RPM_BUILD_ROOT/%{_datadir}/dracut/modules.d/01fips
%endif
# remove gentoo specific modules
rm -fr $RPM_BUILD_ROOT/%{_datadir}/dracut/modules.d/50gensplash
2009-07-01 20:24:30 +00:00
2009-07-25 09:11:39 +00:00
mkdir -p $RPM_BUILD_ROOT/boot/dracut
mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
2011-03-17 13:45:53 +00:00
mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs
2009-07-25 09:11:39 +00:00
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
2010-10-29 13:44:08 +00:00
install -m 0644 dracut.conf.d/fedora.conf.example $RPM_BUILD_ROOT/etc/dracut.conf.d/01-dist.conf
2011-03-17 13:45:53 +00:00
install -m 0644 dracut.conf.d/fips.conf.example $RPM_BUILD_ROOT/etc/dracut.conf.d/40-fips.conf
2010-10-29 13:44:08 +00:00
%endif
2010-10-29 14:52:23 +00:00
%if 0%{?suse_version}
2010-10-29 13:44:08 +00:00
install -m 0644 dracut.conf.d/suse.conf.example $RPM_BUILD_ROOT/etc/dracut.conf.d/01-dist.conf
%endif
%if 0%{?fedora} <= 12 && 0%{?rhel} < 6 && 0%{?suse_version} <= 9999
rm $RPM_BUILD_ROOT/sbin/mkinitrd
rm $RPM_BUILD_ROOT/sbin/lsinitrd
%endif
2011-07-18 16:02:29 +00:00
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
install -m 0644 dracut.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/dracut_log
2011-03-17 13:45:53 +00:00
2009-07-01 20:24:30 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
2011-02-02 17:23:20 +00:00
%doc README HACKING TODO COPYING AUTHORS NEWS dracut.html dracut.png dracut.svg
2009-07-01 20:24:30 +00:00
/sbin/dracut
2010-10-29 13:44:08 +00:00
%if 0%{?fedora} > 12 || 0%{?rhel} >= 6 || 0%{?suse_version} > 9999
/sbin/mkinitrd
/sbin/lsinitrd
%endif
2009-07-01 20:24:30 +00:00
%dir %{_datadir}/dracut
2010-10-29 13:44:08 +00:00
%dir %{_datadir}/dracut/modules.d
2009-07-01 20:24:30 +00:00
%{_datadir}/dracut/dracut-functions
2011-03-17 13:45:53 +00:00
%{_datadir}/dracut/dracut-logger
2009-07-01 20:24:30 +00:00
%config(noreplace) /etc/dracut.conf
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} > 6
%config /etc/dracut.conf.d/01-dist.conf
2010-10-29 13:44:08 +00:00
%endif
2010-03-19 16:49:22 +00:00
%dir /etc/dracut.conf.d
2009-07-01 20:24:30 +00:00
%{_mandir}/man8/dracut.8*
%{_mandir}/man7/dracut.kernel.7*
2009-11-27 14:53:43 +00:00
%{_mandir}/man5/dracut.conf.5*
%{_datadir}/dracut/modules.d/00bootchart
%{_datadir}/dracut/modules.d/00dash
%{_datadir}/dracut/modules.d/05busybox
%{_datadir}/dracut/modules.d/10i18n
%{_datadir}/dracut/modules.d/10rpmversion
%{_datadir}/dracut/modules.d/50plymouth
%{_datadir}/dracut/modules.d/60xen
%{_datadir}/dracut/modules.d/90btrfs
%{_datadir}/dracut/modules.d/90crypt
2009-10-26 14:51:57 +00:00
%{_datadir}/dracut/modules.d/90dm
%{_datadir}/dracut/modules.d/90dmraid
%{_datadir}/dracut/modules.d/90dmsquash-live
%{_datadir}/dracut/modules.d/90kernel-modules
%{_datadir}/dracut/modules.d/90lvm
%{_datadir}/dracut/modules.d/90mdraid
%{_datadir}/dracut/modules.d/90multipath
2011-05-20 13:26:54 +00:00
%{_datadir}/dracut/modules.d/91crypt-gpg
%{_datadir}/dracut/modules.d/95debug
%{_datadir}/dracut/modules.d/95resume
%{_datadir}/dracut/modules.d/95rootfs-block
%{_datadir}/dracut/modules.d/95dasd
%{_datadir}/dracut/modules.d/95dasd_mod
2010-10-29 13:44:08 +00:00
%{_datadir}/dracut/modules.d/95fstab-sys
%{_datadir}/dracut/modules.d/95zfcp
%{_datadir}/dracut/modules.d/95terminfo
%{_datadir}/dracut/modules.d/95udev-rules
2011-10-19 13:30:00 +00:00
%{_datadir}/dracut/modules.d/96securityfs
2011-02-02 17:23:20 +00:00
%{_datadir}/dracut/modules.d/97biosdevname
2011-08-12 14:24:08 +00:00
%{_datadir}/dracut/modules.d/97masterkey
%{_datadir}/dracut/modules.d/98ecryptfs
%{_datadir}/dracut/modules.d/98integrity
2010-06-17 09:07:35 +00:00
%{_datadir}/dracut/modules.d/98selinux
%{_datadir}/dracut/modules.d/98syslog
%{_datadir}/dracut/modules.d/99base
2011-08-12 14:24:08 +00:00
%{_datadir}/dracut/modules.d/99fs-lib
2011-07-18 16:02:29 +00:00
%{_datadir}/dracut/modules.d/99shutdown
%config(noreplace) /etc/logrotate.d/dracut_log
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
2011-03-17 13:45:53 +00:00
%dir %{_sharedstatedir}/initramfs
%files network
2009-07-01 20:24:30 +00:00
%defattr(-,root,root,0755)
%{_datadir}/dracut/modules.d/40network
%{_datadir}/dracut/modules.d/95fcoe
%{_datadir}/dracut/modules.d/95iscsi
2011-08-12 14:24:08 +00:00
%{_datadir}/dracut/modules.d/90livenet
%{_datadir}/dracut/modules.d/95nbd
%{_datadir}/dracut/modules.d/95nfs
%{_datadir}/dracut/modules.d/45ifcfg
2010-06-17 09:07:35 +00:00
%{_datadir}/dracut/modules.d/95znet
2009-07-01 20:24:30 +00:00
2011-10-19 13:30:00 +00:00
%if 0%{?fedora} || 0%{?rhel} > 6
%files fips
%defattr(-,root,root,0755)
%{_datadir}/dracut/modules.d/01fips
2011-03-17 13:45:53 +00:00
%config(noreplace) /etc/dracut.conf.d/40-fips.conf
2010-10-29 13:44:08 +00:00
%endif
2011-03-17 13:45:53 +00:00
%files caps
%defattr(-,root,root,0755)
%{_datadir}/dracut/modules.d/02caps
2011-05-20 13:26:54 +00:00
%files tools
2009-07-25 09:11:39 +00:00
%defattr(-,root,root,0755)
%{_mandir}/man8/dracut-gencmdline.8*
%{_mandir}/man8/dracut-catimages.8*
2009-07-25 09:11:39 +00:00
/sbin/dracut-gencmdline
/sbin/dracut-catimages
%dir /boot/dracut
%dir /var/lib/dracut
%dir /var/lib/dracut/overlay
2009-07-01 20:24:30 +00:00
%changelog
2011-10-19 13:30:00 +00:00
* Wed Oct 19 2011 Harald Hoyer <harald@redhat.com> 013-85.git20111019
- update to latest git
* Tue Oct 04 2011 Harald Hoyer <harald@redhat.com> 013-15
- fixed mdraid container handling
Resolves: rhbz#743240
* Thu Sep 22 2011 Harald Hoyer <harald@redhat.com> 013-13
- fixed mdraid issues
- fixed btrfsck
Resolves: rhbz#735602
* Wed Sep 21 2011 Harald Hoyer <harald@redhat.com> 013-12
- removed patch backup files
- reintroduced /dev/live
* Tue Sep 20 2011 Harald Hoyer <harald@redhat.com> 013-11
- move mounting of securitfs to a seperate module
Resolves: rhbz#737140
* Tue Sep 20 2011 Harald Hoyer <harald@redhat.com> 013-10
- mount securitfs with the correct source
Resolves: rhbz#737140
* Tue Sep 20 2011 Harald Hoyer <harald@redhat.com> 013-9
- do not carry over initramfs udev rules
Resolves: rhbz#734096
* Fri Sep 02 2011 Harald Hoyer <harald@redhat.com> 013-8
- hopefully fixed one part of a loop/udev and loop/mount race
Resolves: rhbz#735199
* Wed Aug 31 2011 Harald Hoyer <harald@redhat.com> 013-7
- add /lib/udev/input_id to the initramfs
- fix hmac install
* Tue Aug 30 2011 Harald Hoyer <harald@redhat.com> 013-6
- fixed environment passing to real init
Resolves: rhbz#733674
- fixed lvm on md
* Mon Aug 29 2011 Harald Hoyer <harald@redhat.com> 013-5
- fixed rhel/fedora version checks
2011-08-17 07:04:38 +00:00
* Wed Aug 17 2011 Harald Hoyer <harald@redhat.com> 013-4
- fixed crash with livenet installed
* Wed Aug 17 2011 Harald Hoyer <harald@redhat.com> 013-3
- fixed live iso mounting
Resolves: rhbz#730579
2011-08-12 14:24:08 +00:00
* Fri Aug 12 2011 Harald Hoyer <harald@redhat.com> 013-1
- fixed symlink creation for lorax
* Wed Aug 10 2011 Harald Hoyer <harald@redhat.com> 011-41.git20110810
- fixed getargs() for empty args
* Wed Aug 10 2011 Harald Hoyer <harald@redhat.com> 011-40.git20110810
- fixed symbolic link creation in the initramfs
Resolves: rhbz#728863
* Wed Jul 20 2011 Harald Hoyer <harald@redhat.com> 011-15.git20110720
- "eject" is optional now
- refined shutdown procedure
2011-07-18 16:02:29 +00:00
* Mon Jul 18 2011 Harald Hoyer <harald@redhat.com> 011-1
- version 011
2011-05-20 13:26:54 +00:00
* Fri May 20 2011 Harald Hoyer <harald@redhat.com> 011-0.1%{?rdist}
- git snapshot of pre-version 011
2011-04-01 14:14:33 +00:00
* Fri Apr 01 2011 Harald Hoyer <harald@redhat.com> 010-1
- version 010
2011-03-31 15:41:17 +00:00
* Thu Mar 31 2011 Harald Hoyer <harald@redhat.com> 009-5
- fixed PATH and kmsg logging
* Thu Mar 31 2011 Harald Hoyer <harald@redhat.com> 009-4
- fixed dmsquash rule generation
- fixed fips boot arg parsing
- fixed plymouth pid generation
* Wed Mar 30 2011 Harald Hoyer <harald@redhat.com> 009-3
- fixed dhcp
- added /lib/firmware/updates to firmware directories
- fixed LiveCD /dev/.initramfs fallback
- fixed cdrom polling
- dropped net-tools dependency
* Tue Mar 29 2011 Harald Hoyer <harald@redhat.com> 009-2
- fixed empty output file argument handling:
"dracut '' <kernel version>"
2011-03-28 19:37:46 +00:00
* Mon Mar 28 2011 Harald Hoyer <harald@redhat.com> 009-1
- version 009
2011-03-17 13:45:53 +00:00
* Thu Mar 17 2011 Harald Hoyer <harald@redhat.com> 009-0.1
- version 009 prerelease
2011-02-22 17:42:29 +00:00
* Tue Feb 22 2011 Harald Hoyer <harald@redhat.com> 008-7
- fixed lvm version parsing
2011-02-22 16:52:39 +00:00
* Tue Feb 22 2011 Harald Hoyer <harald@redhat.com> 008-6
- fixed lvm version parsing
* Mon Feb 21 2011 Harald Hoyer <harald@redhat.com> 008-5
- fixed i18n unicode setting
- set cdrom in kernel polling
2011-02-18 09:22:13 +00:00
* Fri Feb 18 2011 Harald Hoyer <harald@redhat.com> 008-4
- readded dist tag
* Fri Feb 18 2011 Harald Hoyer <harald@redhat.com> 008-3
- fixed i18n
- turned off selinux by default
* Wed Feb 09 2011 Harald Hoyer <harald@redhat.com> 008-2
- do not write dracut.log to /tmp under any circumstances
- touch /dev/.systemd/plymouth after plymouth started
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 008-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-02 17:23:20 +00:00
* Wed Feb 02 2011 Harald Hoyer <harald@redhat.com> 008-1
- version 008-1
2011-01-17 10:42:22 +00:00
* Mon Jan 17 2011 Harald Hoyer <harald@redhat.com> 008-0.11
- removed "mount" requirement
* Thu Nov 18 2010 Harald Hoyer <harald@redhat.com> - 008-0.10
- dracut-008 pre git snapshot
- fixes /dev/dri permissions
Resolves: rhbz#626559
* Fri Nov 12 2010 Harald Hoyer <harald@redhat.com> 008-0.9
- dracut-008 pre git snapshot
- fixes /dev/.udev permissions
Resolves: rhbz#651594
2010-11-03 17:53:18 +00:00
* Wed Nov 3 2010 Harald Hoyer <harald@redhat.com> - 008-0.8
- fixed fsck -a option
* Fri Oct 29 2010 Harald Hoyer <harald@redhat.com> 008-0.7
2010-10-29 17:05:14 +00:00
- added fsck to initramfs
2010-11-03 17:53:18 +00:00
* Fri Oct 29 2010 Harald Hoyer <harald@redhat.com> 008-0.6
2010-10-29 14:52:23 +00:00
- fixed rpm macros
2010-10-29 13:44:08 +00:00
* Fri Oct 29 2010 Harald Hoyer <harald@redhat.com> 008-0.5
- dracut-008 pre git snapshot
* Mon Aug 09 2010 Harald Hoyer <harald@redhat.com> 007-1
- version 007
2010-06-17 09:07:35 +00:00
* Thu Jun 17 2010 Harald Hoyer <harald@redhat.com> 006-1
- version 006
* Fri Jun 11 2010 Harald Hoyer <harald@redhat.com>
- Remove requirements, which are not really needed
Resolves: rhbz#598509
- fixed copy of network config to /dev/.initramfs/ (patch 146)
Resolves: rhbz#594649
- more password beauty (patch 142)
Resolves: rhbz#561092
- support multiple iSCSI disks (patch 143)
Resolves: rbhz#580190
- fixed selinux=0 (patch 130)
Resolves: rhbz#593080
- add support for booting LVM snapshot root volume (patch 145)
Resolves: rbhz#602723
- remove hardware field from BOOTIF= (patch 148)
Resolves: rhbz#599593
- add aes kernel modules and fix crypt handling (patch 137, patch 140 and patch 147)
Resolves: rhbz#600170
* Thu May 27 2010 Harald Hoyer <harald@redhat.com>
- fixed Requirements
- fixed autoip6
Resolves: rhbz#538388
- fixed multipath
Resolves: rhbz#595719
* Thu May 06 2010 Harald Hoyer <harald@redhat.com>
- only display short password messages
Resolves: rhbz#561092
* Thu May 06 2010 Harald Hoyer <harald@redhat.com>
- fixed dracut manpages
Resolves: rhbz#589109
- use ccw-init and ccw rules from s390utils
Resolves: rhbz#533494
- fixed fcoe
Resolves: rhbz#486244
- various other bugfixes seen in Fedora
* Tue Apr 20 2010 Harald Hoyer <harald@redhat.com>
- fixed network with multiple nics
- fixed nfsidmap paths
- do not run blkid on non active container raids
- fixed cdrom polling mechanism
- update to latest git
* Thu Apr 15 2010 Harald Hoyer <harald@redhat.com>
- fixed dracut manpages
- dmraid parse different error messages
- add cdrom polling mechanism for slow cdroms
- add module btrfs
- teach dmsquash live-root to use rootflags
- trigger udev with action=add
- fixed add_drivers handling
- add sr_mod
- use pigz instead of gzip, if available
2010-06-17 09:07:35 +00:00
* Thu Mar 25 2010 Harald Hoyer <harald@redhat.com>
- removed firmware requirements (rhbz#572634)
- add /etc/dracut.conf.d
- Resolves: rhbz#572634
* Fri Mar 19 2010 Harald Hoyer <harald@redhat.com>
2010-03-19 16:49:22 +00:00
- version 005
2010-06-17 09:07:35 +00:00
* Fri Mar 19 2010 Harald Hoyer <harald@redhat.com>
- fixed rpmlint errors (rhbz#570547)
- removed firmware package from dracut-kernel (rhbz#572634)
- add dcb support to dracut's FCoE support (rhbz#563794)
- force install some modules in hostonly mode (rhbz#573094)
- various other bugfixes
- Resolves: rhbz#570547, rhbz#572634, rhbz#563794, rhbz#573094
* Thu Feb 18 2010 Harald Hoyer <harald@redhat.com> 004-15
- fixed "selinux=0" booting (rhbz#566376)
- fixed internal IFS handling
- Resolves: rhbz#566376
* Fri Jan 29 2010 Harald Hoyer <harald@redhat.com> 004-5
- fixed firmware.sh bug (#559975 #559597)
* Tue Jan 26 2010 Harald Hoyer <harald@redhat.com> 004-4
- add multipath check
* Tue Jan 26 2010 Harald Hoyer <harald@redhat.com> 004-3
- fix selinux handling if .autorelabel is present
- Resolves: rhbz#557744
* Wed Jan 20 2010 Harald Hoyer <harald@redhat.com> 004-2
- fix emergency_shell argument parsing
- Related: rhbz#543948
* Fri Jan 15 2010 Harald Hoyer <harald@redhat.com> 004-1
- version 004
- Resolves: rhbz#529339 rhbz#533494 rhbz#548550
- Resolves: rhbz#548555 rhbz#553195
* Wed Jan 13 2010 Harald Hoyer <harald@redhat.com> 003-3
- add Obsoletes of mkinitrd/nash/libbdevid-python
- Related: rhbz#543948
2010-01-13 19:22:31 +00:00
* Wed Jan 13 2010 Warren Togami <wtogami@redhat.com> 003-2
2010-01-13 18:58:05 +00:00
- nbd is Fedora only
2009-11-27 14:53:43 +00:00
* Fri Nov 27 2009 Harald Hoyer <harald@redhat.com> 003-1
- version 003
* Mon Nov 23 2009 Harald Hoyer <harald@redhat.com> 002-26
- add WITH_SWITCH_ROOT make flag
- add fips requirement conditional
- add more device mapper modules (bug #539656)
* Fri Nov 20 2009 Dennis Gregorovic <dgregor@redhat.com> - 002-25.1
- nss changes for Alpha 3
* Thu Nov 19 2009 Harald Hoyer <harald@redhat.com> 002-25
- add more requirements for dracut-fips (bug #539257)
* Tue Nov 17 2009 Harald Hoyer <harald@redhat.com> 002-24
- put fips module in a subpackage (bug #537619)
* Tue Nov 17 2009 Harald Hoyer <harald@redhat.com> 002-23
- install xdr utils for multipath (bug #463458)
* Thu Nov 12 2009 Harald Hoyer <harald@redhat.com> 002-22
- add module 90multipath
- add module 01fips
- renamed module 95ccw to 95znet (bug #533833)
- crypt: ignore devices in /etc/crypttab (root is not in there)
- dasd: only install /etc/dasd.conf in hostonly mode (bug #533833)
- zfcp: only install /etc/zfcp.conf in hostonly mode (bug #533833)
- kernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc (bug #527750)
- dasd: use dasdconf.sh from s390utils (bug #533833)
* Fri Nov 06 2009 Harald Hoyer <harald@redhat.com> 002-21
- fix rd_DASD argument handling (bug #531720)
- Resolves: rhbz#531720
* Wed Nov 04 2009 Harald Hoyer <harald@redhat.com> 002-20
- fix rd_DASD argument handling (bug #531720)
- Resolves: rhbz#531720
* Tue Nov 03 2009 Harald Hoyer <harald@redhat.com> 002-19
- changed rd_DASD to rd_DASD_MOD (bug #531720)
- Resolves: rhbz#531720
* Tue Oct 27 2009 Harald Hoyer <harald@redhat.com> 002-18
- renamed lvm/device-mapper udev rules according to upstream changes
- fixed dracut search path issue
2009-10-26 14:51:57 +00:00
* Mon Oct 26 2009 Harald Hoyer <harald@redhat.com> 002-17
- load dm_mod module (bug #530540)
* Fri Oct 09 2009 Jesse Keating <jkeating@redhat.com> - 002-16
- Upgrade plymouth to Requires(pre) to make it show up before kernel
2009-10-08 16:22:48 +00:00
* Thu Oct 08 2009 Harald Hoyer <harald@redhat.com> 002-15
- s390 ccw: s/layer1/layer2/g
* Thu Oct 08 2009 Harald Hoyer <harald@redhat.com> 002-14
- add multinic support
- add s390 zfcp support
- add s390 network support
* Wed Oct 07 2009 Harald Hoyer <harald@redhat.com> 002-13
- fixed init=<command> handling
- kill loginit if "rdinitdebug" specified
- run dmsquash-live-root after udev has settled (bug #527514)
* Tue Oct 06 2009 Harald Hoyer <harald@redhat.com> 002-12
- add missing loginit helper
- corrected dracut manpage
* Thu Oct 01 2009 Harald Hoyer <harald@redhat.com> 002-11
- fixed dracut-gencmdline for root=UUID or LABEL
* Thu Oct 01 2009 Harald Hoyer <harald@redhat.com> 002-10
- do not destroy assembled raid arrays if mdadm.conf present
- mount /dev/shm
- let udevd not resolve group and user names
- preserve timestamps of tools on initramfs generation
- generate symlinks for binaries correctly
- moved network from udev to initqueue
- mount nfs3 with nfsvers=3 option and retry with nfsvers=2
- fixed nbd initqueue-finished
- improved debug output: specifying "rdinitdebug" now logs
to dmesg, console and /init.log
- stop udev before killing it
- add ghost /var/log/dracut.log
- dmsquash: use info() and die() rather than echo
- strip kernel modules which have no x bit set
- redirect stdin, stdout, stderr all RW to /dev/console
so the user can use "less" to view /init.log and dmesg
* Tue Sep 29 2009 Harald Hoyer <harald@redhat.com> 002-9
- make install of new dm/lvm udev rules optionally
- correct dasd module typo
* Fri Sep 25 2009 Warren Togami <wtogami@redhat.com> 002-8
- revert back to dracut-002-5 tarball 845dd502
lvm2 was reverted to pre-udev
* Wed Sep 23 2009 Harald Hoyer <harald@redhat.com> 002-7
2009-09-23 23:55:40 +00:00
- build with the correct tarball
* Wed Sep 23 2009 Harald Hoyer <harald@redhat.com> 002-6
- add new device mapper udev rules and dmeventd
bug 525319, 525015
* Wed Sep 23 2009 Warren Togami <wtogami@redaht.com> 002-5
- Revert back to -3, Add umount back to initrd
This makes no functional difference to LiveCD. See Bug #525319
2009-09-22 17:51:46 +00:00
* Mon Sep 21 2009 Warren Togami <wtogami@redhat.com> 002-4
- Fix LiveCD boot regression
* Mon Sep 21 2009 Harald Hoyer <harald@redhat.com> 002-3
- bail out if selinux policy could not be loaded and
selinux=0 not specified on kernel command line
(bug #524113)
- set finished criteria for dmsquash live images
* Fri Sep 18 2009 Harald Hoyer <harald@redhat.com> 002-2
- do not cleanup dmraids
- copy over lvm.conf
* Thu Sep 17 2009 Harald Hoyer <harald@redhat.com> 002-1
- version 002
- set correct PATH
- workaround for broken mdmon implementation
* Wed Sep 16 2009 Harald Hoyer <harald@redhat.com> 001-12
- removed lvm/mdraid/dmraid lock files
- add missing ifname= files
* Wed Sep 16 2009 Harald Hoyer <harald@redhat.com> 001-11
- generate dracut-version during rpm build time
* Tue Sep 15 2009 Harald Hoyer <harald@redhat.com> 001-10
- add ifname= argument for persistent netdev names
- new /initqueue-finished to check if the main loop can be left
- copy mdadm.conf if --mdadmconf set or mdadmconf in dracut.conf
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-9
2009-09-09 19:19:17 +00:00
- added Requires: plymouth-scripts
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-8
- plymouth: use plymouth-populate-initrd
- add add_drivers for dracut and dracut.conf
- do not mount /proc and /selinux manually in selinux-load-policy
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-7
- add scsi_wait_scan to be sure everything was scanned
* Tue Sep 08 2009 Harald Hoyer <harald@redhat.com> 001-6
- fixed several problems with md raid containers
- fixed selinux policy loading
* Tue Sep 08 2009 Harald Hoyer <harald@redhat.com> 001-5
- patch does not honor file modes, fixed them manually
2009-09-07 17:22:36 +00:00
* Mon Sep 07 2009 Harald Hoyer <harald@redhat.com> 001-4
- fixed mdraid for IMSM
* Mon Sep 07 2009 Harald Hoyer <harald@redhat.com> 001-3
- fixed bug, which prevents installing 61-persistent-storage.rules (bug #520109)
* Thu Sep 03 2009 Harald Hoyer <harald@redhat.com> 001-2
- fixed missing grep for md
- reorder cleanup
* Wed Sep 02 2009 Harald Hoyer <harald@redhat.com> 001-1
- version 001
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
* Fri Aug 14 2009 Harald Hoyer <harald@redhat.com> 0.9-1
- version 0.9
* Thu Aug 06 2009 Harald Hoyer <harald@redhat.com> 0.8-1
- version 0.8
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-26 07:56:10 +00:00
2009-07-25 09:11:39 +00:00
* Fri Jul 24 2009 Harald Hoyer <harald@redhat.com> 0.7-1
- version 0.7
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-25 09:11:39 +00:00
* Wed Jul 22 2009 Harald Hoyer <harald@redhat.com> 0.6-1
- version 0.6
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-17 14:02:20 +00:00
* Fri Jul 17 2009 Harald Hoyer <harald@redhat.com> 0.5-1
- version 0.5
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-17 14:02:20 +00:00
2009-07-04 08:08:11 +00:00
* Sat Jul 04 2009 Harald Hoyer <harald@redhat.com> 0.4-1
- version 0.4
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-04 08:08:11 +00:00
2009-07-02 10:02:54 +00:00
* Thu Jul 02 2009 Harald Hoyer <harald@redhat.com> 0.3-1
- version 0.3
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
2009-07-02 10:02:54 +00:00
2009-07-01 20:24:30 +00:00
* Wed Jul 01 2009 Harald Hoyer <harald@redhat.com> 0.2-1
- version 0.2
* Fri Jun 19 2009 Harald Hoyer <harald@redhat.com> 0.1-1
- first release
* Thu Dec 18 2008 Jeremy Katz <katzj@redhat.com> - 0.0-1
- Initial build