]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - dracut/dracut.nm
Move all packages to root.
[people/stevee/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 = 3
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 prepare_cmds
25 # Remove all man pages.
26 # XXX requires docbook
27 cd %{DIR_APP} && sed -i Makefile \
28 -e "s/^all:.*/all: \$%{targets}/" \
29 -e "/.*man.*/d"
30 end
31
32 install
33 make install DESTDIR=%{BUILDROOT} \
34 sbindir=/sbin sysconfdir=/etc mandir=/usr/share/man
35
36 # Install local configuration.
37 mkdir -pv %{BUILDROOT}/etc/dracut.conf.d
38 cp -vf %{DIR_SOURCE}/ipfire.conf %{BUILDROOT}/etc/dracut.conf.d/ipfire.conf
39 end
40 end
41
42 packages
43 package %{name}
44 requires
45 bash
46 bzip2
47 cpio
48 coreutils
49 dmraid
50 e2fsprogs
51 eject
52 gzip
53 iputils
54 kbd
55 less
56 libselinux
57 lvm2
58 mdadm
59 sysvinit
60 udev
61 util-linux
62 which
63 end
64 end
65
66 package %{name}-network
67 summary = Network support for the initramdisk.
68 description
69 This package requires everything which is needed to build a generic
70 all purpose initramfs with network support with dracut.
71 end
72
73 requires
74 bridge-utils
75 dhclient
76 iproute
77 nfs-utils
78 end
79
80 files
81 /usr/share/dracut/modules.d/40network
82 /usr/share/dracut/modules.d/95fcoe
83 /usr/share/dracut/modules.d/95iscsi
84 /usr/share/dracut/modules.d/95nbd
85 /usr/share/dracut/modules.d/95nfs
86 /usr/share/dracut/modules.d/45ifcfg
87 /usr/share/dracut/modules.d/95znet
88 end
89 end
90
91
92 package %{name}-utils
93 summary = Command line utils for dracut.
94 description = %{summary}
95
96 files
97 /sbin/dracut-*
98 /sbin/*initrd
99 end
100 end
101 end