From 74cbeed46c4c48648e634ef3c606f24d1def9313 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 13 Mar 2020 10:48:25 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 956e889..921384d 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,7 @@ This will create the following files and directories: - `VerityBook` - keep this directory around for updates (includes needed passwd/group history and rpmdb) - `dist/VerityBook-.img` - the root image -- `dist/VerityBook--efi.tgz` - signed efi binaries - `dist/VerityBook-31..json` - metadata of the image -- `dist/VerityBook-31..json.sig` - signature of the metadata - `dist/VerityBook-latest.json` - a symlink to the latest version ## 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. - ```console -$ sudo ./mkrelease.sh VerityBook-latest.json +$ sudo ./mkrelease.sh dist/VerityBook-latest.json ``` +This will create the following files and directories: +- `dist/VerityBook--efi.tgz` - signed efi binaries +- `dist/VerityBook-31..json.sig` - signature of the metadata + if you want to make deltas: ```console $ sudo ./mkdelta.sh ${CHECKPOINT:+--checkpoint} dist/VerityBook-latest.json From b54c13c82791a41d86b38fb9171330f1d9bdf2b3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 13 Mar 2020 10:50:56 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 921384d..1542a45 100644 --- a/README.md +++ b/README.md @@ -123,11 +123,9 @@ If `CHECKPOINT` is set, it will remove old images. then upload to your update server: ```console -$ TARBALL="$(jq -r '.name' VerityBook-latest.json)-$(jq -r '.version' VerityBook-latest.json)".tgz -$ scp "$TARBALL" VerityBook-latest.json +$ rsync -Pavorz dist/ / ``` - ## QEMU disk image ```console $ sudo ./mkimage.sh image.raw