[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Building XEN with different config PROBLEM


  • To: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
  • From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
  • Date: Thu, 7 Jun 2007 16:27:18 +0200
  • Cc: Philip Steeman <philip.steeman@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 07 Jun 2007 07:25:57 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bJMMOS6g9ewBRh8cCl3qxWQA+qWpyFPKOWTMhCDnNUiAwrqBlfUJk1fmHV1WKZjEtQYMkz7MZpHsoykKRqTKFd1qNCIxFjr+V2sM+et060ez4wp1O30n2aDSnuaOvDyESIXg5lbiMKuu6ypxIqiPhYm4IUGuRtEa8ZhnBymcb5o=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Steffen,


rm -rf xen-3.1.0-src
tar xzf xen-3.1.0-src.tgz
cd xen-3.1.0-src
mkdir -p dist/install/boot
cp ../config/$1/xen0 dist/install/boot/config-2.6.18-xen0
cp ../config/$1/xenU dist/install/boot/config-2.6.18-xenU
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" dist
cd dist/
tar czf ../../dist/$1-xen3.1.tgz .
cd ../..
rm -rf xen-3.1.0-src

I've tried your script with a bogus config and got used. :) !

tar xzf xen-3.1.0.tar.tgz
cd xen-3.1.0-src
cd build-linux-2.6.18-xen0_x86_32
make menuconfig
cd ..
make linux-2.6-xen0-build
this didn't work Philip.

A couple of doubts.

tar czf ../../dist/$1-xen3.1.tgz .
creates a file in /usr/src/dist
the ./install.sh will install on my local machine, right?


But, how can I patch the kernel (at a later date) and install the changes?
I used to do
make linux-2.6-xen-config CONFIGMODE=menuconfig
make linux-2.6-xen-build
make linux-2.6-xen-install
:(

What do you think the proceedure is now?

In your script you finish with a
rm -rf xen-3.1.0-src

If I want to patch a against the source tree I must keep the
xen-3.1.0-src directory and then do
cd /usr/src/xen-3.1.0-src/linux-2.6.18-xen
patch -p1 < patch.file

Now I must change your script like this?
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" build
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" install

Does that sound right?

Thanks once again,
Chris.

On 6/7/07, Steffen Heil <lists@xxxxxxxxxxxxxxx> wrote:
Hi

> tar xzf xen-3.1.0.tar.tgz
> cd xen-3.1.0-src
> cd build-linux-2.6.18-xen0_x86_32
> make menuconfig
> cd ..
> make linux-2.6-xen0-build

I didn't try that.
However the following does NOT work:

tar xzf xen-3.1.0.tar.tgz
cd xen-3.1.0-src
make linux-2.6-xen0-config mode=menuconfig
make linux-2.6-xen0-build

Even though, it DOES open configuration - just doesn't store anywhere...

Regards,
  Steffen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.