@@ -66,40 +66,4 @@ Then, once the breakpoint is hit, you can get a shell on your computer with:
6666script -qfc " socat STDIO UNIX-CONNECT:debug.sock" /dev/null
6767```
6868
69- From here, you can run ` mkosi-chroot /bin/bash ` to get inside Debian
70-
71- Directory Structure
72- -------------------
73-
74- ```
75- .
76- ├── mkosi.conf # Main mkosi configuration file
77- ├── mkosi.prepare # Copies nix-generated kernel into the image
78- ├── mkosi.finalize # Cleans up stray files at the end of the image generation process
79- ├── debloat.conf # Configuration to remove unnecessary files from the base image
80- ├── env.json.example # Example environment variable configuration
81- ├── mkosi.skeleton # Files to be directly copied into all images
82- │ ├── etc/rcS.d # Early boot scripts
83- │ │ ├── S02network # Minimal network interface and dhcp setup script
84- │ │ └── S02persistence # Script to setup /persistent directory
85- │ └── init # Initramfs entrypoint. This is called directly by the kernel
86- ├── scripts # Contains helper scripts for building and installing services
87- │ ├── install_service.sh # Configures a script from services/ to run on boot with logs
88- │ └── build_rust_package.sh # Helper script to reproducibly build rust binaries inside chroot
89- ├── services # Contains runit service files
90- │
91- ├── flake.nix # Defines a shell environment with fixed deps for mkosi
92- ├── kernel-yocto.config # Kernel configuration for kernel.nix, copied directly from Yocto
93- ├── kernel.nix # Nix derivation to reproducibly build the kernel
94- │
95- ├── buildernet # Contains all buildernet-specific configuration
96- │ ├── mkosi.skeleton/etc # Template files for services, rendered using env.json
97- │ ├── render-config.sh # Renders mustache files using env.json and download rbuilder-bidding
98- │ ├── buildernet.conf # Primary configuration file for rbuilder mkosi configuration
99- │ ├── mkosi.build # Calls rust build script to build lighthouse, reth, and rbuilder
100- │ └── mkosi.postinst # Handles buildernet-specific users/permissions
101- │
102- └── devtools # Configuration for image development and testing
103- ├── devtools.conf # Primary configuration file for devtools
104- └── rcS.d/S00console # Early boot script for an interactive shell over serial
105- ```
69+ From here, you can run ` mkosi-chroot /bin/bash ` to get inside Debian
0 commit comments