[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC 2/7] linux-stubdomain: Compile Linux
On Thu, May 14, 2015 at 10:28 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote: > On Thu, 2015-05-14 at 10:08 +0100, George Dunlap wrote: >> On Fri, Feb 6, 2015 at 5:45 PM, Stefano Stabellini >> <stefano.stabellini@xxxxxxxxxxxxx> wrote: >> >> >> +LINUX_URL=ftp://ftp.kernel.org/pub/linux/kernel/v3.x/$(LINUX_V).tar.xz >> >> >> + >> >> >> +all: $(VMLINUZ) >> >> > >> >> > I think it is best if we git clone it. >> >> >> >> Is that still true if unpatched 3.18.6 works? I don't know if there >> >> is a desire to reduce load on kernel.org, for example. >> > >> > That's a good point. I think git clone would be more inline with any >> > other external project that we use. However I'll let the other >> > maintainers decide on this. >> >> It takes a *loooooooong* time to download a full Linux git tree, and >> it takes up a huge amount of disk space. It would be a lot more >> convenient to be able to just download a tarball. > > git clone --depth=<some small N> to create a shallow clone? So my unscientific poll (more details below) 1. Download tarball: 80MB, 111s (<2m) 2. git clone --depth 1: 138MiB, 392s. (~6m30s) I'd just go for the tarball, but I'll leave that decision up to you guys. -George $ time wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.8.tar.xz --2015-05-18 11:12:05-- ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.8.tar.xz => âlinux-3.18.8.tar.xzâ Resolving ftp.kernel.org (ftp.kernel.org)... 199.204.44.194, 149.20.4.69, 198.145.20.140 Connecting to ftp.kernel.org (ftp.kernel.org)|199.204.44.194|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/linux/kernel/v3.x ... done. ==> SIZE linux-3.18.8.tar.xz ... 80954240 ==> PASV ... done. ==> RETR linux-3.18.8.tar.xz ... done. Length: 80954240 (77M) (unauthoritative) 100%[=====================================================================================================================================================================================================>] 80,954,240 723KB/s in 1m 51s 2015-05-18 11:13:57 (711 KB/s) - âlinux-3.18.8.tar.xzâ saved [80954240] real 1m52.548s user 0m0.318s sys 0m1.894s $ time git clone --depth 1 --branch v3.18 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Cloning into 'linux'... remote: Counting objects: 50728, done. remote: Compressing objects: 100% (48908/48908), done. remote: Total 50728 (delta 3388), reused 21833 (delta 1202) Receiving objects: 100% (50728/50728), 138.44 MiB | 269.00 KiB/s, done. Resolving deltas: 100% (3388/3388), done. Checking connectivity... done. Note: checking out 'b2776bf7149bddd1f4161f14f79520f17fc1d71d'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name Checking out files: 100% (47986/47986), done. real 6m32.968s user 0m11.522s sys 0m4.815s > > Ian. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |