<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/utils/pb-plugin, branch master</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2019-05-30T05:23:38+00:00</updated>
<entry>
<title>utils: Quote plugin name and vendor variables</title>
<updated>2019-05-30T05:23:38+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-05-30T03:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=aa596b2c10344e0664e0c98cd6db43af3e20fdb9'/>
<id>urn:sha1:aa596b2c10344e0664e0c98cd6db43af3e20fdb9</id>
<content type='text'>
Otherwise we only get the first word displayed in the UI.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/pb-plugin: Advertise pb-plugins to discover server</title>
<updated>2017-08-15T03:03:28+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-07-25T06:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9f9bc4da3369b5637963064e2cd9d98e9dbd20d4'/>
<id>urn:sha1:9f9bc4da3369b5637963064e2cd9d98e9dbd20d4</id>
<content type='text'>
Update the pb-plugin utility to create a 'plugin' pb-event when it
successfully scans or installs a pb-plugin.
To aid invoking pb-plugin from pb-discover there following two commands
are updated:
 - `pb-plugin scan` can now be called for a single directory.
 - `pb-plugin install` now has an optional "auto" argument that will
 skip asking for confirmation before installation.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Don't execute metadata files</title>
<updated>2015-09-11T04:53:33+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-09-11T04:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d6f3931ec79f9c9cbcf9daef1f1d0957cb07ffa5'/>
<id>urn:sha1:d6f3931ec79f9c9cbcf9daef1f1d0957cb07ffa5</id>
<content type='text'>
Rather than sourcing a plugin's metadata file, explicitly parse
variables.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Fix invalid command reference</title>
<updated>2015-09-02T15:10:50+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-09-02T15:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=e22d1340b96d3e22a92e8fcaabdcd2d494c1bea9'/>
<id>urn:sha1:e22d1340b96d3e22a92e8fcaabdcd2d494c1bea9</id>
<content type='text'>
We had the old code for using 'run'. Also, fix the error we see when
issuing an invalid command.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Add lint command</title>
<updated>2015-09-02T14:54:58+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-09-02T14:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=754a03f3c71527cbf8f707344b44e80f84048943'/>
<id>urn:sha1:754a03f3c71527cbf8f707344b44e80f84048943</id>
<content type='text'>
This change adds a `lint` command, to do some basic checks on the plugin
structure and metadata.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Implement plugin ABI versioning</title>
<updated>2015-09-02T09:13:27+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-09-02T09:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=94fe62686228cf49dc055c50ce8f7ced3bf3cb96'/>
<id>urn:sha1:94fe62686228cf49dc055c50ce8f7ced3bf3cb96</id>
<content type='text'>
If a future update to plugins is not compatbile with the installed
plugin infrastructure, we want to abort the scan / install process.

This change adds an ABI version to the script, as well as version (and
minimum-supported version) to the plugin metadata. This means we can
check before plugin execution.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Only require a fixed plugin extension, instead of full name</title>
<updated>2015-09-02T07:41:38+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-09-02T07:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=e75fa5f6bf36233c3bd72e9854d244908af9a391'/>
<id>urn:sha1:e75fa5f6bf36233c3bd72e9854d244908af9a391</id>
<content type='text'>
Currently, the `pb-plugin scan` code requires a fixed archive name at
the root of distributed media. This means that vendors need to have a
fixed name, and can only ship one plugin per device.

This change shifts the requirement to just a filename extension
(.pb-plugin) instead.

To handle this, we now look for any plugin with a .pb-plugin extension,
and so may find multiple plugins on a device.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Move plugin wrappers to a separate dir</title>
<updated>2015-08-27T08:33:32+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-08-27T08:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=0b71e584078dbe370ed37bcc26f2815d138d28fc'/>
<id>urn:sha1:0b71e584078dbe370ed37bcc26f2815d138d28fc</id>
<content type='text'>
Use /var/lib/pb-plugins/bin, to prevent overwriting system binaries.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Keep chroot persistent, and create wrapper scripts</title>
<updated>2015-08-21T05:12:19+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-08-21T05:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=cb4a99c73726f316180f1591deb2f23900226920'/>
<id>urn:sha1:cb4a99c73726f316180f1591deb2f23900226920</id>
<content type='text'>
Rather than having to 'pb-plugin run' multiple times, we want users to
be able to execute multiple plugin binaries with more accessible
command-line statements.

This change reverts to the previous 'install' (rather than 'run')
behaviour, and creates wrapper scripts to call into the chroot.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-plugin: Update to chroot-style plugins</title>
<updated>2015-08-07T04:17:31+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-08-07T04:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=dcc406653405c0b97c9474d99a66ac896557734c'/>
<id>urn:sha1:dcc406653405c0b97c9474d99a66ac896557734c</id>
<content type='text'>
This change uses a chroot for all plugins, so that plugins have complete
flexibility with their libraries, dependencies and configuration.

We remove the 'install' action, as we simply run the plugin once.
Running involves extracting the archive, setting up a root filesystem,
and running a chroot.

To simplify plugin discovery behaviour, we standardise the plugin file
to be at pb-plugin.conf of attached devices, and read the metadatafile
straight out of the archive.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
</feed>
