Browse Source

remove the shared library priority configuration

Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn>
pull/24/head
weishanshan1084 7 months ago
parent
commit
5e23ceb71d
  1. 8
      board/phytium/common/post-build.sh

8
board/phytium/common/post-build.sh

@ -118,14 +118,6 @@ main()
ln -sf /lib/systemd/system/phytium-tee-supplicant.service $1/etc/systemd/system/sysinit.target.wants/phytium-tee-supplicant.service
fi
# change the priority order of the shared library directories
if ! grep -q "/usr/local/lib" $1/etc/ld.so.conf; then
sed -i '1 i /usr/local/lib' $1/etc/ld.so.conf
sudo chroot $1 ldconfig
sudo chown -R $USER:$GROUPS $1/etc/ld.so.cache
sudo chown -R $USER:$GROUPS $1/var/cache/ldconfig/aux-cache
fi
exit $?
}

Loading…
Cancel
Save