mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 13:38:43 +02:00
rh-bkr: fix run without RPM_LIST
This commit is contained in:
parent
b16c00155a
commit
7b4e728e11
1 changed files with 7 additions and 2 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
abrt-tui
|
abrt-tui
|
||||||
abrt-addon-ccpp
|
abrt-addon-ccpp
|
||||||
libreport-rhel-bugzilla
|
libreport-rhel-bugzilla
|
||||||
|
NetworkManager-wifi
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --log=/dev/console --erroronfail
|
%post --log=/dev/console --erroronfail
|
||||||
|
|
@ -46,8 +47,12 @@ EOF
|
||||||
sed -e '/^\s*linux16\s*\/vmlinuz/ s/$/ $SELINUX_DISABLED/' -i /boot/grub2/grub.cfg || :
|
sed -e '/^\s*linux16\s*\/vmlinuz/ s/$/ $SELINUX_DISABLED/' -i /boot/grub2/grub.cfg || :
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-mlx*
|
rm -f /etc/sysconfig/network-scripts/ifcfg-mlx*
|
||||||
|
|
||||||
yum downgrade -y $RPM_LIST
|
if [[ -n "$RPM_LIST" ]]; then
|
||||||
yum install -y $RPM_LIST
|
|
||||||
|
yum downgrade -y $RPM_LIST
|
||||||
|
yum install -y $RPM_LIST
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "$BUILD_ID" ]]; then
|
if [[ -n "$BUILD_ID" ]]; then
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue