Skip to content

Commit 85cd1fb

Browse files
committed
Reconfigure ld.so.conf too when enabling sunxidrm
1 parent 293140c commit 85cd1fb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

package/root/usr/local/sbin/pine64_disable_sunxidrm.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ set -xe
44

55
dpkg-divert --remove --rename /etc/modules-load.d/pine64-disp.conf
66
dpkg-divert --remove --rename /etc/X11/xorg.conf.d/40-pine64-fbturbo.conf
7+
dpkg-divert --remove --rename /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf
78

89
dpkg-divert --remove --rename /etc/modules-load.d/pine64-sunxidrm.conf.disabled
910
dpkg-divert --remove --rename /etc/X11/xorg.conf.d/40-pine64-armsoc.conf.disabled
11+
dpkg-divert --remove --rename /etc/ld.so.conf.d/mali.conf.disabled
12+
13+
ldconfig
1014

1115
echo "Done. Please reboot!"

package/root/usr/local/sbin/pine64_enable_sunxidrm.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ set -xe
1414

1515
dpkg-divert --divert /etc/modules-load.d/pine64-disp.conf.disabled --rename /etc/modules-load.d/pine64-disp.conf
1616
dpkg-divert --divert /etc/X11/xorg.conf.d/40-pine64-fbturbo.conf.disabled --rename /etc/X11/xorg.conf.d/40-pine64-fbturbo.conf
17+
dpkg-divert --divert /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf.disabled --rename /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf
1718

1819
dpkg-divert --divert /etc/modules-load.d/pine64-sunxidrm.conf --rename /etc/modules-load.d/pine64-sunxidrm.conf.disabled
1920
dpkg-divert --divert /etc/X11/xorg.conf.d/40-pine64-armsoc.conf --rename /etc/X11/xorg.conf.d/40-pine64-armsoc.conf.disabled
21+
dpkg-divert --divert /etc/ld.so.conf.d/mali.conf --rename /etc/ld.so.conf.d/mali.conf.disabled
22+
23+
ldconfig
2024

2125
echo "Done. Please reboot!"

0 commit comments

Comments
 (0)