Fix precompiled kernel in Wine (x86)

pull/910/head
Itai Nelken 3 years ago
parent f5013e09ca
commit 2e90ae3804
No known key found for this signature in database
GPG Key ID: E45E4E2C367B8AE6

@ -107,7 +107,7 @@ elif echo "$vmsplit_output" | grep -q "^CONFIG_VMSPLIT_2G=y" || echo "$vmsplit_o
#extract precompiled kernel
echo "Extracting prebuilt kernel..."
sleep 0.5 # so user has time to read what is happening
unzip ~/rpi23_3g1g_kernel.zip || error "Failed to extract kernel!"
unzip ~/3g1g-rpi-kernel.zip || error "Failed to extract kernel!"
cd linux || error "Failed to change folder to ~/linux!"
#install the precompiled kernel
export KERNEL=kernel7
@ -117,7 +117,7 @@ elif echo "$vmsplit_output" | grep -q "^CONFIG_VMSPLIT_2G=y" || echo "$vmsplit_o
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img || error "Failed to copy kernel to /boot/$KERNEL.img!"
cd
rm -rf linux
rm -rf linux ~/3g1g-rpi-kernel.zip
#message
echo -e "\e[1mIt appears the precompiled 3G/1G kernel has been installed successfully.\nPlease reboot and install the Wine app again.\e[0m"
sleep infinity

Loading…
Cancel
Save