[U-Boot] [PATCH] common: Fix autocompletion with CONFIG_CMDLINE_PS_SUPPORT

Tom Rini trini at konsulko.com
Thu Jul 18 23:56:58 UTC 2019


On Thu, Jun 27, 2019 at 12:17:27AM +0200, Marek Vasut wrote:

> The autocompletion did not work if CONFIG_CMDLINE_PS_SUPPORT was enabled
> because U-Boot was comparing the prompt string with CONFIG_SYS_PROMPT .
> While this works if CONFIG_CMDLINE_PS_SUPPORT is disabled, this no longer
> works if it's enabled because user can override the PS1 . Fix this by
> checking prompt string against the current PS1 value.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190718/d98a7d3d/attachment.sig>


More information about the U-Boot mailing list