From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 3E96C73A99 for ; Tue, 24 Mar 2015 08:42:40 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t2O8ggWp006844 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 24 Mar 2015 01:42:42 -0700 (PDT) Received: from pek-qchen1-d1.corp.ad.wrs.com (128.224.162.236) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.224.2; Tue, 24 Mar 2015 01:42:41 -0700 From: Chen Qi To: Date: Tue, 24 Mar 2015 16:42:44 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [PATCH 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 08:42:41 -0000 Content-Type: text/plain The default value is "log" which results in the same /var/log to be a link pointing to /var/volatile/log. The user could override this value to "" which causes /var/log to be a directory on persistent storage. [YOCTO #6132] Signed-off-by: Chen Qi --- meta/conf/bitbake.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f3586da..19b904c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -77,6 +77,10 @@ USRBINPATH_class-nativesdk = "/usr/bin" # Root home directory ROOT_HOME ??= "/home/root" +# Volatile log direcotry +# If it's set to "", then the log directory on the final image is on persistent storage. +VOLATILE_LOG_DIR ?= "log" + ################################################################## # Architecture-dependent build variables. ################################################################## -- 1.9.1