From b103721fa6cffff1ac3c387bee2e2950a8d65e40 Mon Sep 17 00:00:00 2001 From: kueller Date: Tue, 19 May 2009 07:34:33 +0000 Subject: [PATCH] Kernel Module werden nun mit kopiert falls noch nicht forhanden git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4701 504e572c-2e33-0410-9681-be2bf7408885 --- Scripts/initChroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/initChroot b/Scripts/initChroot index 7f1fda8..938e26e 100755 --- a/Scripts/initChroot +++ b/Scripts/initChroot @@ -45,6 +45,9 @@ source $HOME/.ViitorMake WDIR=`pwd` source $VMAKEDIR/defsys +if [ ! -d $LFS/lib/modules/`uname -r` ]; then + tar -C /lib/modules -cf - `uname -r`|tar -C $LFS/lib/modules -xvf - +fi mount -o bind /dev $LFS/dev mount -o bind /dev/pts $LFS/dev/pts mount -t devpts none $LFS/dev/pts