1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
33 PKG_GROUPS = System/Boot
34 PKG_URL = http://sourceforge.net/apps/trac/dracut/wiki
36 PKG_SUMMARY = Initramfs generator using udev.
58 define PKG_DESCRIPTION
59 dracut is a new, event-driven initramfs infrastructure based around udev.
62 PKG_TARBALL = $(THISAPP).tar.bz2
64 define STAGE_PREPARE_CMDS
65 # Remove all man pages.
66 # XXX requires docbook
67 cd $(DIR_APP) && sed -i Makefile \
68 -e "s/^all:.*/all: \$$(targets)/" \
73 cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) \
74 sbindir=/sbin sysconfdir=/etc mandir=/usr/share/man
76 # Install local configuration.
77 -mkdir -pv $(BUILDROOT)/etc/dracut.conf.d
78 cp -vf $(DIR_SOURCE)/ipfire.conf $(BUILDROOT)/etc/dracut.conf.d/ipfire.conf
82 PKG_PACKAGES += dracut-network
84 PKG_SUMMARY-dracut-network = Network support for the initramdisk.
85 define PKG_DESCRIPTION-dracut-network
86 This package requires everything which is needed to build a generic
87 all purpose initramfs with network support with dracut.
90 PKG_DEPS-dracut-network = \
96 define PKG_FILES-dracut-network
97 /usr/share/dracut/modules.d/40network
98 /usr/share/dracut/modules.d/95fcoe
99 /usr/share/dracut/modules.d/95iscsi
100 /usr/share/dracut/modules.d/95nbd
101 /usr/share/dracut/modules.d/95nfs
102 /usr/share/dracut/modules.d/45ifcfg
103 /usr/share/dracut/modules.d/95znet
107 PKG_PACKAGES += dracut-utils
109 PKG_SUMMARY-dracut-utils = Command line utils for dracut.
110 define PKG_DESCRIPTION-dracut-utils
111 Command line utils for dracut.
114 define PKG_FILES-dracut-utils