bareflank-hypervisor/tools/scripts/fetch_libbfc.sh
Rian Quinn e7ccb7b049 Isolation (#117)
* New Build System

This patch provides a new build system that:
- provides support for docker to decrease the time it takes to
  run a build. a local compiler can still be used if desired
- provide better support for other platforms
- provides support for out-of-tree compilation which also
  allows for multiple build trees if desired

Signed-off-by: Rian Quinn <quinnr@ainfosec.com>

* Isolation Complete

This patch set adds the remaining code needed to isolate the
hypervisor from the host OS. Specifically, this provides
the hypervisor with it's own set of page tables.

Signed-off-by: “Rian <“rianquinn@gmail.com”>
2016-06-24 14:21:46 -04:00

35 lines
1.1 KiB
Bash
Executable file

#!/bin/bash -e
#
# Bareflank Hypervisor
#
# Copyright (C) 2015 Assured Information Security, Inc.
# Author: Rian Quinn <quinnr@ainfosec.com>
# Author: Brendan Kerrigan <kerriganb@ainfosec.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
%ENV_SOURCE%
pushd $BUILD_ABS
n=0
until [ $n -ge 5 ]
do
git clone --depth 1 https://github.com/Bareflank/libbfc.git source_libbfc && break
n=$[$n+1]
sleep 15
done
popd