<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/utils, 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-23T03:55:39+00:00</updated>
<entry>
<title>configure: Add libelf as a requirement</title>
<updated>2020-01-23T03:55:39+00:00</updated>
<author>
<name>Maxiwell S. Garcia</name>
<email>maxiwell@linux.ibm.com</email>
</author>
<published>2019-09-23T22:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=827a7af51bb120579a7addbcda216300988a3b1e'/>
<id>urn:sha1:827a7af51bb120579a7addbcda216300988a3b1e</id>
<content type='text'>
With this library, petitboot is able to open the ELF binary to check
information, like annotation in ELF notes section.

Minor libelf-dw dependency additions by Jeremy Kerr &lt;jk@ozlabs.org&gt;.

Signed-off-by: Maxiwell S. Garcia &lt;maxiwell@linux.ibm.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-console: don't modify PATH unless it's empty</title>
<updated>2019-10-08T06:20:29+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-08-15T07:10:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=6f23e17e3203cd8cc064f83d7b8398f61dad42bb'/>
<id>urn:sha1:6f23e17e3203cd8cc064f83d7b8398f61dad42bb</id>
<content type='text'>
We're now running pb-console through a proper login shell, so we
shouldn't need to modify PATH, as we expect it to be properly set up by
the shell profile.

This change removes the unconditional PATH modification, so we only set
a basic PATH if it's currently empty.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>pb-console: start shell as a login shell</title>
<updated>2019-10-08T06:20:29+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-08-15T03:25:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=514a9a1ab0d9de6bffb4398b6202b100401263b4'/>
<id>urn:sha1:514a9a1ab0d9de6bffb4398b6202b100401263b4</id>
<content type='text'>
The environment that pb-console starts is minimal, as we have likely
been run by udev.

Because we're starting a shell, we want the proper profile set up, so
run as a login shell.

This assumes the shell accepts -l, but we already have an assumption for
supporting -m (as /bin/ash does).

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>utils: Optionally run utilities as root</title>
<updated>2019-06-07T03:12:35+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-05-30T03:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=3cf30cfa4f232d9a307c7983c40d0b1b2ca2e827'/>
<id>urn:sha1:3cf30cfa4f232d9a307c7983c40d0b1b2ca2e827</id>
<content type='text'>
In particular this fixes running pb-plugin executables from the UI since
the wrapper requires root to set up the environment.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<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>Various fixups and checks to make scan-build happy</title>
<updated>2019-05-30T05:23:15+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-03-25T06:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9e869ebe3a5127575105d82c4d289d95cbed2db9'/>
<id>urn:sha1:9e869ebe3a5127575105d82c4d289d95cbed2db9</id>
<content type='text'>
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/pb-console: Use -m to run shell in own process group</title>
<updated>2019-04-01T02:54:53+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-03-28T03:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=1cd261748c005b3c64b45f745a2fb3fb26236a4c'/>
<id>urn:sha1:1cd261748c005b3c64b45f745a2fb3fb26236a4c</id>
<content type='text'>
Use -m to have the shell spawned by pb-console run it its own process
group, allowing commands such as Ctrl-C (SIGINT) to behave as expected
rather than killing the shell.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/pb-console: Trap SIGTERM on boot</title>
<updated>2019-03-05T20:51:12+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-02-25T02:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=5c726bd40a4a745e115a22e336131be8f6666b55'/>
<id>urn:sha1:5c726bd40a4a745e115a22e336131be8f6666b55</id>
<content type='text'>
On kexec all processes will be sent a SIGTERM and SIGKILL. By default
there are messages on the console alerting the user to this, however in
some implementations these messages are disabled. This can have the
effect of the UI seemingly exiting to the shell on boot and hanging for
a short while before the kexec actually jumps into the next kernel.
Trap the SIGTERM sent to the pb-console parent process and print a short
message to the screen instead of momentarily dropping to the shell and
printing the usual help messages.

While here also cleanup the shell help messages below which are now
handled in the shell's .shrc file.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils: Add helper to send mailbox request</title>
<updated>2018-12-13T00:26:17+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-11-30T05:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=35ec247ac2dc4611cd3c9e99e0fcea0cf0d97415'/>
<id>urn:sha1:35ec247ac2dc4611cd3c9e99e0fcea0cf0d97415</id>
<content type='text'>
A simple script to set, display, and clear a BMC's boot initiator mailbox.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/pb-console: Ignore SIGINT</title>
<updated>2018-12-03T03:39:57+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-06-05T00:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=cfd6bf4f7da1ee71a65f57f28912d43ab757b968'/>
<id>urn:sha1:cfd6bf4f7da1ee71a65f57f28912d43ab757b968</id>
<content type='text'>
Trap and ignore SIGINT to avoid a SIGINT intended for petitboot-nc also
exiting the parent pb-console script.

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