Git Product home page Git Product logo

flatcar-forklift's Introduction

forklift

SystemD service to deploy always up-to-date kernel modules for Flatcar Container Linux

Background

Compiling drivers on Flatcar Container Linux is typically non-trivial because the OS ships without build tools and no obvious way to access the kernel sources. Forklift works by pre-compiling your kernel modules inside of a Flatcar Container Linux developer container. On startup the Forklift service will pull down the docker image containing pre-compiled kernel module binaries that match your Flatcar version, cache the binaries on your host, and then load the kernel modules.

This project currently supports generating NVIDIA kernel modules, however it can be extended to support any module.

Forklift is based on the following CoreOS projects:

See my blog post for more information:

https://blog.thesparktree.com/customize-flatcar-kernel-part-3

SystemD Installation

sudo git clone https://github.com/mediadepot/flatcar-forklift.git /opt/flatcar-forklift
sudo /opt/flatcar-forklift/install.sh

sudo systemctl enable usr-lib-modules.mount
sudo systemctl start usr-lib-modules.mount

sudo systemctl enable forklift@nvidia
sudo systemctl start forklift@nvidia

# read the logs
sudo journalctl -fu  forklift@nvidia

Supported Drivers

Driver Name Url
NVIDIA https://github.com/mediadepot/docker-flatcar-nvidia-driver

flatcar-forklift's People

Contributors

analogj avatar

Forkers

ecogit-stage

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.