How snapshotmanager/boom-boot works
Boom is a Linux Boot Loader Specification manager for creating and maintaining boot entries, including entries that boot storage snapshots. The principal workflow is an administrator invoking the CLI to create or manage entries; Boom uses OS and host profiles to derive boot parameters, writes BLS entries, and can optionally back up kernel and initramfs images. The README also documents legacy bootloader synchronization and LVM2, Stratis, and BTRFS support. Relationships are limited to README statements and SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: command.py Boom CLI · bootloader.py BLS entries · cache.py Boot image cache · legacy.py Legacy sync
Components 16
Profiles and configuration
- Shared definitions
boom/_boom.py - Configuration
boom/config.py - OS profiles
boom/osprofile.py - Host profiles
boom/hostprofile.py
Boot entry management
- BLS entries
boom/bootloader.py - Boot image cache
boom/cache.py - Legacy sync
boom/legacy.py
Storage and compatibility
- Mount handling
boom/mounts.py - LVM2 support
boom/lvm2.py - Stratis support
boom/stratis.py - Snapshot storage
Other components
- System administrator
- BLS bootloader
- stratisd service
Connections 20
- System administrator → Boom CLI: runs commands
README.md - Boom CLI → BLS entries: manages entries
boom/command.py - Boom CLI → OS profiles: manages profiles
boom/command.py - Boom CLI → Host profiles: manages profiles
boom/command.py - Boom CLI → Reports: formats output
boom/command.py - Boom CLI → Configuration: uses settings
boom/command.py - Boom CLI → Boot image cache: manages cache
boom/command.py - Boom CLI → Legacy sync: syncs entries
boom/command.py - Boom CLI → Mount handling: parses mounts
boom/command.py - BLS entries → OS profiles: uses templates
boom/bootloader.py - BLS entries → Host profiles: uses overrides
boom/bootloader.py - BLS entries → LVM2 support: checks LVM
boom/bootloader.py - BLS entries → Stratis support: checks Stratis
boom/bootloader.py - BLS entries → BLS bootloader: writes entries
README.md - Boot image cache → BLS entries: backs up images
boom/cache.py - Legacy sync → BLS entries: reads entries
boom/legacy.py - Stratis support → stratisd service: queries service
boom/stratis.py - Snapshot storage → BLS entries: provides snapshots
README.md - System administrator → Snapshot storage: creates snapshots
README.md - Shared definitions → Configuration: holds settings