mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-03-19 13:36:15 -04:00
Update HACKING.md
This commit is contained in:
parent
9e057f5a7f
commit
58dbbdc072
8
3rdparty/coreos-assembler/HACKING.md
vendored
8
3rdparty/coreos-assembler/HACKING.md
vendored
@ -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 <HASH>
|
||||
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 <TAG> .
|
||||
make containerimage
|
||||
```
|
||||
|
||||
Once you are done, create a new patch file (within `3rdparty/coreos-assembler/build/coreos-assembler`):
|
||||
|
Loading…
x
Reference in New Issue
Block a user