From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A78C8E0090E; Mon, 29 Feb 2016 13:06:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (avery.brian[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.170 listed in list.dnswl.org] Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 50012E00872 for ; Mon, 29 Feb 2016 13:06:03 -0800 (PST) Received: by mail-pf0-f170.google.com with SMTP id 4so20390868pfd.1 for ; Mon, 29 Feb 2016 13:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Y5z/3Xq1IzLv3pf+rGRvflEZsntU846DP4WpGOXCT1k=; b=hPULVGeN1UPnxddsB9N8z4egnExG/lL/6ACldfsYqSEYHoYVODxKtMCvQyVIqHuhHO 1fIhEg2wYr3fMqXvcfFD7sp1PyGD2/9ZJHh/KuFz2suqWhB6GAiZD73SfFYvyJniIDXt zarVvnxAZgoCsKE5b5I7d1f3wITpDgSbNGPsT/MXsrpR3Q6YV1SPRH+ie2wZ6aVFVc08 GLugqKf+x2a8+W5kioyxV1KntVIRmZAo7vP1h7ffbFHTKlujbwxporlUQLjRWyLQgKAx NcM8cEP4/lKbo4XHqcG+UXj3Lo8XzRvH1SdP3/lSpkh/cJTtKWVD3UXQTJMWbsLsHaTz SK1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Y5z/3Xq1IzLv3pf+rGRvflEZsntU846DP4WpGOXCT1k=; b=W2rze70MF60DDlrEWLUTOJmsWn4Lyp+iIThHgLq98MWug7SF6lcXnNCc+icPs01Peu JL7wLG/o2b9WJkllZKcI9s4Kck1Xdsa3S0+MRjOILSJdzwDFwRgPu+HJ5Dgt7Snb3FpK 24m5zA1NpOzyWXe/brITW2Z10hybADCNoTEkBEtqPdyvceQvU4Z+tumv991X8zf8Bsfb Waphjlr/G8AVfhVMb9JjfUhcTpT+roL6AJReTZr5KyZ3ToaffghkTzWG4rn13F7m91EQ tELEXw57roq3w65eYotqH+60gHVJGSj5IhYtZ182KFWpbPrh67HsIN9BuMpnxJ67YC24 3VUA== X-Gm-Message-State: AD7BkJKGrsU3VliTjYZjByIl9ZFKsYu3r6iyrj1txcRn8PICBYnh/V30PEi1/ZRZ+byF6g== X-Received: by 10.98.14.2 with SMTP id w2mr6802034pfi.35.1456779963537; Mon, 29 Feb 2016 13:06:03 -0800 (PST) Received: from whisper.hsd1.or.comcast.net (c-98-232-142-195.hsd1.or.comcast.net. [98.232.142.195]) by smtp.gmail.com with ESMTPSA id l14sm40172791pfi.23.2016.02.29.13.06.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 13:06:02 -0800 (PST) From: brian avery To: toaster@yoctoproject.org Date: Mon, 29 Feb 2016 13:12:12 -0800 Message-Id: X-Mailer: git-send-email 1.9.1 Subject: [PATCH 0/1] toaster: clean up startup script X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 21:06:06 -0000 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