2018-05-15 14:39 GMT+02:00 Nerijus Baliunas <[email protected]>:

> On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola <[email protected]>
> wrote:
>
> > >> I have freshly installed CentOS 7.5 on a Dell server, and
> > >> /etc/yum/vars/contentdir
> > >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have
> 'centos'.
> > >
> > > I see in %post:
> > > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> > >
> > > can you please check
> > >
> > > /usr/bin/uname -m
> > >
> > > on your system?
>
> # /usr/bin/uname -m
> x86_64
>
> > Also, can you share your anaconda logs?
> > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > grep -q 'x86_64' to properly execute.
>
> In packaging.log:
> 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> (43/296)
> 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> /usr/bin/uname: No such file or directory
>

So this is a requirements error in the spec file.

centos-release should have:

Requires(post): coreutils



>
> Logs are at http://sat.lt/anaconda.tgz
>
> Regards,
> Nerijus
> _______________________________________________
> CentOS-virt mailing list
> [email protected]
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>

[email protected]
<https://red.ht/sig>
<https://redhat.com/summit>
_______________________________________________
CentOS-virt mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos-virt

Reply via email to