Skip to content

3mdeb/trenchboot-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trenchboot-sdk

SDK for building and maintaining TrenchBoot patches fro 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 86.5%
  • Dockerfile 13.5%