Skip to content

defaultenv-2: add login support

Jean-Christophe PLAGNIOL-VILLARD barebox 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v20 of 2 patches 0 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

use glabalvar type params

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5globalvar: add globalvar_add_simple_int/bool/enum/ip supportcommon/globalvar.c include/globalvar.h+84 -10 replies
2/5login: add globalvar timeout supportcommands/login.c+17 -10 replies
3/5login: disable input console if password wrongcommands/login.c common/console.c common/console_common.c +3 more+57 -20 replies
4/5login/passwd: add default password supportcommands/passwd.c common/Kconfig common/Makefile +2 more+127 -220 replies
5/5defaultenv-2: add login supportdefaultenv-2/base/bin/init+18 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH 0/5 v3] defaultenv-2: add login support

HI,

v3:
use glabalvar type params

this will allow to request password when try to interrupt barebox auto boot

This will also allow to set a default password if none in the env and if no /env/bin/init is present request a login

The following changes since commit f0b68f0008f94606f6b927590d1fafb34b1abc55:

usb-imx28: fix enable (2013-09-10 21:03:59 +0200)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git delivery/login

for you to fetch changes up to 8d1ab8f59cc9f3a22e191d389433ca78f74bbc57:

defaultenv-2: add login support (2013-09-17 01:01:08 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (5):
globalvar: add globalvar_add_simple_int/bool/enum/ip support
login: add globalvar timeout support
login: disable input console if password wrong login/passwd: add default password support
defaultenv-2: add login support

 commands/login.c           | 24 ++++++++++++++++++++++--
 commands/passwd.c          |  8 ++++----
 common/Kconfig             |  5 +++++
 common/Makefile            | 20 ++++++++++++++++++++
 common/console.c           |  6 ++++++
 common/console_common.c    | 33 +++++++++++++++++++++++++++++++++
 common/console_simple.c    |  9 ++++++++-
 common/globalvar.c         |  2 +-
 common/password.c          | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 common/startup.c           |  2 ++
 defaultenv-2/base/bin/init | 18 ++++++++++++++++++
 include/console.h          |  3 +++
 include/globalvar.h        | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/password.h         | 22 +++++++++++++++++-----
 14 files changed, 303 insertions(+), 26 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox