mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-23 22:40:46 +02:00
rh-bkr: fix the downgrade/install
No need to install the NetworkManager-wifi separately and update yum. Also, downgrade succeeding doesn't mean we have all the wanted packages.
This commit is contained in:
parent
58d180acaa
commit
b16c00155a
1 changed files with 2 additions and 3 deletions
|
|
@ -46,9 +46,8 @@ EOF
|
|||
sed -e '/^\s*linux16\s*\/vmlinuz/ s/$/ $SELINUX_DISABLED/' -i /boot/grub2/grub.cfg || :
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-mlx*
|
||||
|
||||
DEFAULT_RPM_LIST="yum NetworkManager-wifi"
|
||||
|
||||
yum downgrade -y $$DEFAULT_RPM_LIST $RPM_LIST || yum install -y $$DEFAULT_RPM_LIST $RPM_LIST
|
||||
yum downgrade -y $RPM_LIST
|
||||
yum install -y $RPM_LIST
|
||||
|
||||
if [[ -n "$BUILD_ID" ]]; then
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue