From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 29 Apr 2025 11:42:47 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f58.google.com (mail-wm1-f58.google.com [209.85.128.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 53T9gkEJ018695 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 Apr 2025 11:42:46 +0200 Received: by mail-wm1-f58.google.com with SMTP id 5b1f17b1804b1-43cec217977sf28630785e9.0 for ; Tue, 29 Apr 2025 02:42:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1745919761; cv=pass; d=google.com; s=arc-20240605; b=NO0+ri9nQHpbnmFakosG+fFBM0tQv/zeDbQR7/8PLnVg8GxX2pm9t/uDA4O7DS1zDo C8ZN66hxE1A3aUk4EyIN8OtU0V0m4Kgphbdw3SUnQyXlcfA5k+XasZqJQmXATuF3sYi0 bvpKKr7qGtCdoQ6pvnoOshkximUbl8o0vyeiwdoQS3hmVKlOKk0GYTrmnSL9yhwWvfUX PUQM8KG1JTY4hbVakJxdZf0ljBs13mamgZvjmGdF3JUhYRLR4TUZWHguCG1EiHvNW7ai /imiqueMECIjV7EBq6IccsX6MYTxzb6CZtkDxGsppbOAhYyQ5b2bZQZGTAJ+GfP/SdZ3 OEvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=zPrPdU/HJ2Cc2cI9VYlxj4H1gA11/pxSp2eRSVQsZh8=; fh=HCUKgZiACZ1QPloMdJKyKp0UVNrtUa+vpKp5U3Iv2UQ=; b=MZFp6RDmDCZm8Ik3sMyOX8GM5rjmhVj1OmyxDpf1z4wJOUz4Wz3GjIghBo7ayp0I/2 nNJWV+rQ28H69G1udy8Wkbz2CS264h8OGnAvvA/si43KkLwUr+HO6TR1E0Ia3ffULc3H npYxIX3ICzn2h8xHLUxbhMTHNBM5aasjq6t7lLuC2L8E0e532gf4QyHqmC3mKFP40zTG BfMVjNlrb0i1CThz/jcsrxedbRc4HeVXTHo+eTQy//HRC/yX7sfJzWxQY+6Lvr5HDDrv caKMcTyS42/bZKd2BzLId3glU0fzYSvE/K+zWy/X6ODprSSgQFkUDpU8mZHe/v3BzFck gFKw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1745919761; x=1746524561; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=zPrPdU/HJ2Cc2cI9VYlxj4H1gA11/pxSp2eRSVQsZh8=; b=V1Ii28iHYSqGGstxd5fHTvWFikTkOXzXHTzpolSprWwI3Zm22xjwSH5Y81IRDLBYXX QU6e8NiQ4kVpnRrbcfaUeqeCrPClvIPqsxuGQ3RNhDxKqVIAES3HiJMu2KMufsgV0vIH pxJmwAOfw4nekbm+Vk7pbsMXKt3NHrROjlwUA7POAvxI2a6zIMu9PgGGcGPIqPaMbK7H fxSQEfow6eg1Ii6mbh41/y12GZDYsc5QHt7j6CP4mXsRuM0iLISRqdGG2nYYrot3RTLB YzdbB1Fm159EBqx3oBdZJ5Tkdi6zJHZFAX0AtiaeBaUpEgVnWIikfiFc85TnRkOpeNUW BdQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745919761; x=1746524561; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:in-reply-to :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to; bh=zPrPdU/HJ2Cc2cI9VYlxj4H1gA11/pxSp2eRSVQsZh8=; b=nYBTPUX+dYBrSUqfRaIJm1AmCqywaQ2p1hdtCtZU8q86Jr70r5oHMvgxQyZJblpXna ivsKyac6aDusoppIaOezD1Z9r12Mr2k9TUd/sAoXQCjOlqCGNiU0Bm+VGyv+qbtYZ3qj LcdmsBj6jCv25N84O1+Phf6TF4VmW/g89/s77miNN7TmK1iA21xEOHv4vIaOSRg5Vmzz uWc6+X9YtkIhzqslsH30j78groN2SBgwf04e/OVhtQXjzu4ZRVIVLzLhtD0kdflcY+50 t8syL5Jm4jpw9UynE81vEWfV7RjsDbUOe6eKy4UqBqkacoDROtUcXimA8K9Lt0/zGIFX 2MLA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWXc+7kxowEXO20GDWSCZ2Oo/HYNStBVQfwAvNtXXeOKEcXIkw8qDQYwu9AYXRQOz0gKaXI@ilbers.de X-Gm-Message-State: AOJu0YyR8ykdkQrmrofsQTXqAFZ5rOIhlYivZfNFEXiFy4uwKn0zO98K jckKk4kcwLjQJh7Gl1G4rKHZLecAJPCxWOKJJNUxF3ysrmp11SvE X-Google-Smtp-Source: AGHT+IFlDPQhAIEDVxdEhRNfHUUTlxdfpmPITTOJVQPKLXjJuvgYVVPbvFuU/tQLBLZf+eQe7s1Qfg== X-Received: by 2002:a05:6000:4021:b0:39f:601:85fb with SMTP id ffacd0b85a97d-3a07aa5a768mr8485556f8f.2.1745919760494; Tue, 29 Apr 2025 02:42:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=AVT/gBGjCAfPxZeI8W9w+GH/oJve13e0IUS/4yE/C6k5KXk3rA== Received: by 2002:a5d:5f45:0:b0:39e:cbca:9220 with SMTP id ffacd0b85a97d-3a06c33a353ls2616940f8f.1.-pod-prod-04-eu; Tue, 29 Apr 2025 02:42:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCULXtlao+OwlQuDYHExQrg7tNsc385Oi51D9oFLP+6bZvcEuIB9vcDcGdBKCJRtcZDicwKYI9e8ihSW@googlegroups.com X-Received: by 2002:a05:6000:240b:b0:39e:e588:6746 with SMTP id ffacd0b85a97d-3a07ab8c473mr8798764f8f.57.1745919758005; Tue, 29 Apr 2025 02:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745919757; cv=none; d=google.com; s=arc-20240605; b=jgznfy2OsI16g9DWpbGsYUkf8m0ycPkYRcdFCX4hyAPs/eqg7Tfu5BuqoRABThY8/u JA5kDYsNwaEcAr/gNv3CgIYGylSOruQxOL0iM/rb6ZlJq3S2vYf+vks2R/zUU74+l+an fzOMODv12Qpmd4raAMsmW420WZbemJqnFu+iEiWLs5Q6W0khlukOeA1Qo71z4drPy7Jy 7gEhQKVcWz1Im1OAnAuFjBJhpKriwmjDRmRvPQKWnJKVuNJFof7tLWz+wJODBHaaXRfW nE1zBlZ9cF+gqd/bWoWqbpGuVL3VjzgVcrbNRYb9r6tgyxIokQ102av1575NhOTYKtsU HoSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=QuJUbAA5DhWRnD/zB/CrETh+ArZof5AOUmzXW7QGPrY=; fh=XRJkjpjQKYVFmru1Qry1TGpv8mv4XiYi4KqFL1EcdaE=; b=QaJKEYHrdqNur57TNxlB5lmXnBF3brqj3RdTmN4MnkeGzbmQCylLniBNrAGZ+UpQmJ xqpwi3WlS1NskofNckYiXdxslKuHR0CssE1RXFFaZcMVy95+rA5ZaJgt/tIHh7vV+EKa WkchiBuRq5sXuttkJiiaLbKtafroNzXZcfaU3wp0DzGGn340Tt8xbp7ppmxxnQG5Xxgw yhGaZDOGYb7gEobxdavwfHxRIEfClOednuc7Hbx+5wI7bYDFd809nqOxNwWYOcb0m7Uw XWyCE0Ttx6P05bYpDls2bD6wFg8cwvUVwicke8Xv0cbYTCknL2Vq98q96sJ2inQnMtJ2 m/IQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-3a073e0a28csi313824f8f.8.2025.04.29.02.42.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Apr 2025 02:42:37 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (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+deb9u1) with ESMTPSA id 53T9gZEV018686 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Apr 2025 11:42:36 +0200 Message-ID: Date: Tue, 29 Apr 2025 12:42:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] features_check: add bbclass from oe-core 1a2afcd0 To: chris.larson@siemens.com, isar-users@googlegroups.com Cc: Cedric Hombourger , Uladzimir Bely References: <20250328202532.15607-1-chris.larson@siemens.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: <20250328202532.15607-1-chris.larson@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: uibPR3SVQa6J 28/03/2025 22:25, chris.larson via isar-users wrote: > From: Christopher Larson > > Allow checking of required and conflicting features. > > xxx = [DISTRO,MACHINE,COMBINED,IMAGE,BSP,ROOTFS] > > ANY_OF_xxx_FEATURES: ensure at least one item on this list is included > in xxx_FEATURES. > REQUIRED_xxx_FEATURES: ensure every item on this list is included > in xxx_FEATURES. > CONFLICT_xxx_FEATURES: ensure no item in this list is included in > xxx_FEATURES. > > This allows one to easily specify that a given feature is required for a > recipe. By using this with the new features variables, we can ensure > that features are set correctly for a given recipe. > > We can use simple checks like this: > > REQUIRED_BSP_FEATURES += "some-bsp-feature" > > In combination with inline python, we can implement behaviors and checks > like this: > > # Enable the 'wayland' image feature if the machine feature is enabled. > IMAGE_FEATURES:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'wayland', d)}" > > # Require the 'wayland' machine feature when the image feature is enabled. > REQUIRED_MACHINE_FEATURES += "${@bb.utils.filter('IMAGE_FEATURES', 'wayland', d)}" > > Signed-off-by: Christopher Larson Applied to next, thanks. -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/a7f93186-5798-4ca7-915f-2013b908391a%40ilbers.de.