Skip to main content

Linux Bootstrapper

Project description

Overview

Flootstrap is a python wrapper around Linux distributions bootstrappers. Chroot's environments are useful for building locally in a native guest environment and don't pollute your system with dependencies.

There are other alternatives for isolating a system for building and testing, but unlike container-based alternatives like Docker, this only abstracts the file system, not the system as a whole.

Examples

[debian-bookworm]
target = 'debian-bookworm'
arch = 'amd64'
dir = 'debian-bookworm-amd64'
post_script = 'post-script.sh'

[fedora-28]
target = 'fedora-28'
arch = 'amd64'
dir = 'fedora-28-amd64'
post_script = 'post-script.sh'

Running

Listing available distributions and versions

$> flootstrap -l debug list

Building the entries on the file

$> flootstrap -l debug build examples/rootfs.toml

Running a command inside the rootfs

$> flootstrap -l debug run examples/rootfs.toml debian-bookworm /bin/bash

TODO

  • Add support for ENV variables in the toml definition
  • Call the post-script after the rootfs is created
  • Add support for extra command line options when triggering the bootstrapper
  • Fix rinse error Use of uninitialized value $CONFIG{"width"} in subtraction (-) at /usr/sbin/rinse line 1247

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flootstrap-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

flootstrap-0.1.0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page