Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=initrdtesting.git;a=commitdiff;h=24f9b1e4c5a2fe4c612138aa2c588a61d342fc68

commit 24f9b1e4c5a2fe4c612138aa2c588a61d342fc68
Author: James Buren <r...@frugalware.org>
Date:   Thu Sep 15 16:52:40 2011 -0500

kernel.sh
* remove references to DRACUT

diff --git a/source/include/kernel.sh b/source/include/kernel.sh
index fdd4384..95b5669 100644
--- a/source/include/kernel.sh
+++ b/source/include/kernel.sh
@@ -1,7 +1,6 @@
#!/bin/sh

USE_DEVEL=${USE_DEVEL:-"n"}
-USE_DRACUT=${USE_DRACUT:-"n"}

Finclude kernel-version

@@ -143,9 +142,6 @@ fi
if [ "$CARCH" = "arm" -o "$CARCH" = "ppc" ]; then
makedepends=("${makedepends[@]}" 'u-boot-tools')
fi
-if Fuse DRACUT; then
-       makedepends=("${makedepends[@]}" 'dracut')
-fi
groups=('base')
archs=('i686' 'x86_64' 'ppc' 'arm')
options=('nodocs' 'genscriptlet')
@@ -321,14 +317,6 @@ Fbuildkernel()
Frm /lib/modules/$_F_kernel_ver$_F_kernel_uname/build
Frm /lib/modules/$_F_kernel_ver$_F_kernel_uname/source

-       if Fuse DRACUT; then
-               Fexec /sbin/dracut \
-                       
$Fdestdir/boot/initramfs.img-$_F_kernel_ver$_F_kernel_uname \
-                       --no-kernel \
-                       --include $Fdestdir/lib/modules/ /lib/modules/ \
-                       || Fdie
-       fi
-
Fln /usr/src/linux-$_F_kernel_ver$_F_kernel_uname \
/lib/modules/$_F_kernel_ver$_F_kernel_uname/build
Fln /usr/src/linux-$_F_kernel_ver$_F_kernel_uname \
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to