From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7007434304848396288 X-Received: by 2002:a05:6512:12c9:: with SMTP id p9mr9451048lfg.202.1631545446418; Mon, 13 Sep 2021 08:04:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:8652:: with SMTP id i18ls1869104ljj.1.gmail; Mon, 13 Sep 2021 08:04:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYzWNp8nhMj6BRlYBjyvkzZiFMFlMTk6Or0KC1B7InxG0Wz2wM91UhNfsSxCRgpg//fRLk X-Received: by 2002:a2e:5310:: with SMTP id h16mr6012516ljb.268.1631545445247; Mon, 13 Sep 2021 08:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631545445; cv=none; d=google.com; s=arc-20160816; b=WqHJP1PAIZlPd0/jy7O8cCDJNHlxoJ6iZeF1WX5pfTSAfSAN2Nz0g6bA4PGQFUpVfR PQxfYT+L3PROiZWgS2tGD3dOKN/R2KNnbQoHfhw8jrdVveKMg8wQowNjC8n2vEGlsvN0 d9jtAqRlSFbNTstv8bTeGl599UiylqEynvx/OMI52GoEXEI1gbBzoHSdLYH/EbAEcpF1 R9riP5IWDqda2M+DaAFcjmfG0irWL041T3iNhZqbptZIupSxh1vAT3RzRRi/1kkBUKT9 4vln9aFSs9l1V6dc4TKI521D7WywzUhhCwZMp61wp1dsGmi3xFgB0pb7cvJyQNFFHe7H iAEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=ibVFO6zAEMkaO4/f1nuRRvm5ylu71qD5FfUSrvDRYN8=; b=uCtCTnwhiuhk/Lxedd5IYB4U4QI9Kq+MXCmNcG88BfjjJCLjzR0P6Xx+vPHgJe7meM t3a0tnXeaXXtszkrazZcDSqF6gsQI4VB7yh1LDvxbDqNw2joFts9xt6c3kpmPa+YKE2s ZZSdF9lNtwVOzgO5mAuzuYRf6r/lkOoTDfjT7SyYmX/culGbxVp4F6aM4cWWUNLlqIX2 aX75f103Or59D0l8I0Qo1d35Z3XeiyKdP/kodN8v58V+fcAjo4n6shaTXNvjumX2TJoK y1xm8wn8JpoM5Uw4tX4mfczZ4kv6ekeksm5z8gSaUK6xhQHAWBPOwHpJVtF+n96De92M YBww== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id z4si807894lfr.2.2021.09.13.08.04.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Sep 2021 08:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 18DF3tTP009770 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 13 Sep 2021 17:04:02 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 3/4] buildstats: Manage buildstats via USER_CLASSES variable Date: Mon, 13 Sep 2021 17:03:54 +0200 Message-Id: <20210913150355.9973-4-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210913150355.9973-1-ubely@ilbers.de> References: <20210913150355.9973-1-ubely@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: oy8aKQ8sMjLc Such variable is used in OE, so this patch makes buildstat usage similar to OE/Poky. Signed-off-by: Uladzimir Bely --- meta-isar/conf/local.conf.sample | 2 ++ meta/conf/bitbake.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample index 96a8beb..aba1ad5 100644 --- a/meta-isar/conf/local.conf.sample +++ b/meta-isar/conf/local.conf.sample @@ -220,5 +220,7 @@ USER_isar[flags] = "system create-home" USER_isar[password] = "isar" USER_isar[flags] += "clear-text-password" +USER_CLASSES ?= "buildstats" + # Uncomment the below line to debug WIC. # WIC_CREATE_EXTRA_ARGS += "-D" diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 7f5901d..51af5ca 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -120,4 +120,6 @@ include conf/multiconfig/${BB_CURRENT_MC}.conf include conf/machine/${MACHINE}.conf include conf/distro/${DISTRO}.conf +INHERIT += "${USER_CLASSES}" + PATCHRESOLVE ?= "noop" -- 2.20.1