Skip to content

Instantly share code, notes, and snippets.

@transistor1
Created April 12, 2019 17:13
Show Gist options
  • Save transistor1/3df5a19c08189713a291b47f748c0a6c to your computer and use it in GitHub Desktop.
Save transistor1/3df5a19c08189713a291b47f748c0a6c to your computer and use it in GitHub Desktop.
Make seabios v1.7.4
#!/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