]>
Commit | Line | Data |
---|---|---|
76023cc0 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
76023cc0 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = dracut |
7 | version = 010 | |
3514c307 | 8 | release = 5 |
802ea3af | 9 | arch = noarch |
76023cc0 | 10 | |
802ea3af MT |
11 | groups = System/Boot |
12 | url = http://sourceforge.net/apps/trac/dracut/wiki | |
13 | license = GPLv2+ | |
14 | summary = Initramfs generator using udev. | |
76023cc0 | 15 | |
802ea3af | 16 | description |
76023cc0 | 17 | dracut is a new, event-driven initramfs infrastructure based around udev. |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = | |
21 | sources = %{thisapp}.tar.bz2 | |
22 | ||
23 | build | |
207338f4 SS |
24 | requires |
25 | docbook-utils | |
26 | docbook-xsl | |
802ea3af MT |
27 | end |
28 | ||
29 | install | |
30 | make install DESTDIR=%{BUILDROOT} \ | |
31 | sbindir=/sbin sysconfdir=/etc mandir=/usr/share/man | |
32 | ||
33 | # Install local configuration. | |
34 | mkdir -pv %{BUILDROOT}/etc/dracut.conf.d | |
35 | cp -vf %{DIR_SOURCE}/ipfire.conf %{BUILDROOT}/etc/dracut.conf.d/ipfire.conf | |
36 | end | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | requires | |
42 | bash | |
43 | bzip2 | |
44 | cpio | |
45 | coreutils | |
46 | dmraid | |
47 | e2fsprogs | |
48 | eject | |
49 | gzip | |
50 | iputils | |
51 | kbd | |
52 | less | |
53 | libselinux | |
54 | lvm2 | |
55 | mdadm | |
3514c307 | 56 | multipath-tools |
802ea3af MT |
57 | sysvinit |
58 | udev | |
59 | util-linux | |
60 | which | |
61 | end | |
62 | end | |
1f9bc2f0 | 63 | |
802ea3af MT |
64 | package %{name}-network |
65 | summary = Network support for the initramdisk. | |
66 | description | |
67 | This package requires everything which is needed to build a generic | |
68 | all purpose initramfs with network support with dracut. | |
69 | end | |
1f9bc2f0 | 70 | |
802ea3af MT |
71 | requires |
72 | bridge-utils | |
73 | dhclient | |
3514c307 | 74 | iproute2 |
802ea3af MT |
75 | nfs-utils |
76 | end | |
1f9bc2f0 | 77 | |
802ea3af MT |
78 | files |
79 | /usr/share/dracut/modules.d/40network | |
80 | /usr/share/dracut/modules.d/95fcoe | |
81 | /usr/share/dracut/modules.d/95iscsi | |
82 | /usr/share/dracut/modules.d/95nbd | |
83 | /usr/share/dracut/modules.d/95nfs | |
84 | /usr/share/dracut/modules.d/45ifcfg | |
85 | /usr/share/dracut/modules.d/95znet | |
86 | end | |
87 | end | |
1f9bc2f0 MT |
88 | |
89 | ||
802ea3af MT |
90 | package %{name}-utils |
91 | summary = Command line utils for dracut. | |
92 | description = %{summary} | |
1f9bc2f0 | 93 | |
802ea3af MT |
94 | files |
95 | /sbin/dracut-* | |
96 | /sbin/*initrd | |
97 | end | |
98 | end | |
99 | end |