Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow postinst functions to be verbose
@ 2017-04-14  2:39 Peter Kjellerstedt
  2017-04-14  2:39 ` [PATCH 1/2] useradd.bbclass: Make postinst functions verbose if BB_VERBOSE_LOGS is set Peter Kjellerstedt
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Peter Kjellerstedt @ 2017-04-14  2:39 UTC (permalink / raw)
  To: openembedded-core

This enables tracing of the postinst functions created in base-passwd
and useradd.bbclass if BB_VERBOSE_LOGS is enabled. I found this
extremely useful during verification of the useradd functionality,
especially as there otherwise is absolutely nothing in the logs of why
a failure in a postinst function happened.

I also simplified useradd_sysroot_sstate() by only having the code to
create the postinst files once.

Feel free to squash these commits with the "base-passwd/useradd:
Various improvements to useradd with RSS" commit if you prefer.

//Peter

The following changes since commit 79ac98550f0aa25940404a9805c12744f7047c76:

  base-passwd/useradd: Various improvements to useradd with RSS (2017-04-14 00:03:19 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib pkj/verbose_postinst
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/verbose_postinst

Peter Kjellerstedt (2):
  useradd.bbclass: Make postinst functions verbose if BB_VERBOSE_LOGS is
    set
  base-passwd: Make the postinst function verbose if BB_VERBOSE_LOGS is
    set

 meta/classes/useradd.bbclass                        | 11 +++++------
 meta/recipes-core/base-passwd/base-passwd_3.5.29.bb |  2 ++
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.12.0



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

end of thread, other threads:[~2017-04-18 10:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14  2:39 [PATCH 0/2] Allow postinst functions to be verbose Peter Kjellerstedt
2017-04-14  2:39 ` [PATCH 1/2] useradd.bbclass: Make postinst functions verbose if BB_VERBOSE_LOGS is set Peter Kjellerstedt
2017-04-14  2:39 ` [PATCH 2/2] base-passwd: Make the postinst function " Peter Kjellerstedt
2017-04-14  3:01 ` ✗ patchtest: failure for Allow postinst functions to be verbose Patchwork
2017-04-14  8:49 ` [PATCH 0/2] " Richard Purdie
2017-04-14 13:10   ` Peter Kjellerstedt
2017-04-18 10:16     ` Alexander Kanavin

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