Files
x86-bare-metal-examples/configure
2019-08-24 00:00:05 +00:00

30 lines
580 B
Bash
Executable File

#!/usr/bin/env bash
# grub-pc-bin: without it, grub-mkrescue just fails, and you have no idea why!
# We love you, GRUB.
# https://superuser.com/questions/603051/grub-mkrescue-not-producing-bootable-image/973021#973021
# https://github.com/cirosantilli/x86-bare-metal-examples/issues/5#issuecomment-377948357
# https://wiki.osdev.org/Bare_Bones
if [ $# -eq 1 ]; then
sudo=
y=-y
else
sudo=sudo
y=
fi
$sudo apt-get install $y \
bochs \
bochs-sdl \
build-essential \
gcc \
gcc-multilib \
gdb \
gnu-efi \
grub-pc-bin \
make \
nasm \
qemu \
xorriso\
;