WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] how to reduce time of git pulling each time when you do

To: Patrick Scharrenberg <pittipatti@xxxxxx>
Subject: Re: [Xen-users] how to reduce time of git pulling each time when you do a make world on Xen source
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Sat, 26 Feb 2011 22:16:21 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 26 Feb 2011 08:48:00 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KeYl6fQt+zzsCEEPD7As5phsR3R1LE8Qb19kRNzcmoA=; b=l2aYraBGBA40Wg0QoOpTyhr1RFzO/xRl8rNhLWUihRdAmJNQz/uW/vLY9Gyf1NCfka Hlk/gHC52R3YMGqYcLcZ/NR9i0CQpOqdmZwqCXVciR0aPMpE3EQSoMjRDacjSbdyU6q0 2iDUDsf4Dy14v2VmWlxKdiT9QSwXLZQJUjF0Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vZqiOasxvaUilZsHR56ZBBXoUzgxwYFOtReu5plABavnpBf3bdJB/v9+s5fAGE8tmO Xgcge0xDYgw113HaKkeVElV1Ap1BQPF+O6EE/ugXrD2NoPz5oFer8YvcCsH0jXZwIlqD cIuFfYcvqPitAWDtqdPUZxx5yTujpmxasUYWg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201102261729.16186.pittipatti@xxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikn3kn59EHmiWWJujNsu3aqGtaKzLf-s8LZD0Af@xxxxxxxxxxxxxx> <201102261524.34974.patrick@xxxxxxxxxxxxxxxx> <AANLkTik-uiYxD7asK-g42poJMqnWS77bwuOjW+5JooFk@xxxxxxxxxxxxxx> <201102261729.16186.pittipatti@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Wow thanks I was looking for this information only.

On Sat, Feb 26, 2011 at 9:59 PM, Patrick Scharrenberg <pittipatti@xxxxxx> wrote:
> You can take a look into the Makefile:
> there you'll find e.g.:
>
> world:
>        $(MAKE) clean
>        $(MAKE) kdelete
>        $(MAKE) dist
>
> so what a "make world" does is
>   make clean
>   make kdelete
> and finally
>   make dist
>
> so if you solely do a "make dist" the build process skips the deletition of
> the compiled binary objects (make clean) and skips deleting your checked out
> kernel tree (make kdelete)
>
> so a "make dist" after an upgraded working copy (hg pull -u) only compiles the
> files which have changed, which saves time.
>
> Please have a look at the Makefile, do a "make help" and take a look at the
> README file for further information.
>
> Patrick
>
>
>
>
>> What is the difference between
>> make world
>> make dist
>> make xen ?
>>
>> On Sat, Feb 26, 2011 at 7:54 PM, Patrick Scharrenberg
>>
>> <patrick@xxxxxxxxxxxxxxxx> wrote:
>> > Maybe "make dist" is what you are looking for?
>> >
>> > it builds whole xen into a directory "dist" where you will find an
>> > "install.sh" for installing xen.
>> >
>> > Patrick
>> >
>> >> I am compiling xen from source and each time I do a `make world`
>> >> it basically gives some or the other error
>> >> my problem are not those errors ( I am trying to debug them)
>> >> but the problem is each time when I do a `make world`
>> >>
>> >> Xen basically pulls things from git repository
>> >>
>> >>    + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp
>> >>    + mkdir linux-2.6-pvops.git.tmp
>> >>    + rmdir linux-2.6-pvops.git.tmp
>> >>    + git clone -o xen -n
>> >> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>> >> linux-2.6-pvops.git.tmp
>> >>    Initialized empty Git repository in
>> >> /usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/
>> >>    remote: Counting objects: 1941611, done.
>> >>    remote: Compressing objects: 100% (319127/319127), done.
>> >> remote: Total 1941611 (delta 1614302), reused 1930655 (delta 1604595)
>> >> **Receiving objects: 20% (1941611/1941611), 98.17 MiB | 87 KiB/s,
>> >> done.**
>> >>
>> >>
>> >> and if you notice the last line it is still consuming my bandwidth
>> >> pulling things from internet.How can I stop this step each time and
>> >> use existing git repository?
>> >>
>> >> --
>>
>> --
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>



-- 
http://mightydreams.blogspot.com

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