dracut/dracut.spec

872 lines
30 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-21 10:44:53 +00:00
Release: 100.git20111021%{?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
2011-10-21 10:44:53 +00:00
Patch1: 0001-add-x-bit-to-.sh.patch
2011-10-20 11:18:57 +00:00
Patch2: 0002-90dmsquash-live-dmsquash-live-root-include-fs_lib.sh.patch
Patch3: 0003-fix-live-crash-with-livenet-installed.patch
Patch4: 0004-profile.py-parse-the-output-of-dracut-profile-for-pr.patch
Patch5: 0005-add-TEST-16-DMSQUASH.patch
Patch6: 0006-dracut-functions-s-emergency-shutdown-shutdown-emerg.patch
Patch7: 0007-dracut-unset-LD_LIBRARY_PATH.patch
Patch8: 0008-build-initramfs-prelink-undo-sbin.patch
Patch9: 0009-dracut-functions-speed-up-inst_dir.patch
Patch10: 0010-90crypt-ask_for_password-pings-plymouthd.patch
Patch11: 0011-99base-whitespace-fix.patch
Patch12: 0012-dracut-functions-new-function-inst_any-d-dest-f1-f2-.patch
Patch13: 0013-livenet-take-into-account-other-ca-bundle-paths-use-.patch
Patch14: 0014-luks-key-on-ext-dev-wait-for-luks.patch
Patch15: 0015-crypt-changed-cmdline-arg-name-from-rd.luks.tout-to-.patch
Patch16: 0016-luks-key-on-ext-dev-wait-for-luks.patch
Patch17: 0017-dracut-functions-fix-inst_dir-for-non-absolute-dirs.patch
Patch18: 0018-90mdraid-65-md-incremental-imsm.rules-incremental-ru.patch
Patch19: 0019-dracut.spec-fixed-rhel-fedora-version-checks.patch
Patch20: 0020-50plymouth-add-plymouth.enable-kernel-command-line-o.patch
Patch21: 0021-99base-init-only-poll-cdroms-if-the-kernel-does-supp.patch
Patch22: 0022-build-initramfs-unclear-_mpargs-in-instmods.patch
Patch23: 0023-90crypt-parse-crypt.sh-also-accept-the-beginning-of-.patch
Patch24: 0024-99base-init-save-and-restore-environment-given-from-.patch
Patch25: 0025-99base-init-move-switch_root-breakpoint-to-a-later-p.patch
Patch26: 0026-dracut-functions-hmac-checksum-files-can-be-symlinks.patch
Patch27: 0027-95udev-rules-add-input_id.patch
Patch28: 0028-inst_simple-inst_dir-make-fast-case-faster.patch
Patch29: 0029-filter_kernel_modules-is-a-specialized-filter_kernel.patch
Patch30: 0030-install_kmod_with_fw-make-fast-case-faster.patch
Patch31: 0031-instmods-get-filenames-from-stdin-if-no-args-use-it.patch
Patch32: 0032-instmods-sanity-for-_mpargs.patch
Patch33: 0033-instmods-factor-out-egrep-of-FATAL-Module-.-not-foun.patch
Patch34: 0034-99base-init-do-not-fail-when-importing-the-original-.patch
Patch35: 0035-dracut-cp-with-sparse.patch
Patch36: 0036-99base-init-removed-cdrom-polling-reset-code.patch
Patch37: 0037-dmsquash-live-root-use-blkid-to-determine-fstype-of-.patch
Patch38: 0038-dmsquash-live-root-load-filesystem-modules-before-mo.patch
Patch39: 0039-90dmsquash-live-do-not-symlink-to-dev-live.patch
Patch40: 0040-99base-init-remove-dev-root-helper-symlink.patch
Patch41: 0041-Do-not-use-run-udev-rules.d-for-udev-rules.patch
Patch42: 0042-99base-init-mount-securityfs-with-source-securityfs-.patch
Patch43: 0043-mount-securityfs-in-a-seperate-dracut-module.patch
Patch44: 0044-mount-securityfs-in-a-seperate-dracut-module.patch
Patch45: 0045-90mdraid-adjust-stock-mdadm-udev-rules.patch
Patch46: 0046-90mdraid-containers-are-not-runnable.patch
Patch47: 0047-90mdraid-fix-adjust-mdraid-cleanup.patch
Patch48: 0048-90mdraid-fix-adjust-force-run-script.patch
Patch49: 0049-90-md-dm-raid-recognize-ddf-container.patch
Patch50: 0050-90mdraid-fix-adjust-65-md-rules-and-related-scripts.patch
Patch51: 0051-TEST-40-NBD-relaxed-check-on-ext3-filesystem-options.patch
Patch52: 0052-99fs-lib-fs-lib.sh-fsck-btrfs-via-mounting-like-xfs.patch
Patch53: 0053-dracut-functions-inst_rules-do-not-check-std-dirs-fo.patch
Patch54: 0054-str_replace-fix.patch
Patch55: 0055-dracut-logger-bail-out-early-if-we-don-t-have-to-log.patch
Patch56: 0056-dracut-create-dev-besides-proc-sys-and-so.patch
Patch57: 0057-99fs-lib-export-FSTAB_FILE-before-fsck-call.patch
Patch58: 0058-dracut-functions-inst_rules-add-missing.patch
Patch59: 0059-90mdraid-check-precisely-for-supported-contaiers.patch
Patch60: 0060-90mdraid-more-thorough-64-md-raid.rules-edit.patch
Patch61: 0061-90mdraid-adjust-dev-md-loops.patch
Patch62: 0062-dracut-PATCH-Parameter-expansion-occurs-before-comma.patch
Patch63: 0063-dracut-PATCH-es-parallelize-block_module-filter-and-.patch
Patch64: 0064-order-mdadm-and-lvm-timeout-operations.patch
Patch65: 0065-90mdraid-mdraid_start.sh-fix-path-to-md-sysfs.patch
Patch66: 0066-90mdraid-module-setup.sh-fixed-sed-arguments.patch
Patch67: 0067-95udev-rules-module-setup.sh-also-search-in-lib-udev.patch
Patch68: 0068-update-the-documentation-of-no-prefix.patch
Patch69: 0069-dracut-check-mktemp-return-value.patch
Patch70: 0070-convert_abs_rel-fixups.patch
Patch71: 0071-dracut.8-add-missing-lvmconf-info.patch
Patch72: 0072-fs-lib-add-ability-to-choose-fsck-tools.patch
Patch73: 0073-manuals-add-info-about-fs-lib-fsck-configuration.patch
Patch74: 0074-dracut-functions-conv-normalize-minor-corrections.patch
Patch75: 0075-dracut.-.xml-s-exisiting-existing-g.patch
Patch76: 0076-95udev-rules-module-setup.s-fixed-symlink-for-udevd-.patch
Patch77: 0077-dracut.conf.5.xml-tag-mismatch-fix.patch
Patch78: 0078-bash3-compat-patch.patch
Patch79: 0079-explicitly-verify-bash-version.patch
Patch80: 0080-dracut-remove-duplicate-options.patch
Patch81: 0081-dracut-lib.sh-fix-dropped-backslashes-in-CMDLINE.patch
Patch82: 0082-dmsquash-live-fix-log-message-about-root-liveroot.patch
Patch83: 0083-check-root-candidates-more-carefully.patch
Patch84: 0084-netroot-do-not-die-if-arping-failed.patch
Patch85: 0085-95udev-rules-module-setup.sh-correctly-create-udevd-.patch
Patch86: 0086-module-setup.sh-turn-off-debugging-for-module-search.patch
Patch87: 0087-99base-init-fix-check-for-in-kernel-polling.patch
Patch88: 0088-99base-dracut-lib.sh-add-etc-cmdline-.conf-parsing.patch
Patch89: 0089-minor-changes.patch
Patch90: 0090-90livenet-check-for-wget.patch
Patch91: 0091-dracut-logger-re-set-debugging.patch
Patch92: 0092-dracut-functions-inst_dir-handle-relative-symlinks.patch
2011-10-21 10:44:53 +00:00
Patch93: 0093-90livenet-module-setup.sh-silence-check-for-wget.patch
Patch94: 0094-90dmsquash-live-do-not-install-by-default.patch
Patch95: 0095-90livenet-do-not-install-by-default.patch
Patch96: 0096-dracut-functions-do-not-install-files-from-current-d.patch
Patch97: 0097-dracut-functions-inst_script-call-inst_binary-with-f.patch
Patch98: 0098-dracut.spec-apply-patches-with-git.patch
Patch99: 0099-dracut.spec-require-new-util-linux-version-with-new-.patch
2010-10-29 13:44:08 +00:00
BuildArch: noarch
2011-10-21 10:44:53 +00:00
BuildRequires: dash bash git
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
2011-10-21 10:44:53 +00:00
Requires: util-linux >= 2.20
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: initscripts >= 8.63-1
Requires: plymouth >= 0.8.0-0.2009.29.09.19.1
%endif
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}
2011-10-21 10:44:53 +00:00
git init
git config user.email "dracut-maint@redhat.com"
git config user.name "Fedora dracut team"
git add .
git commit -a -q -m "%{version} baseline."
# Apply all the patches.
git am -p1 %{patches}
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-21 10:44:53 +00:00
* Fri Oct 21 2011 Harald Hoyer <harald@redhat.com> 013-100.git20111021
- update to latest git
2011-10-20 11:18:57 +00:00
* Thu Oct 20 2011 Harald Hoyer <harald@redhat.com> 013-93.git20111020
- update to latest git
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