[Arm-dev] [question] CentOS 7 Installer ISO generating

Mon May 23 19:33:55 UTC 2016
Jim Perrin <jperrin at centos.org>


On 05/23/2016 01:37 PM, Lomovtsev, Vadim wrote:
> Hi all,
> 
> With the original ISO and updated kernel using VA length set to 48 bits we got an issue wit polkitd crash because of mozjs can't work with 48 bits VA. There is an open bug https://bugzilla.mozilla.org/show_bug.cgi?id=1143022 but there are not much updates. 
> 
> So I applied patch for mozjs, recreate rpm and tested it - works well, no crashes observed. 

What patch did you apply? For this sort of thing, I could be convinced
to bump the mozjs release with said patch included.

> For my setup I need to have it installed automatically at system deployment phase using installer ISO. Now every time I need to update mozjs rpm manually along with kernel rpm.


Correct. This is one of the reasons we try to push for folks to upstream
their work. Otherwise you get a snowball of things you have to maintain
yourself that just keeps growing.

> 
> I've tried to repack existing ISO with my rpms (updating packages repository) but in this case anaconda fails to proceed installation due to rpms signing checks of something like that. 
> It looks like I need to recreate whole ISO from scratch, or properly update repodata for packages (simple createrepo is not enough) isn't it? 
> 

This is likely because yum checks that the packages are properly GPG
signed on install. Since your package isn't signed with the distro key
it may not behave as you'd expect.

> I believe that I need to use CentOS deployed at armv8 system and use lorax to create an ISO , is that right or it could be built in cross-compiler environment?

You should be able to create the metadata from any centos install,
however cross-compiling it would probably break things.

> 
> We also will need to add some extra packages for KVM support and this could help us also.


Which packages? KVM support is already built into the distro, so are
these additional, or patched versions?

-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77