mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Fix issue 5933: xCAT-openbmc-py build failed
This commit is contained in:
parent
031e8a25ec
commit
dac5b6963e
@ -2,4 +2,5 @@ opt/xcat/lib/python/agent
|
||||
opt/xcat/lib/python/agent/xcatagent
|
||||
opt/xcat/lib/python/agent/common
|
||||
opt/xcat/lib/python/agent/hwctl
|
||||
opt/xcat/lib/python/agent/hwctl/executor
|
||||
opt/xcat/lib/python/agent/hwctl/openbmc
|
||||
opt/xcat/lib/python/agent/hwctl/redfish
|
||||
|
@ -36,12 +36,14 @@ install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/xcatagent
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/common
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/executor
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/openbmc
|
||||
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/redfish
|
||||
install -m755 lib/python/agent/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
||||
install -m644 lib/python/agent/xcatagent/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/xcatagent
|
||||
install -m644 lib/python/agent/common/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/common
|
||||
install -m644 lib/python/agent/hwctl/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl
|
||||
install -m644 lib/python/agent/hwctl/executor/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/executor
|
||||
install -m644 lib/python/agent/hwctl/openbmc/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/openbmc/
|
||||
install -m644 lib/python/agent/hwctl/redfish/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/redfish/
|
||||
|
||||
%ifnos linux
|
||||
rm -rf $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
||||
|
Loading…
x
Reference in New Issue
Block a user