#6 We need basic packages in CentOS as well
Merged a year ago by fhrdina. Opened a year ago by mruprich.
tests/ mruprich/net-tools chroot-install  into  main

@@ -37,6 +37,7 @@ 

          rlIsFedora && rlRun "dnf -y --installroot=$chrootd --releasever=`rlGetDistroRelease` install net-tools"

          rlIsFedora && dnf -y --installroot=$chrootd --releasever=rawhide upgrade net-tools --nogpg 

          rlIsRHEL && rlRun "yum -y --installroot=$chrootd install net-tools --nogpgcheck"

+         rlIsCentOS && rlRun "dnf -y --installroot=$chrootd install net-tools --nogpgcheck"

          rlRun "mkdir $chrootd/proc/net -p"

      rlPhaseEnd

  

'chroot: failed to run command ‘/bin/bash’: No such file or directory' error is issued on CentOS because we do not install basic packages before running the test.

Pull-Request has been merged by fhrdina

a year ago
Metadata