From 477d13988621ebdc6c13bfe9aa52fdaedc2d5517 Mon Sep 17 00:00:00 2001 From: "msb@google.com" Date: Fri, 23 Oct 2009 01:45:08 +0000 Subject: [PATCH] Move kernel over to git. We are using the same sources as what is in the tarball. Just that they are now in git. Copying the kernel tree over to the build dir for now. Will eventually modify it so that we build from the src directory into the build directory. Review URL: http://chromereview.prom.corp.google.com/1177012 git-svn-id: svn://chrome-svn/chromeos/trunk@81 06c00378-0e64-4dae-be16-12b19f9950a1 --- build_kernel.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build_kernel.sh b/build_kernel.sh index 2283c25687..54cefd1263 100755 --- a/build_kernel.sh +++ b/build_kernel.sh @@ -102,9 +102,11 @@ cd "$SRCDIR" # TODO: find a better source for the kernel source. Old versions of karmic # aren't hosted on archive.ubuntu.com #apt-get source linux-source-$MAJOR.$MINOR.$EXTRA -tar -xzf "$KERNEL_DIR"/linux_${VER_MME}-*.tar.gz -# Rename directory to what the patches expect -mv ubuntu-* "linux-$VER_MME" +# TODO(msb): uncomment once git is available in the chroot +# git clone "${KERNEL_DIR}"/files linux_${VER_MME} +# Name directory to what the patches expect +mkdir linux-${VER_MME} +cp -a "${KERNEL_DIR}"/files/* linux-${VER_MME} if [ ! -z $PATCHES ] then