<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/test, 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>2020-01-25T03:54:50+00:00</updated>
<entry>
<title>test/parser: Add rhel8 test data to check_DATA</title>
<updated>2020-01-25T03:54:50+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2020-01-23T04:45:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=0ed84c01b6eaee98bd44cf0892982bbd059c75d1'/>
<id>urn:sha1:0ed84c01b6eaee98bd44cf0892982bbd059c75d1</id>
<content type='text'>
We want these included in the distribtion tarball too.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>test/parser: Add RHEL8 grub config test</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-14T07:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=057dce2dadee2e2fca370d4497c8c792b001c2d3'/>
<id>urn:sha1:057dce2dadee2e2fca370d4497c8c792b001c2d3</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>test/parser: Add test for recent RHCOS grub2 config</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-14T07:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=1ef95c2606eb6c9fcf3530504317f3a0b1a1ba34'/>
<id>urn:sha1:1ef95c2606eb6c9fcf3530504317f3a0b1a1ba34</id>
<content type='text'>
Add a test for a RHCOS grub2 boot config, using the ignition firstboot
facility.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: implement 'source' command</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-14T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=967cfa7e5c1bfb4d2cf78bb3de3dc6d36b78c440'/>
<id>urn:sha1:967cfa7e5c1bfb4d2cf78bb3de3dc6d36b78c440</id>
<content type='text'>
This change add support for the grub2 'source' command, executing a
referenced script in the current parse context.

We impose a limit of 10 (concurrent) source commands, to prevent
infinite recursion.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: Allow (device)/path references in general script usage</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-11T11:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=b22445748f44ed6965f31f45b39abb690d24ec47'/>
<id>urn:sha1:b22445748f44ed6965f31f45b39abb690d24ec47</id>
<content type='text'>
Currently, we have support for grub2 (device)/path syntax for boot
resources. This change allows this syntax for general paths in grub2
scripts (for example, -f tests).

This involves exposing grub2_lookup_device, to allow the script
execution code to resolve pathnames.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: add support for grub2-style path specifiers in resources</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-11T09:10:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9fc2ac627df17ddc8e7c2735053aeb9e1252ff6e'/>
<id>urn:sha1:9fc2ac627df17ddc8e7c2735053aeb9e1252ff6e</id>
<content type='text'>
This change incorporates the grub2-style (device)/path specifiers in the
grub2 parser's resource code. This allows the boot option paths to use
device-specific references.

Device names are looked-up using the UUID and kernel IDs, but with the
lookup logic specific to a new function (grub2_lookup_device), so that
can be extended in a future change.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: Add support for UUID and label for 'search' command</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-04T06:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=1580c6557d4e703348edb0dda83814f8972e9f3d'/>
<id>urn:sha1:1580c6557d4e703348edb0dda83814f8972e9f3d</id>
<content type='text'>
This change adds support for searching by UUID and filesystem label.
We still fall back to passthrough if the UUID is not found, but we now
resolve to device ID strings.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: test for (ignored) --no-floppy argument</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-10-31T23:18:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=76e97c5d9dab40236a589cd96a69967d3ef17cab'/>
<id>urn:sha1:76e97c5d9dab40236a589cd96a69967d3ef17cab</id>
<content type='text'>
--no-floppy is used almost everywhere, so add it to the tests. The code
will already ignore unknown arguments, but ensure that this works OK.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: Use getopt for `search` argument parsing</title>
<updated>2019-11-29T05:54:10+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-10-31T09:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=61ede5e0bea7d999acfdda9931e5c1f3c13c0694'/>
<id>urn:sha1:61ede5e0bea7d999acfdda9931e5c1f3c13c0694</id>
<content type='text'>
The search command will be extended to add the full set of grub2-style
arguments, so switch to using getopt, rather than manual parsing.

This means we now support `--set=foo` and `--set foo` style arguments,
both of which appear in the docs and common grub configs.

Also, add a small test for the search argument handling.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/grub2: Allow to separate the --id argument using a space char</title>
<updated>2019-06-21T03:42:20+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javierm@redhat.com</email>
</author>
<published>2019-06-20T16:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d'/>
<id>urn:sha1:7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d</id>
<content type='text'>
The GRUB menuentry command allows to separate the arguments for options
using either a '=' or a ' '. The latter is the convention used when the
menu entries are defined in the GRUB config file, but this is currently
not supported by Petitboot.

Add tests to cover both using '--id=foo' and '--id foo' as options.

Signed-off-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
</feed>
