From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6994374891774410752 X-Received: by 2002:a05:600c:3ba2:: with SMTP id n34mr17675057wms.119.1628517924003; Mon, 09 Aug 2021 07:05:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:a191:: with SMTP id u17ls4453451wru.3.gmail; Mon, 09 Aug 2021 07:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5Mkz4RdiEiFaC2d6+e8J29l5gowQtPWZ4+NLR5zhJDpKNDtKQFZDvKrSNvQl8OLfasCga X-Received: by 2002:adf:f149:: with SMTP id y9mr26191122wro.413.1628517923082; Mon, 09 Aug 2021 07:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628517923; cv=none; d=google.com; s=arc-20160816; b=wtKYj8hyoWWXll4zeOTPIhPClgSVoAph9eoXb8F9xu0XVGGGL5eyIgiINjMu4Q6bJT NsfTipRL7tCgjLNG1xqAy7lqGJW2oweP7Fiiu6mraGC7aJ9uypT3sDEzeqHc9PEYlqVH WYirP+5pTYx7cqP95gXBJFQuuFb/bfzVreeK82a+//NiGNe9siYRJozhWkB1qsXoqbQi Syxxf5PAyyXziebgOqG9I/tcq6YaQOgdynBDP2w7QfCGa1uQCISlOcd5v2V2/4OsAKNk Ds9KihlJgHSUuwoPcy4INRV/3wiftt9t3tO+U2qBinv9JJobqFH6wKz/LvbhmDc0pUgF rb/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:references:to:from:subject; bh=IF+ZHrUR50LpK1YdyJSUFryPqI24mitqrFF8uc4tDyo=; b=NynJ0qTm7rijlXkoohhCRrEZDvlRXDtHLNj784z6g0gX0bIGjPgGAZVmpp+tp88xCU 6i5DUC7tgLIJWGZNyJGtSCIC5K54kzTWZmq3exl+6psp16WRsRIA1KtGQrXhpWZhvi1C GvLv789vNRqCFn2jZFgudW2mGJAl1KTZrx1ku9vUuQJEjtlbjed5CRjJCAyfCacsPBeo azkKjeJNT4y/C9Cn4OYPS47AfvDwHViFo+kHw8rSW6K3mqSNnud72bBpFUhOZATYdmRQ C0gcZ8Hbq28dBWHEfCMNCm+HTEYPzt3xVuNpWOOpIRMWDgB08Ozb8eDVm0dti8jYsnAj ADpw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=quirin.gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id u2si960238wro.0.2021.08.09.07.05.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Aug 2021 07:05:23 -0700 (PDT) Received-SPF: pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=quirin.gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 179E5MMl016963 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 9 Aug 2021 16:05:22 +0200 Received: from [167.87.4.54] ([167.87.4.54]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 179E5MUZ017584; Mon, 9 Aug 2021 16:05:22 +0200 Subject: Re: [RFC PATCH 0/2] Add bbclass to generate build configuration from snippets From: Gylstorff Quirin To: Jan Kiszka , isar-users@googlegroups.com, Christian Storm References: <20210809102645.17414-1-Quirin.Gylstorff@siemens.com> Message-ID: Date: Mon, 9 Aug 2021 16:05:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: waPl+rhDNruT On 8/9/21 3:46 PM, Gylstorff Quirin wrote: > > > On 8/9/21 2:58 PM, Jan Kiszka wrote: >> On 09.08.21 12:26, Q. Gylstorff wrote: >>> From: Quirin Gylstorff >>> >>> This patchset adds the `build-config-snippets.bbclass`. This class >>> can be used >>> to generate package dependencies according to the used build >>> configuration. >>> >>> It is in use as 'kconfig-snippets.bbclass' in [1] for the swupdate >>> configuration. >>> >> >> Yeah, but working around the anti-distro properties of that packages. A >> proper SWUpdate would build against all features and be configurable >> during runtime. >> > > We have the bootloader feature which is exclusive selected. So u-boot or > grub or efibootguard. > I forgot the embedded lua code. >> Given that this is an anti pattern, I'm still not sure about what to do >> with it. We are carrying it for SWUpdate for quite a while but that's >> still the only user. Do we really see others? Or should we better invest >> in fixing SWUpdate so that we can use its original Debian package, one >> day? >> > > I don't see others at the moment. The alternative would be make one > config for everything and only add the bootloader as configuration snippet. > > >> Jan >> > > Quirin > Quirin