parent
31f7db66a8
commit
21007cb6ec
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION=0.6
|
VERSION=0.7
|
||||||
GITVERSION=$(shell [ -d .git ] && git rev-list --abbrev-commit -n 1 HEAD |cut -b 1-8)
|
GITVERSION=$(shell [ -d .git ] && git rev-list --abbrev-commit -n 1 HEAD |cut -b 1-8)
|
||||||
|
|
||||||
prefix = /usr
|
prefix = /usr
|
||||||
|
|
40
dracut.spec
40
dracut.spec
|
@ -12,7 +12,7 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: dracut
|
Name: dracut
|
||||||
Version: 0.6
|
Version: 0.7
|
||||||
Release: 1%{?rdist}
|
Release: 1%{?rdist}
|
||||||
Summary: Initramfs generator using udev
|
Summary: Initramfs generator using udev
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
|
@ -38,6 +38,7 @@ Requires: filesystem >= 2.1.0, cpio, device-mapper, initscripts >= 8.63-1
|
||||||
Requires: e2fsprogs >= 1.38-12, libselinux, libsepol, coreutils
|
Requires: e2fsprogs >= 1.38-12, libselinux, libsepol, coreutils
|
||||||
Requires: mdadm, elfutils-libelf, plymouth >= 0.7.0
|
Requires: mdadm, elfutils-libelf, plymouth >= 0.7.0
|
||||||
Requires: cryptsetup-luks
|
Requires: cryptsetup-luks
|
||||||
|
Requires: bridge-utils
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
Requires: dmraid
|
Requires: dmraid
|
||||||
Requires: kbd
|
Requires: kbd
|
||||||
|
@ -52,21 +53,20 @@ BuildArch: noarch
|
||||||
dracut is a new, event-driven initramfs infrastructure based around udev.
|
dracut is a new, event-driven initramfs infrastructure based around udev.
|
||||||
|
|
||||||
%package generic
|
%package generic
|
||||||
Summary: Metapackage to build a generic initramfs
|
Summary: Metapackage to build a generic initramfs with dracut
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: rpcbind nfs-utils
|
Requires: rpcbind nfs-utils
|
||||||
Requires: iscsi-initiator-utils
|
Requires: iscsi-initiator-utils
|
||||||
Requires: nbd
|
Requires: nbd
|
||||||
Requires: bridge-utils
|
|
||||||
Requires: net-tools iproute
|
Requires: net-tools iproute
|
||||||
Requires: plymouth-system-theme plymouth-theme-charge plymouth-theme-solar
|
Requires: plymouth-system-theme plymouth-theme-charge plymouth-theme-solar
|
||||||
|
|
||||||
%description generic
|
%description generic
|
||||||
This package requires everything which is needed to build a generic
|
This package requires everything which is needed to build a generic
|
||||||
all purpose initramfs.
|
all purpose initramfs with dracut.
|
||||||
|
|
||||||
%package kernel
|
%package kernel
|
||||||
Summary: Metapackage to build generic initramfs with only kernel modules
|
Summary: Metapackage to build generic initramfs with dracut with only kernel modules
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ql2100-firmware
|
Requires: ql2100-firmware
|
||||||
Requires: ql2200-firmware
|
Requires: ql2200-firmware
|
||||||
|
@ -78,6 +78,18 @@ Requires: ql2500-firmware
|
||||||
This package requires everything which is needed to build a initramfs with all
|
This package requires everything which is needed to build a initramfs with all
|
||||||
kernel modules and firmware files needed by dracut modules.
|
kernel modules and firmware files needed by dracut modules.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: dracut tools to build the local initramfs
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: ql2100-firmware
|
||||||
|
Requires: ql2200-firmware
|
||||||
|
Requires: ql23xx-firmware
|
||||||
|
Requires: ql2400-firmware
|
||||||
|
Requires: ql2500-firmware
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains tools to assemble the local initrd and host configuration.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?dashgittag}
|
%setup -q -n %{name}-%{version}%{?dashgittag}
|
||||||
|
|
||||||
|
@ -93,6 +105,9 @@ make install DESTDIR=$RPM_BUILD_ROOT sbindir=/sbin sysconfdir=/etc mandir=%{_man
|
||||||
rm -f $RPM_BUILD_ROOT/sbin/switch_root
|
rm -f $RPM_BUILD_ROOT/sbin/switch_root
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/boot/dracut
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
@ -100,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc README HACKING TODO COPYING AUTHORS
|
%doc README HACKING TODO COPYING AUTHORS
|
||||||
/sbin/dracut
|
/sbin/dracut
|
||||||
/sbin/dracut-gencmdline
|
|
||||||
%if 0%{?with_switch_root}
|
%if 0%{?with_switch_root}
|
||||||
/sbin/switch_root
|
/sbin/switch_root
|
||||||
%endif
|
%endif
|
||||||
|
@ -118,8 +132,20 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc README.kernel
|
%doc README.kernel
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%doc COPYING
|
||||||
|
/sbin/dracut-gencmdline
|
||||||
|
/sbin/dracut-catimages
|
||||||
|
%dir /boot/dracut
|
||||||
|
%dir /var/lib/dracut
|
||||||
|
%dir /var/lib/dracut/overlay
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 22 2009 Harald Hoyer harald@redhat.com 0.6-1
|
* Fri Jul 24 2009 Harald Hoyer <harald@redhat.com> 0.7-1
|
||||||
|
- version 0.7
|
||||||
|
|
||||||
|
* Wed Jul 22 2009 Harald Hoyer <harald@redhat.com> 0.6-1
|
||||||
- version 0.6
|
- version 0.6
|
||||||
|
|
||||||
* Fri Jul 17 2009 Harald Hoyer <harald@redhat.com> 0.5-1
|
* Fri Jul 17 2009 Harald Hoyer <harald@redhat.com> 0.5-1
|
||||||
|
|
Loading…
Reference in New Issue