forked from ryanrudolfoba/SteamOS-Waydroid-Installer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
3_7_kernel_module_build.sh
executable file
·36 lines (30 loc) · 1.34 KB
/
3_7_kernel_module_build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
clear
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo
#echo "<<<<<<<<<<<<<"
#echo "<<<< 'n' >>>>"
#echo "<<<<<<<<<<<<<"
#sudo pacman -Syu
echo "<<<<<<<<<<<<<"
echo "<<<< 'y' >>>>"
echo "<<<<<<<<<<<<<"
sudo pacman -S fakeroot dkms dnsmasq lxc debugedit
#get & install latest headers, 'main'-context (next supposedly would read *valve8*-something)
sudo wget https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/linux-neptune-68-headers-6.8.12.valve7-1-x86_64.pkg.tar.zst
sudo pacman -U ./linux-neptune-68-headers-6.8.12.valve7-1-x86_64.pkg.tar.zst
#get & install latest binder-dkms (which builds the missing kernel-module)
git clone https://aur.archlinux.org/binder_linux-dkms.git
cd binder_linux-dkms
makepkg
sudo pacman -U ./binder_linux-dkms-6.8-1-x86_64.pkg.tar.zst
cd ..
mkdir binder/6.8.12-valve7-1-neptune-68
#offer the kernel-module to the sd-waydroid-installer (one has always to adapt the script to include 3.7 latest)
sudo cp /usr/lib/modules/6.8.12-valve7-1-neptune-68-g8c3c3d4f5307/updates/dkms/binder_linux.ko.zst binder/6.8.12-valve7-1-neptune-68
#remove now unnec packages (nec for future reinstalls!)
sudo pacman -R fakeroot dkms binder_linux-dkms linux-neptune-68-headers
sudo steamos-readonly enable
./steamos-waydroid-installer.sh