Created
April 12, 2019 17:13
-
-
Save transistor1/3df5a19c08189713a291b47f748c0a6c to your computer and use it in GitHub Desktop.
Make seabios v1.7.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /home/$(whoami)/OSXGUEST | |
cd /home/$(whoami)/OSXGUEST | |
git clone https://github.com/coreboot/seabios.git | |
wget https://raw.githubusercontent.com/transistor1/packages-archlinux/master/seabios-osx-git/seabios-dmi-cumulative-20140204.patch | |
cd seabios | |
git checkout rel-1.7.4 | |
patch -p1 < ../seabios-dmi-cumulative-20140204.patch | |
cd .. | |
docker run -ti -v `pwd`/seabios:/src --rm transistor1/karmic-build make -C /src | |
cp seabios/out/bios.bin /home/$(whoami)/OSXGUEST/bios-mac.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment