From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faqK4-0001w6-OX for qemu-devel@nongnu.org; Wed, 04 Jul 2018 18:32:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faqK1-00020a-LU for qemu-devel@nongnu.org; Wed, 04 Jul 2018 18:32:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13939) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1faqK1-0001zm-CL for qemu-devel@nongnu.org; Wed, 04 Jul 2018 18:32:25 -0400 Date: Wed, 4 Jul 2018 19:32:09 -0300 From: Eduardo Habkost Message-ID: <20180704223209.GI7451@localhost.localdomain> References: <20180622004435.10291-1-f4bug@amsat.org> <20180622004435.10291-5-f4bug@amsat.org> <87in62vq15.fsf@linaro.org> <543f19ab-385c-4e77-b243-d6740b456360@amsat.org> <87bmbuvjvl.fsf@linaro.org> <2a4024fa-dcc7-701d-dd9c-0777aa02869b@amsat.org> <643265a1-f613-e14f-ac25-900133e52528@amsat.org> <20180704204746.GF7451@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 4/6] tests/acceptance: Add a BootLinuxConsoleMips test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: Alex =?iso-8859-1?Q?Benn=E9e?= , Cleber Rosa , Aurelien Jarno , Peter Maydell , qemu-devel@nongnu.org, Fam Zheng , =?utf-8?B?THVrw6HFoQ==?= Doktor , David Gibson , BALATON Zoltan , Laurent Vivier , John Snow On Wed, Jul 04, 2018 at 06:44:02PM -0300, Philippe Mathieu-Daud=E9 wrote: > On 07/04/2018 05:47 PM, Eduardo Habkost wrote: > > On Wed, Jul 04, 2018 at 04:56:44PM -0300, Philippe Mathieu-Daud=E9 wr= ote: > >> On 06/28/2018 07:45 PM, Philippe Mathieu-Daud=E9 wrote: > >>> On 06/28/2018 03:36 PM, Alex Benn=E9e wrote: > >>>> Philippe Mathieu-Daud=E9 writes: > >>>>> On 06/28/2018 01:23 PM, Alex Benn=E9e wrote: > > [...] > >>>>>>> + def test(self): > >>>>>>> + kernel_url =3D ('http://people.debian.org/~aurel32/qem= u/mips/' > >>>>>>> + 'vmlinux-3.2.0-4-4kc-malta') > >>>>>>> + kernel_hash =3D '592e384a4edc16dade52a6cd5c785c637bcbc= 9ad' > >>>>>>> + kernel_path =3D self.fetch_asset(kernel_url, > >>>>>>> asset_hash=3Dkernel_hash) > >>>>>> > >>>>>> I'm uncomfortable using "random" binaries of websites as the sou= rce of > >>>>>> our test kernels. I can see the justification for distro kernels= as they > >>>>>> at least have the infrastructure to rebuild from source if you r= eally > >>>>>> want to, but even then the distros don't cover a lot of the > >>>>>> architectures. > >> > >> Alex: I could find all the Linux kernel I'm interested to console-te= st > >> with Avocado on the http://snapshot.debian.org/ archive website. > >> > >> For example Aurelien's one (more up-to-date) is available here: > >> http://snapshot.debian.org/package/linux-2.6/2.6.32-48/#linux-image-= 2.6.32-5-4kc-malta_2.6.32-48 > >> > >> I also added a SH-4 test for the SM501 series of Zoltan BALATON usin= g > >> the kernel extracted from this distrib built kernel: > >> http://snapshot.debian.org/package/linux-2.6/2.6.32-30/#linux-image-= 2.6.32-5-sh7751r_2.6.32-30 > >> > >> The Debian distribution also provide the source package and the kern= els > >> can be simply rebuilt using make-kpkg or (make bindeb-pkg with more > >> recent kernels). > >> > >> Would it be enough to satisfy the GPL requirements to provided that = info > >> in the header and use these handy pre-compiled kernels? > >=20 > > (IANAL, etc.) > >=20 > > Personally, I would try to avoid dealing with the "written offer" > > option of the GPL, and just publish the sources in the same > > medium (HTTP download repository, git repository, etc) as the > > binary. >=20 > About Debian packaged kernel: the sources are in the same directory: >=20 > http://snapshot.debian.org/package/linux-2.6/2.6.32-30/ >=20 > linux-2.6_2.6.32.orig.tar.gz > linux-image-2.6.32-5-sh7751r_2.6.32-30_sh4.deb > linux-support-2.6.32-5_2.6.32-30_all.deb Oh, I thought you were talking about publishing the binaries elsewhere. If we're not the ones publishing the binaries (we're just downloading it), then this is somebody else's problem. :) Would it be OK to make test code download directly from snapshot.debian.org, though? Their home page have instructions to use apt repositories there, so I guess it's reasonable use of the service. --=20 Eduardo