Compare commits
No commits in common. "5664a38bd38150be577928f63af11735648a49bb" and "42282f018981986239859f52eecc7720252a6123" have entirely different histories.
5664a38bd3
...
42282f0189
BIN
1.00.029.tar.gz
BIN
1.00.029.tar.gz
Binary file not shown.
BIN
nvme-snsd-1.00.008.tar.gz
Normal file
BIN
nvme-snsd-1.00.008.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,13 @@
|
|||||||
Name: nvme-snsd
|
Name: nvme-snsd
|
||||||
Version: 1.00.029
|
Version: 1.00.008
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: nvme-snsd service
|
Summary: nvme-snsd service
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: https://gitee.com/openeuler/%{name}
|
URL: https://gitee.com/openeuler/redf
|
||||||
Source: https://gitee.com/openeuler/%{name}/repository/archive/%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: glibc
|
|
||||||
BuildRequires: gcc,make,dos2unix
|
BuildRequires: gcc,make,dos2unix
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -43,32 +43,10 @@ rm -rf %{buildroot}
|
|||||||
chmod 0550 %{_bindir}/nvme-snsd
|
chmod 0550 %{_bindir}/nvme-snsd
|
||||||
chmod 0440 /usr/share/doc/snsd.conf
|
chmod 0440 /usr/share/doc/snsd.conf
|
||||||
chmod 0440 /usr/lib/systemd/system/nvme-snsd.service
|
chmod 0440 /usr/lib/systemd/system/nvme-snsd.service
|
||||||
|
|
||||||
if [ ! -f /etc/nvme/snsd.conf ];then
|
|
||||||
mkdir -pv /etc/nvme/
|
|
||||||
cat >/etc/nvme/snsd.conf <<"EOF"
|
|
||||||
[BASE]
|
|
||||||
; The delay time of disconnecting device when net link down. Unit is second.
|
|
||||||
; The recommended value is 0.
|
|
||||||
--restrain-time = 0
|
|
||||||
|
|
||||||
[SW]
|
|
||||||
; Switching network configuration, mandatory: --host-traddr, --protocol
|
|
||||||
; If "--host-traddr" is set to "any", other IP addresses cannot be configured for the switching network, All customer networks support SNSD.
|
|
||||||
; eg: --host-traddr = xxxx | --protocol = roce
|
|
||||||
|
|
||||||
[DC]
|
|
||||||
; Configuration of the directly connected network, mandatory: --host-traddr, --protocol, --traddr
|
|
||||||
; eg: --host-traddr = xxxx | --traddr = xxxx | --protocol = roce
|
|
||||||
|
|
||||||
EOF
|
|
||||||
chmod 0644 /etc/nvme/snsd.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
systemctl enable nvme-snsd
|
systemctl enable nvme-snsd
|
||||||
systemctl start nvme-snsd
|
systemctl start nvme-snsd
|
||||||
|
|
||||||
%preun
|
%postun
|
||||||
systemctl stop nvme-snsd
|
systemctl stop nvme-snsd
|
||||||
systemctl disable nvme-snsd
|
systemctl disable nvme-snsd
|
||||||
|
|
||||||
@ -79,13 +57,3 @@ systemctl disable nvme-snsd
|
|||||||
/usr/lib/systemd/system/nvme-snsd.service
|
/usr/lib/systemd/system/nvme-snsd.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 31 2023 Guangyan Lv <lvguangyan2@huawei.com> - 1.00.029-3
|
|
||||||
- Update rpmbuild spec, fix uninstallation issues for nvme-snsd.
|
|
||||||
|
|
||||||
* Sat Jul 30 2022 Ruozhu Li <liruozhu@huawei.com> - 1.00.029-2
|
|
||||||
- Update src tar fetch from upstream release.
|
|
||||||
|
|
||||||
* Tue Feb 22 2022 Ruozhu Li <liruozhu@huawei.com> - 1.00.029-1
|
|
||||||
- Added the function of sending a notification message to the switch when the software starts, and the switch sending domain members to the host, improving the reliability of software upgrade scenarios.
|
|
||||||
- Add more connection parameter support, consistent with nvme cli.
|
|
||||||
- Bond ports can join the domain and automatically establish a connection.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user