Implement system state management with TOML serialization
- Introduced `SystemState` struct to manage system state, including stage, target, architecture, and layers. - Added functions to load and save system state from/to a TOML file. - Implemented layer management functions: add, set, and remove packages from layers. - Created initialization function for LBI layout, including directory and symlink creation. - Added tests for layer management and LBI layout initialization.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
//! Depot - Not Your Average Package Manager
|
||||
//! A source-based package manager for Linux
|
||||
|
||||
mod bootstrap;
|
||||
mod build_options;
|
||||
mod builder;
|
||||
mod cli;
|
||||
@@ -24,6 +25,7 @@ mod shell_helpers;
|
||||
mod signing;
|
||||
mod source;
|
||||
mod staging;
|
||||
mod system_state;
|
||||
#[cfg(test)]
|
||||
mod test_support;
|
||||
mod ui;
|
||||
|
||||
Reference in New Issue
Block a user