diff --git a/README.md b/README.md index 956e889..1542a45 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 @@ -122,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