Skip to content

Commit

Permalink
add mtools to list of packages needed to build
Browse files Browse the repository at this point in the history
  • Loading branch information
rachlmac committed Nov 8, 2016
1 parent 1f9c0b6 commit 7db1207
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Once you have Rust installed, you will need the following additional dependencie
+ `ld`
+ `grub-mkrescue` & `xorriso`
+ `qemu` for running the kernel under emulation
+ `mtools`

Depending on your OS, you'll want to install these dependencies somewhat differently.

Expand All @@ -53,11 +54,11 @@ Depending on your OS, you'll want to install these dependencies somewhat differe
On Debian you can install them with

```
$ sudo apt-get install nasm xorriso qemu build-essential
$ sudo apt-get install nasm xorriso qemu mtools build-essential
```
On Arch Linux you can install them with
```
$ sudo pacman -S --needed binutils grub libisoburn nasm qemu
$ sudo pacman -S --needed binutils grub libisoburn nasm qemu mtools
```
And on Fedora with
```
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-env-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ case $distro in
exit
fi

sudo apt-get install nasm xorriso qemu build-essential | sed "s/^/${bold}apt-get:${normal} /"
sudo apt-get install nasm xorriso qemu build-essential mtools | sed "s/^/${bold}apt-get:${normal} /"
;;
Arch | ManjaroLinux)
echo "${bold}install-env-linux:${normal} Installing with pacman."
Expand All @@ -56,7 +56,7 @@ case $distro in
exit
fi

sudo pacman -S --needed binutils grub libisoburn nasm qemu | sed "s/^/${bold}pacman:${normal} /"
sudo pacman -S --needed binutils grub libisoburn nasm qemu mtools | sed "s/^/${bold}pacman:${normal} /"
;;
esac
# todo: support non-x86_64 architectures here (later)
Expand Down

0 comments on commit 7db1207

Please sign in to comment.