<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/tmp/openbmc.git/meta-phosphor/classes/phosphor-deploy-ssh-keys.bbclass, branch master</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/'/>
<updated>2023-03-20T15:13:55+00:00</updated>
<entry>
<title>meta-phosphor: retab all bitbake files</title>
<updated>2023-03-20T15:13:55+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2023-03-20T15:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=af48f63871ecc252e3e77ba32b2de4c25d67f50f'/>
<id>urn:sha1:af48f63871ecc252e3e77ba32b2de4c25d67f50f</id>
<content type='text'>
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Id89782274717a4fdcabb10df19510cbd05571ec1
</content>
</entry>
<entry>
<title>Fix phosphor-deploy-ssh-keys.bbclass</title>
<updated>2021-10-22T21:57:30+00:00</updated>
<author>
<name>Jonathan Doman</name>
<email>jonathan.doman@intel.com</email>
</author>
<published>2021-10-18T21:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=570ebbb8707e9f734f2eef9e37121dc760df640a'/>
<id>urn:sha1:570ebbb8707e9f734f2eef9e37121dc760df640a</id>
<content type='text'>
The logic was broken due to lack of quotes around the semicolon
delimiters inside subshell commands. It did not work for single keys nor
multiple keys provided in SSH_KEYS.

This commit adds proper quotes, and also refactors the loop a bit to
reduce repeated commands, reduce indentation, and clarify variables.

Tested:
- Added INHERIT/SSH_KEYS to local.conf as described in script comments.
- Tested with 1 key: "root:/path/to/key.pub" and 2 keys
  "root:/path/to/key.pub;root:/path/to/key2.pub".
- Verified that in all cases keys were added to authorized_keys files
  exactly once by checking rootfs output:
  (build/tmp/work/&lt;machine&gt;/&lt;image&gt;/&lt;version&gt;/rootfs/home/root/.ssh/authorized_keys)

Signed-off-by: Jonathan Doman &lt;jonathan.doman@intel.com&gt;
Change-Id: I58af4e8107daa6447b8276a66fc7c91e346c7dd5
</content>
</entry>
<entry>
<title>meta-phosphor: bbclass to deploy test SSH keys</title>
<updated>2020-11-11T21:39:43+00:00</updated>
<author>
<name>Jean-Marie Verdun</name>
<email>jean-marie.verdun@hpe.com</email>
</author>
<published>2020-10-26T18:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=f2f4f12c26001beff472cf8f5b81d1bb853bc081'/>
<id>urn:sha1:f2f4f12c26001beff472cf8f5b81d1bb853bc081</id>
<content type='text'>
(From meta-phosphor rev: 75c8dc6f5fc565a92da9129291ea09319e8593a6)

Change-Id: I375e188abbf3115e00d3ace1ad201d9fc11214d9
Signed-off-by: Jean-Marie Verdun &lt;jean-marie.verdun@hpe.com&gt;
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
</feed>
