genpac 0.1.0

Sandbox for Gentoo ebuild development using bubblewrap
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2023 Gokul Das B
// SPDX-License-Identifier: GPL-3.0-or-later
//! Extraction module
//!
//! This module is used to extract the stage-3 archive into a blank chroot. For this, we sandbox the
//! chroot with GNU tar and the archive file mounted. GNU tar will also require some shared objects
//! to be mounted - we mount /lib64 directory as well. Finally, the extraction command is run inside
//! the sandbox.

pub use cli::SubCmdArgs;

mod bwrap;
mod cli;