<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot, branch petitboot-1.6.x</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=petitboot-1.6.x</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=petitboot-1.6.x'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2017-12-14T23:59:08+00:00</updated>
<entry>
<title>discover/pxe-parser: Fix relative parsing for manual config files</title>
<updated>2017-12-14T23:59:08+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-12-12T03:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=1ad12fe5b75e5cedd9e758b0a1342e10baea293b'/>
<id>urn:sha1:1ad12fe5b75e5cedd9e758b0a1342e10baea293b</id>
<content type='text'>
Manually specified config files are asynchronously downloaded by
device_handler_process_url() before being parsed. This overwrites the
'pxeconffile' parameter, causing the parser to create relative paths
relative to the downloaded file's path, not the original remote path.

Work around this by setting 'pxeconffile-local' instead to differentiate
between the original config file's location and the local copy.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit a2d5a3e3cb55fe3583acaae44fabc7c3d7f8df50)
</content>
</entry>
<entry>
<title>ui/ncurses: Always cancel autoboot on exit</title>
<updated>2017-11-30T04:47:50+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-11-23T02:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=f18998f6aac3bfe6785b70056595b0e71dc6fefc'/>
<id>urn:sha1:f18998f6aac3bfe6785b70056595b0e71dc6fefc</id>
<content type='text'>
If the ncurses UI exits before it has contacted the server it is meant
to fork a process to wait until the connection is made and cancel
autoboot. This prevents users dropping to the shell and then having the
machine boot out from underneath them.

In e1e2ca68 "Spawn shell in exit handler" the UI doesn't actually exit
on "exit", but it isn't listening to server events either while the
shell is active. In this case make sure we still fork to notify the
server.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit c916e133367688075f568fed390b625b9325c68b)
</content>
</entry>
<entry>
<title>ui/ncurses: Handle arrow key variants</title>
<updated>2017-11-21T03:46:18+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-11-20T01:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=3af2c04787af928b296079a7e10388fe5958bd8b'/>
<id>urn:sha1:3af2c04787af928b296079a7e10388fe5958bd8b</id>
<content type='text'>
In the vt100 'application' cursor mode arrow keys produce ^[Ox rather
than the usual ^[[x. Add this pattern to our defined keys so we don't
accidentally catch the escape key.

For reference:
http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-21.html

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit 33a0f544151f44bb58924ad281aaca2dc58fe561)
</content>
</entry>
<entry>
<title>Better recognition of ncurses header files</title>
<updated>2017-11-21T03:46:15+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2017-11-16T03:49:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=bc8b183fbea66e41b23cfd5e7e5e7204a76b0629'/>
<id>urn:sha1:bc8b183fbea66e41b23cfd5e7e5e7204a76b0629</id>
<content type='text'>
This patch was lifted directly from:
https://github.com/Tlf/tlf/commit/a21513254ce8bf66d0b019f6075eea918958741a

The commit message reads:
  If ax_with_ncurses finds a ncursesw instance the former code checks
  only for &lt;ncursesw/panelh&gt;. If not there the search fails.
  That let to problems at least in Arch Linux which has only &lt;panel.h&gt;
  installed.
  The patched version here checks first for &lt;ncursesw/panel.h&gt; and if
  not found also for &lt;panel.h&gt;.

  Tested for the following distributions:

  Gentoo, Debian 7..9, Linux Mint 17 and 18.1, Arch Linux, Ubuntu

ARCH Linux builds ncurses with wide character support but does not add
any ncurses specific headers. nurses its self (by default) adds almost
no ncurses specific headers. No {prefix}/include/ncurses directory. In
fact the only ncurses specific file is the ncurses.h symlink to
curses.h, other than that there are no ncurses headers.

The ax_with_curses.m4 script detects if the installed ncurses has wide
character support. It checks using code snippets against all possible
ncurses header files.

If the ax_with_curses.m4 script detects wide character support the
ax_with_curses_extra.m4 will only look for extra curses features (in
the case of petitboot, form.h and menu.h) inside the
{prefix}/include/ncurses directory, when they could simply be in
{prefix}/include.

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit 117a75f95ec31c2f9ea5e560c0355a2125b09b71)
</content>
</entry>
<entry>
<title>Fix bootstrap warning: noinst_PROGRAMS was already defined</title>
<updated>2017-11-21T03:46:12+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2017-11-16T03:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=17f04cb4d3d81ad1355cc4cbb65260040112f35b'/>
<id>urn:sha1:17f04cb4d3d81ad1355cc4cbb65260040112f35b</id>
<content type='text'>
utils/Makefile.am:27: warning: noinst_PROGRAMS was already defined in
condition TRUE, which includes condition HAVE_LIBFDT ...

utils/Makefile.am should probably be adding to noinst_PROGRAMS rather
than reclaring it.

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit 817e6698bcbbc20e186185a1d64f3a3087a65862)
</content>
</entry>
<entry>
<title>configure.ac: Fix unmatched brackets</title>
<updated>2017-11-21T03:46:08+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2017-11-16T03:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=eb9c570fa13baf344008b7298bab4c2db192240e'/>
<id>urn:sha1:eb9c570fa13baf344008b7298bab4c2db192240e</id>
<content type='text'>
Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
(cherry picked from commit b2bc013b141308cd0e78b47ed0b19e1c1ff6a20a)
</content>
</entry>
<entry>
<title>ui/ncurses: Safely handle lost terminal control commands</title>
<updated>2017-11-14T05:33:41+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-10-30T23:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=8d1e4f053574d69aae89af19983c96500b4156a4'/>
<id>urn:sha1:8d1e4f053574d69aae89af19983c96500b4156a4</id>
<content type='text'>
Normally terminal control commands are caught and handled before ncurses
or Petitboot could see them. However several combinations of broken
terminal emulators or console connections can cause these command
sequences to be seen by Petitboot, usually resulting in Petitboot
exiting due to the ESC character and then the rest printed to the
console.

