Update README.md

This commit is contained in:
Harald Hoyer 2020-03-13 10:48:25 +01:00 committed by GitHub
parent 6368f8d4da
commit 74cbeed46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,9 +95,7 @@ This will create the following files and directories:
- `VerityBook` - keep this directory around for updates - `VerityBook` - keep this directory around for updates
(includes needed passwd/group history and rpmdb) (includes needed passwd/group history and rpmdb)
- `dist/VerityBook-<HASH>.img` - the root image - `dist/VerityBook-<HASH>.img` - the root image
- `dist/VerityBook-<HASH>-efi.tgz` - signed efi binaries
- `dist/VerityBook-31.<datetime>.json` - metadata of the image - `dist/VerityBook-31.<datetime>.json` - metadata of the image
- `dist/VerityBook-31.<datetime>.json.sig` - signature of the metadata
- `dist/VerityBook-latest.json` - a symlink to the latest version - `dist/VerityBook-latest.json` - a symlink to the latest version
## Sign the release ## Sign the release
@ -109,11 +107,14 @@ Rename ```DB.key``` ```DB.crt``` to ```VerityBook.key``` and ```VerityBook.crt``
Optionally copy ```Shell.efi``` (might be ```/usr/share/edk2/ovmf/Shell.efi```) to the veritybook directory. Optionally copy ```Shell.efi``` (might be ```/usr/share/edk2/ovmf/Shell.efi```) to the veritybook directory.
```console ```console
$ sudo ./mkrelease.sh VerityBook-latest.json $ sudo ./mkrelease.sh dist/VerityBook-latest.json
``` ```
This will create the following files and directories:
- `dist/VerityBook-<HASH>-efi.tgz` - signed efi binaries
- `dist/VerityBook-31.<datetime>.json.sig` - signature of the metadata
if you want to make deltas: if you want to make deltas:
```console ```console
$ sudo ./mkdelta.sh ${CHECKPOINT:+--checkpoint} dist/VerityBook-latest.json $ sudo ./mkdelta.sh ${CHECKPOINT:+--checkpoint} dist/VerityBook-latest.json