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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flootstrap-0.1.0.tar.gz.

File metadata

  • Download URL: flootstrap-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for flootstrap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4cb5bb13921c93e0525db45ecf38b14455f9a3c43b8dc1585d0804bcbb4d4fd9
MD5 8ca67ad1d7478c5855abe1c6d237d87b
BLAKE2b-256 1bb41b583ab54da92b7b1c3d7489dbd7795699d11d19256daae569bc3e009727

See more details on using hashes here.

File details

Details for the file flootstrap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flootstrap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for flootstrap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22be3be7b2467ce6a1b6a57c44512bcf25c37de9f1f8c2f7f4ef880ec420c1a1
MD5 703b79876aa5002952b59bb13f515c00
BLAKE2b-256 8c3c0dd5924b08691d175111dbbda13717918939f394ab5f6bc710a8a74af15e

See more details on using hashes here.

Supported by

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