Aside from confusing the user this can also cancel autoboot, so it's
important we don't let these sequences go unnoticed if possible.
In ui/ncurses/console-codes we add a state machine that recognises the
syntax of these control/escape sequences and handles the lost
characters. We don't try to emulate the functionality of these commands,
instead just logging them for reference.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Add root .gitignore</title>
<updated>2017-11-03T03:05:44+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2016-05-03T23:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=669083ee9eda63af65d7cfc43968947f09162996'/>
<id>urn:sha1:669083ee9eda63af65d7cfc43968947f09162996</id>
<content type='text'>
This project uses autotools which generates many files not kept in git. This
commit adds files generated by:
./bootstrap
./configure

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>discover/platform-powerpc: Increase IPMI timeout</title>
<updated>2017-10-26T03:11:50+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-10-26T03:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=093178c4a93ab6f25aa40101de1910368260228f'/>
<id>urn:sha1:093178c4a93ab6f25aa40101de1910368260228f</id>
<content type='text'>
On OpenBMC platforms IPMI requests can take over five seconds to
complete. OpenBMC does inform OPAL in BT init that it may take up to
ten seconds to respond to any requests, so update our timeout value to
accommodate this extra delay.

On other platforms this will won't change anything (AMI- and SMC- based
BMCs for example respond in under a second), but on OpenBMC platforms
such as Witherspoon this will delay Petitboot significantly while we
wait for the response. This is not ideal but we need to wait in order to
receive important information such as a safe mode request.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>ui/ncurses: Remove help shortcut from nc-subset</title>
<updated>2017-10-12T03:49:08+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-10-12T03:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=24ccb34938342f414b888553882ef2ee976d02a0'/>
<id>urn:sha1:24ccb34938342f414b888553882ef2ee976d02a0</id>
<content type='text'>
Subset screens do not include a help screen, so remove the misleading
"h=help" shortcut from the lower frame title.

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