Skip to content
Browse files

bootstrap script for ubuntu

  • Loading branch information...
jacobgorm committed Nov 14, 2017
1 parent 388c889 commit dc3cf7765a9fd883e5d829d88d005d56cf8b3cba
Showing with 19 additions and 0 deletions.
  1. +19 −0
@@ -0,0 +1,19 @@
sudo apt-get -y install cmake ninja-build liblz4-dev libb2-dev libcurl4-gnutls-dev uuid-dev

mkdir -p dev &&\
cd dev &&\
git clone &&\
cd oneroot && \

mkdir -p swapdata-2cde296d-1900-45e3-857d-0a3cfb42ae87
(cd swapdata-2cde296d-1900-45e3-857d-0a3cfb42ae87; wget

echo >foo.swap 'uuid=2cde296d-1900-45e3-857d-0a3cfb42ae87'
echo >>foo.swap 'size=104857600'
echo >>foo.swap 'fallback='
echo >>foo.swap 'fallback='

sudo modprobe nbd
sudo ./build/oneroot foo.swap

0 comments on commit dc3cf77

Please sign in to comment.
You can’t perform that action at this time.