From 58dbbdc072deaa304ecda712d0587561e4839c4c Mon Sep 17 00:00:00 2001 From: Malte Poll Date: Wed, 3 Aug 2022 10:34:14 +0200 Subject: [PATCH] Update HACKING.md --- 3rdparty/coreos-assembler/HACKING.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/3rdparty/coreos-assembler/HACKING.md b/3rdparty/coreos-assembler/HACKING.md index 0f025daeb..9e829bdcb 100644 --- a/3rdparty/coreos-assembler/HACKING.md +++ b/3rdparty/coreos-assembler/HACKING.md @@ -5,21 +5,19 @@ Constellation uses CoreOS as a base for OS images. While the images are mostly u Checkout the CoreOS assembler source code [from the upstream repo](https://github.com/coreos/coreos-assembler) using the commit ID specified in the [Makefile](Makefile) ```shell-session -mkdir build && cd build -git clone https://github.com/coreos/coreos-assembler -git checkout +make clone ``` Apply the patch: ```shell-session -patch -p1 < ../../verity.patch +make patch ``` Now you can make changes to the coreos-assembler and compile it using the included `Dockerfile`: ```shell-session -docker build -t . +make containerimage ``` Once you are done, create a new patch file (within `3rdparty/coreos-assembler/build/coreos-assembler`):