]> git.ipfire.org Git - ipfire-3.x.git/blob - dracut/dracut.nm
dracut: Fix runtime dependencies.
[ipfire-3.x.git] / dracut / dracut.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = dracut
7 version = 010
8 release = 5
9 arch = noarch
10
11 groups = System/Boot
12 url = http://sourceforge.net/apps/trac/dracut/wiki
13 license = GPLv2+
14 summary = Initramfs generator using udev.
15
16 description
17 dracut is a new, event-driven initramfs infrastructure based around udev.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.bz2
22
23 build
24 requires
25 docbook-utils
26 docbook-xsl
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
56 multipath-tools
57 sysvinit
58 udev
59 util-linux
60 which
61 end
62 end
63
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
70
71 requires
72 bridge-utils
73 dhclient
74 iproute2
75 nfs-utils
76 end
77
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
88
89
90 package %{name}-utils
91 summary = Command line utils for dracut.
92 description = %{summary}
93
94 files
95 /sbin/dracut-*
96 /sbin/*initrd
97 end
98 end
99 end