From: Eric Edgar Date: Wed, 29 Jun 2005 19:39:13 +0000 (+0000) Subject: run modules_prepare in the kernel tree before unionfs modules compile X-Git-Tag: v3.4.10.902~516 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=28f45d727f3c1eedf951dc2f6ffe1a8f60c3d5a3;p=genkernel.git run modules_prepare in the kernel tree before unionfs modules compile git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@236 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_compile.sh b/gen_compile.sh index 5611c47..88d46d2 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -271,6 +271,11 @@ compile_unionfs_modules() { sed -i Makefile -e "s|LINUXSRC =.*|LINUXSRC =${KERNEL_DIR}|g" if [ "${PAT}" -ge '6' ] then + # Setup the kernel sources to compile modules + cd ${KERNEL_DIR} + compile_generic "modules_prepare" kernel + + cd "${UNIONFS_DIR}" compile_generic unionfs2.6 kernel else compile_generic unionfs2.4 kernel