Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Core upload update signing #18

Merged
merged 2 commits into from
Jul 3, 2013

Conversation

philips
Copy link
Contributor

@philips philips commented Jul 3, 2013

This should make signing an update fully automated. The additional step that is new here is that it injects the signing public key into the root filesystem.

- Use variable for the image name
- add COREOS prefixed variables so we can start weaning ourself off of the
others.
@@ -42,6 +42,9 @@ switch_to_strict_mode
[[ -z "${FLAGS_private_key}" ]] && die "--private_key is required"
[[ -z "${FLAGS_public_key}" ]] && die "--public_key is required"

# Put our public key in a place that update_engine can find it
../platform/vboot_reference/scripts/image_signing/insert_au_publickey.sh ${FLAGS_image} ${FLAGS_public_key}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use ${SRC_ROOT}/platform/etc... (or I think that's the right var name, double check that)

Then you don't depend on the working directory being scripts :)

After that LGTM

shove the public key into the image so it can be found by update_engine
philips added a commit that referenced this pull request Jul 3, 2013
@philips philips merged commit 61b3560 into coreos:master Jul 3, 2013
dongsupark referenced this pull request in dongsupark/flatcar-scripts Jun 30, 2020
build_library: fix qemu key name to org/flatcar-linux
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants