ddi-tool

command module
v0.0.0-...-392910b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: ISC Imports: 1 Imported by: 0

README

ddi-tool

Tool for manipulating discoverable disk images (DDIs) in-place.

Currently, it supports in-place patching of the embedded kernel cmdline in the .cmdline section of the UKI. This can be used to update the expected dm-verity roothash or usrhash after building the image.

Installation

git clone https://github.com/malt3/ddi-tool && cd ddi-tool
go install .

Usage

# build a ddi using systemd-repart
# systemd-repart --json pretty ...
ddi-tool finalize --repart-json repart-output.json --uki-path /EFI/BOOT/BOOTX64.EFI image.raw

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
pkg
ddi
fat
gpt
uki

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL