New package: dracut-014.

This commit is contained in:
Juan RP 2012-01-12 17:48:32 +01:00
parent 6a6f15ea1c
commit e02684d54d
3 changed files with 45 additions and 0 deletions

1
srcpkgs/dracut-network Symbolic link
View file

@ -0,0 +1 @@
dracut

View file

@ -0,0 +1,15 @@
# Template file for 'dracut-network'
pkgname=dracut
short_desc="${short_desc} - network modules"
long_desc="${long_desc}
This package contains some modules to allow booting from network, such as
via ISCSI, NFS, etc."
noarch=yes
do_install() {
for f in 40network 90livenet 95fcoe 95iscsi \
95nbd 95nfs 95zfcp 95znet; do
vmove usr/lib/dracut/modules.d/${f} usr/lib/dracut/modules.d
done
}

29
srcpkgs/dracut/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'dracut'
pkgname=dracut
version=014
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-makefile
make_build_args="sysconfdir=/etc"
make_install_args="sysconfdir=/etc"
short_desc="A new initramfs infrastructure"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8766a0eecd51b4bc6647e7870ba269dffbbbe21954984b23c77f21ce1fd034d1
long_desc="
Unlike existing initramfs, this is an attempt at having as little as possible
hard-coded into the initramfs as possible. The initramfs has (basically) one
purpose in life -- getting the rootfs mounted so that we can transition to the
real rootfs. This is all driven off of device availability. Therefore, instead
of scripts hard-coded to do various things, we depend on udev to create device
nodes for us and then when we have the rootfs's device node, we mount and
carry on. Having the root on MD, LVM2, LUKS is supported as well as NFS,
iSCSI, NBD and FCOE with dracut-network."
noarch=yes
subpackages="dracut-network"
conf_files="/etc/dracut.conf"
make_dirs="/etc/dracut.conf.d 0755 root root"
Add_dependency full busybox
Add_dependency build coreutils # cp -x
Add_dependency build libxslt
Add_dependency build docbook-xsl