Skip to content
/ ddi-tool Public

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

License

Notifications You must be signed in to change notification settings

malt3/ddi-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages