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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for flootstrap-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22be3be7b2467ce6a1b6a57c44512bcf25c37de9f1f8c2f7f4ef880ec420c1a1 |
|
MD5 | 703b79876aa5002952b59bb13f515c00 |
|
BLAKE2b-256 | 8c3c0dd5924b08691d175111dbbda13717918939f394ab5f6bc710a8a74af15e |