Giter Club home page Giter Club logo

vaultlinux's Introduction

vaultlinux

It's ok that you had choosen Debian over Yocto for the Labrador project Sir, I forgive and don't hate you anymore. By the way, you are the hero of my life and I respect every ounce of you as a human being ๐Ÿ™‡ ๐Ÿซก .

-- Me to Santa Claus ๐ŸŽ…

Vault linux is a custom embedded linux distribution based on the Poky distro of the Yocto project. The distro main goal is to act as a criptography hub and auxiliary tool.

Obtaining the distro

Building From Source manually

First, you have to install build dependencies for your host system (in this example Ubuntu):

# Build deps
apt-get update && apt-get install -y gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev xterm python3-subunit mesa-common-dev zstd liblz4-tool locales
apt-get install -y file
apt-get install -y vim

Now, clone the Poky repository:

# Clone poky distro
mkdir ~/yocto
git clone -b master git://git.yoctoproject.org/poky.git ~/yocto
cd ~/yocto/poky && source oe-init-build-env

Clone this repo and copy all the configuration and layer files:

cd ~/
git clone -b master https://github.com/Tomcat-42/vaultlinux.git
cp -av ./yocto/* ~/poky

Now, finally build the distro:

cd ~/poky/build && bitbake core-image-full-cmdline

The build files are inside the ~/poky/build/tmp/images/qemux86-64 dir.

Building using docker

The ./Dockerfile build the distro, generating a image as output. Run:

docker built -t vaultlinux .

From releases

A pre built image is published as a github release in this repository.

Pre built container

A docker image tomcat0x42/vaultlinux is available. So, pull it:

docker pull tomcat0x42/vaultlinux

Running the distro

At the moment, only qemu images are generated, so follow his documentation for installing it.

From the image

If you built manually the image, or downloaded it, you can run it using qemu

qemu-system-x86_64 --enable-kvm  -machine q35 -device intel-iommu  -cpu host -m 1G -cdrom vaultlinux.iso

From the docker container

Or instead, just run the container:

docker run --device=/dev/kvm -it tomcat0x42/vaultlinux

Software included

This poky build uses the following custom layers:

  • meta-oe and meta-webserver: From openembedded, enables a lot of useful tools, inncluding webserver related ones like apache and php.
  • meta-ciphervault: Custom layer for installing the ciphervault software.

At all, the following utilities are included in the distro:

libcrypto libssl ciphervault openssl apache2 php php-cli ldd bash libgcc strace ltrace binutils gdb

CI/CD

This repo uses Github Actions for automation of the modification => publishing cycle.

vaultlinux's People

Contributors

tomcat-42 avatar

Stargazers

Heather Lynn Mulloy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.