All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] toaster: clean up startup script
@ 2016-02-29 21:12 brian avery
  2016-02-29 21:12 ` [PATCH 1/1] toaster: cleanup of the bin/toaster startup code brian avery
  2016-03-01 11:53 ` [PATCH 0/1] toaster: clean up startup script Smith, Elliot
  0 siblings, 2 replies; 3+ messages in thread
From: brian avery @ 2016-02-29 21:12 UTC (permalink / raw)
  To: toaster

Note: This patch is against origin/master since there is an outstanding reference
to meta-yocto that we need to remove from toaster-next as it is now meta-poky.

This only changes bitbake/bin/toaster which merged cleanly with toaster-next except for the above.

This cleanup fixes a couple of issues:
1) Removes the superflous code to set toasterconf.json
  - this isn't used and referenced meta-yocto
  - the code to set toasterconf.json is based on .templateconf
2) Changes exit to return so we don't surprise the user by exiting their shell
  - this is necessary because it is being sourced
3) Removes the last references to the old TOASTER_MANAGED variable
  - this is historical and no longer used.
4) Adds -t parameter to lsof
  - This stops it from dying on odd filesystems and is much
    faster since all we are using are processes anyway
5) Handles start and stop as params
  - it was easy to confuse the script especially
    if we were calling it with parameters.
  - if start/stop isn't specified, it will still toggle




The following changes since commit 4006a7f2762ccd5dcbc6cdff49482d4387a73261:

  sanity: Fix int verses string reference (2016-02-28 22:54:09 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib bavery/toaster/fix-meta-yocto-reference
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/fix-meta-yocto-reference

brian avery (1):
  toaster: cleanup of the bin/toaster startup code

 bin/toaster | 41 +++++++++++++++++------------------------
 1 file changed, 17 insertions(+), 24 deletions(-)

--
1.9.1


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

end of thread, other threads:[~2016-03-01 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 21:12 [PATCH 0/1] toaster: clean up startup script brian avery
2016-02-29 21:12 ` [PATCH 1/1] toaster: cleanup of the bin/toaster startup code brian avery
2016-03-01 11:53 ` [PATCH 0/1] toaster: clean up startup script Smith, Elliot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.