diff --git a/board/phytium/common/post-build.sh b/board/phytium/common/post-build.sh index 82a8797b..d62a9c75 100755 --- a/board/phytium/common/post-build.sh +++ b/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 $? }