feat(coreos-base/coreos-au-key): Install signing key in SDK

This just means tools looking for the test key don't need to point at
the long and screwy path into the coreos-overlay repo.
This commit is contained in:
Michael Marineau 2014-05-01 09:54:04 -07:00
parent b3789e2f41
commit 67f1ae115e
2 changed files with 4 additions and 0 deletions

View File

@ -12,9 +12,13 @@ SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="cros_host"
src_install() {
KEY_DIR=/usr/share/update_engine/
insinto "${KEY_DIR}"
doins "${FILESDIR}"/update-payload-key.pub.pem
if use cros_host; then
doins "${FILESDIR}"/update-payload-key.key.pem
fi
}