public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Centralize root password configuration
@ 2019-02-07 11:35 claudius.heine.ext
  2019-02-07 11:35 ` [PATCH v2 1/1] meta: add isar-cfg-rootpw recipe for setting root password claudius.heine.ext
  0 siblings, 1 reply; 5+ messages in thread
From: claudius.heine.ext @ 2019-02-07 11:35 UTC (permalink / raw)
  To: isar-users; +Cc: Claudius Heine

From: Claudius Heine <ch@denx.de>

Hi,

here the second version.
This patchset depends on the `Template system` patchset.

Cheers,
Claudius

Changes from v1:
 - Removed CFG_ROOT_PW_ENC setting, now CFG_ROOT_PW needs the encrypted
   password
 - fixed bug in postinst template by replacing double quotes with single
   quotes
 - added setting of root password to locale.conf.sample
 - added more documentation

Changes from the RFC patch:
 - Transformed package to be a transient package, prevents leaking of
   password via /var/lib/dpkg/info
 - Check if password was already set before setting it. Error if
   password was set already
 - Added possibility to set encrypted passwords
 - Fixed locking to allow restoration of choosen password when account
   is unlocked later
 - added documentation in RECIPE-API_CHANGELOG
 - removed isar-cfg-hostname
 - fix some scripting errors


Claudius Heine (1):
  meta: add isar-cfg-rootpw recipe for setting root password

 RECIPE-API-CHANGELOG.md                       |  9 +++++++++
 doc/user_manual.md                            |  2 ++
 meta-isar/conf/local.conf.sample              |  6 ++++++
 .../recipes-app/example-raw/files/postinst    |  4 ----
 meta/classes/isar-image.bbclass               |  2 +-
 .../isar-cfg-rootpw/files/postinst.tmpl       | 19 +++++++++++++++++++
 .../isar-cfg-rootpw/isar-cfg-rootpw.bb        | 19 +++++++++++++++++++
 7 files changed, 56 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-support/isar-cfg-rootpw/files/postinst.tmpl
 create mode 100644 meta/recipes-support/isar-cfg-rootpw/isar-cfg-rootpw.bb

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-18 11:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 11:35 [PATCH v2 0/1] Centralize root password configuration claudius.heine.ext
2019-02-07 11:35 ` [PATCH v2 1/1] meta: add isar-cfg-rootpw recipe for setting root password claudius.heine.ext
2019-02-07 11:36   ` Claudius Heine
2019-02-07 11:40   ` [PATCH v3] " claudius.heine.ext
2019-02-18 11:43     ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox