Do not re-enable nvmefc-boot-connections if the package

gets updated.

Resolves: #2141593

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
This commit is contained in:
Maurizio Lombardi 2022-11-10 13:28:11 +01:00
parent dadb8c7a70
commit 2dafb822d9

View File

@ -3,7 +3,7 @@
Name: nvme-cli
Version: 2.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: NVMe management command line interface
License: GPLv2+
@ -78,13 +78,18 @@ if [ $1 -eq 1 ] || [ $1 -eq 2 ]; then
fi
# apply udev and systemd changes that we did
if [ $1 -eq 1 ]; then
systemctl enable nvmefc-boot-connections
fi
systemctl daemon-reload
udevadm control --reload-rules && udevadm trigger
exit 0
fi
%changelog
* Thu Nov 10 2022 Maurizio Lombardi <mlombard@redhat.com> - 2.1.2-2
- Do not re-enable nvmefc-boot-connections when the package gets updated
* Mon Sep 26 2022 Maurizio Lombardi <mlombard@redhat.com> - 2.1.2-1
- Update to version v2.1.2