diff options
author | William A. Kennington III <wak@google.com> | 2021-03-31 13:52:31 +0300 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2021-04-17 01:29:45 +0300 |
commit | 699337650eb6b0c24a903774872400411b78d3a0 (patch) | |
tree | c8047493a615f71b39a0dae711724fca28984f24 /meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb | |
parent | 920f3c0ffc05f170f65868cd3e448d76c2023e53 (diff) | |
download | openbmc-699337650eb6b0c24a903774872400411b78d3a0.tar.xz |
meta-google: gbmc-dev-ssh-key: Add package
We want a key we can freely distribute to anyone who is building gBMC
for use with SSH on development images.
Change-Id: Iafedbbc6ebe2e62bce966bb368dd53831e29bd00
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb')
-rw-r--r-- | meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb b/meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb new file mode 100644 index 000000000..a9d371e70 --- /dev/null +++ b/meta-google/recipes-google/ssh/gbmc-dev-ssh-key.bb @@ -0,0 +1,15 @@ +SUMMARY = "Publicly exposed development SSH key" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI += "file://gbmc-dev.pub" + +S = "${WORKDIR}" + +FILES_${PN} += " ${datadir}/authorized_keys.d" + +do_install() { + install -d ${D}${datadir}/authorized_keys.d/root + install -m 0755 ${S}/gbmc-dev.pub ${D}${datadir}/authorized_keys.d/root/50-gbmc-dev +} |