Skip to content

Commit 48cee49

Browse files
committed
Add support for Arch Linux (and its flavors).
Signed-off-by: Oguz Meteer <info@guztech.nl>
1 parent da8f1ad commit 48cee49

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ A longer list of features and limitations is on the [wiki feature list](https://
4848
$ sudo ./install.sh
4949
```
5050

51+
Or if you are running Arch Linux (or one of its flavors):
52+
53+
```
54+
$ git clone https://github.com/hioa-cs/IncludeOS
55+
$ cd IncludeOS
56+
$ ./install.sh
57+
```
58+
5159
**The script will:**
5260

5361
* Install the required dependencies: `curl make clang-3.8 nasm bridge-utils qemu`.

etc/install_build_requirements.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ case $SYSTEM in
3737
sudo dnf install $DEPENDENCIES
3838
exit 0;
3939
;;
40+
"Arch")
41+
DEPENDENCIES="curl make clang nasm bridge-utils qemu jq"
42+
echo ">>> Installing dependencies (requires sudo):"
43+
echo " Packages: $DEPENDENCIES"
44+
sudo pacman -Syyu
45+
sudo pacman -S $DEPENDENCIES
46+
exit 0;
47+
;;
4048
esac
4149
esac
4250

install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ check_os_support() {
2727
export INCLUDEOS_SRC=`pwd`
2828
return 0;
2929
;;
30+
"Arch")
31+
return 0;
32+
;;
3033
esac
3134
esac
3235
return 1;
@@ -35,7 +38,7 @@ check_os_support() {
3538
# check if system is supported at all
3639
if ! check_os_support $SYSTEM $RELEASE; then
3740
echo -e ">>> Sorry <<< \n\
38-
Currently only Ubuntu, Fedora and OSX are actively supported for *building* IncludeOS. \n\
41+
Currently only Ubuntu, Fedora, Arch, and OSX are actively supported for *building* IncludeOS. \n\
3942
On other Linux distros it shouldn't be that hard to get it to work - take a look at\n \
4043
./etc/install_from_bundle.sh \n"
4144
exit 1

0 commit comments

Comments
 (0)