fix chrpath
This commit is contained in:
parent
0ec0cde6ed
commit
dd431eec4f
@ -107,6 +107,23 @@ cp -r install_isolated/* %{buildroot}/opt/ros/noetic/
|
|||||||
cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/
|
cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/
|
||||||
cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/
|
cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/
|
||||||
|
|
||||||
|
####
|
||||||
|
# 对chrpath修改
|
||||||
|
#
|
||||||
|
####
|
||||||
|
file `find %{buildroot}/opt/ros/noetic/lib/ -type f` | grep -w ELF | awk -F: '{print $1}' | xargs chrpath -d
|
||||||
|
|
||||||
|
|
||||||
|
#chrpath -d %{buildroot}/opt/ros/noetic/lib/librostime.so
|
||||||
|
#mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
#echo %{buildroot}/opt/ros/noetic/lib/:%{buildroot} > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
#%post
|
||||||
|
#/sbin/ldconfig
|
||||||
|
|
||||||
|
#%postun
|
||||||
|
#/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/opt/ros/noetic/*
|
/opt/ros/noetic/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user