[Arm-dev] opening up the armv7hl plague builders (was plague farm)

Tue May 19 13:44:54 UTC 2015
Johnny Hughes <johnny at centos.org>

On 05/18/2015 02:51 PM, Fabian Arrotin wrote:
> On 16/05/15 20:49, Mandar Joshi wrote:
>>> If you need/want access, feel free to discuss that on this list,
>>> but also to create a bug report on https://bugs.centos.org, in
>>> the Buildsys project, category "community buildsys - arm32"
>>>
>> I'm working the GSoC project 'RootFS Build Factory' under the
>> guidance of imcleod.
> 
> Cool, welcome to the club and join the party :-)
> 
>> I've posted a request for access to the plague farm on 
>> bugs.centos.org. Uploaded my ssh ang gpg public keys as requested.
> 
>> Also wanted to inform you that with the packages you've compiled
>> and made available on http://armv7.dev.centos.org/repodir/ I was
>> able to generate a bootable rootfs with just bash and systemd using
>> the Fedora 22 kernel. I did this on my Cubietruck.
> 
> Nice, would be good to share all those informations somewhere.
> 
> 
> 
> There are a few problems which
>> I am working on sorting out. I'm unable to login using the serial 
>> console due to messages like
> 
>> [ 81.541719] audit: type=1100 audit(81.525:83): pid=534 uid=0 
>> auid=4294967295 ses=4294967295 subj=kernel
>> msg='op=PAM:authentication acct="" exe="/usr/bin/login" hostname=?
>> addr=? terminal=ttyS0 res=failed' [ 81.560997] audit: type=1112
>> audit(81.540:84): pid=534 uid=0 auid=4294967295 ses=4294967295
>> subj=kernel msg='op=login acct="" exe="/usr/bin/login" hostname=?
>> addr=? terminal=ttyS0 res=failed'
> 
>> Something to do with SELinux I suppose.
> 
>> My first task once I get access to the plague farm is to compile
>> all the necessary packages to get bash, networking and
>> openssh-server working. Do you guys have any suggestions on how I
>> can generate a list of SRPMS to accomplish just that. I tried using
>> "yum deplist" recursively and that gave me a list of 233 SRPMS. I
>> haven't verified the output yet.
> 
>> Here is a pic of the first CentOS boot on my Cubietruck using the
>> F22 kernel. http://imgur.com/HPTywGU
> 
>> -Mandar Joshi
> 
> Just to add that I also built kernel 4.0.0-1.el7.armv7hl, that you can
> use (http://armv7.dev.centos.org/repodir/c7.01.00/kernel/).
> 
> Let me give quickly a status update on what I've done so far (sorry if
> I had no time to do that earlier, but various things happened to me ...)
> 
> After having discussed with Johnny, KB and Jim, we said that it would
> be better to use the same kernel if possible for all arm platforms, so
> I rebuilt 4.0.0-1, as that's the one Jim used for aarch64.
> The main focus was also to build an initial buildroot that will then
> be used to rebuild the whole 7.1.1503 distro (from the SRPMS)
> To accomplish that, I started to build some el7 SRPMS against f19, in
> that order :
> - gcc
> - glibc
> - kernel (to have the kernel-headers package)
> - etc ..
> 
> Each time that a package was built, it was then integrated in the next
> build, as createrepo was ran, and the local mock config file was using
> that local repo (so glibc was built with the gcc from 7.1 and not from
> f19, and so on ...)
> That actual tree is available here (rpms, srpms and build logs) :
> http://armv7.dev.centos.org/repodir/c7.01.00
> 
> Once we can have a populated buildroot  that is self-contained, we can
> (ab)use plague to try a massive rebuild (pass1) and then do it again,
> by resubmitting failed jobs (like when some packages were having some
> BuildRequires/deps that weren't already built, etc ...)

And once we have that CentOS-7 armv7hl core distro available, we can
(and will) then make the plague builders available for some others to be
able to build packages against that known good base.

We don't want a free for all of building against everything in the world
or a whole bunch of people trying to build the same thing (a core
CentOS-7 os, etc.).

We are getting close, should not be too much longer.

Thanks,
Johnny Hughes




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20150519/4f7fa50c/attachment-0006.sig>