#9 [Cloud SIG] Use util-linux instead of util-linux-ng
Opened 2 months ago by yatinkarel. Modified a day ago
centos/ yatinkarel/cbs-tools master  into  master

@@ -2,8 +2,8 @@ 

  

  if [[ "x$DIST" == "x8" || "x$DIST" == "x8s" ]]

  then

- 	BUILDROOT_DEFAULT="bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed unzip util-linux-ng git which buildsys-tools xz"

+ 	BUILDROOT_DEFAULT="bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed unzip util-linux git which buildsys-tools xz"

  else

- 	BUILDROOT_DEFAULT="openstack-macros bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed unzip util-linux-ng git which buildsys-tools xz"

+ 	BUILDROOT_DEFAULT="openstack-macros bash bzip2 coreutils cpio diffutils redhat-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed unzip util-linux git which buildsys-tools xz"

  fi

  COMMON_INHERITANCE=false

Although util-linux rpm in CentOS8 Provides util-linux-ng but it
fails with:
No match for group package "util-linux-ng".

Some package like SecretStorage fails to build due to missing util-linux
with:-
/usr/bin/xvfb-run: line 105: getopt: command not found

Changing buildroot default for CloudSIG to rely on util-linux
instead of util-linux-ng.

Well, switching the buildroot for all supported distro (at this stage 7 and 8) has to be verified/validated.
Would be worth testing with centos 7 ? I see that util-linux in 7 should provide util-linux-ng :

util-linux-2.23.2-63.el7.x86_64 : A collection of basic system utilities
Repo        : @base
Matched from:
Provides    : util-linux-ng = 2.23.2-63.el7

@alphacc : can you review this change too ?

<< Would be worth testing with centos 7 ? I see that util-linux in 7 should provide util-linux-ng :
I checked some logs[1] for C7 builds and there util-linux get's installed, still some additional tests needed?

[1] https://cbs.centos.org/kojifiles/work/tasks/3079/1473079/root.log

Looks fine to me, what buildroot tags do we need to re-create at this point ?

Looks fine to me, what buildroot tags do we need to re-create at this point ?

Can add to CentOS8 openstack releases https://cbs.centos.org/koji/search?terms=cloud8*el8*&type=tag&match=glob, we

+1 for this PR :thumbsup:

I'm hitting an issue during the build of SecretStorage [1] because of util-linux missing in cloud8-openstack-wallaby-el8-build buildroot (missing getopt binary).

[1] https://cbs.centos.org/koji/taskinfo?taskID=1677154

Metadata