Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1009 Bytes

README.md

File metadata and controls

68 lines (46 loc) · 1009 Bytes

trenchboot-sdk

SDK for building and maintaining TrenchBoot patches for GRUB2, Xen and Linux kernel.

How to compile most recent TrenchBoot patches

GRUB2

Clone GRUB2 repository:

git clone https://github.com/TrenchBoot/grub.git -b intel-txt-mb2

Run TrenchBoot SDK container:

docker run --rm -it -v $PWD/grub:/home/trenchboot/grub \
-w /home/trenchboot/grub \
ghcr.io/trenchboot/trenchboot-sdk:master /bin/bash

Prepare GRUB2 compilation:

./bootstrap && ./autogen.sh

Create build directory:

mkdir -p build && cd build

Configure:

../configure --disable-werror --prefix=$PWD/local

Compile:

make

Xen

Clone Xen repository:

git clone https://github.com/3mdeb/xen.git -b tb-xen-txt

Run TrenchBoot SDK container:

docker run --rm -it -v $PWD/xen:/home/trenchboot/xen \
-w /home/trenchboot/xen \
ghcr.io/trenchboot/trenchboot-sdk:master /bin/bash

Compile:

make build-xen