From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7111687409920638976 X-Received: by 2002:a05:620a:4495:b0:6a6:dd68:6685 with SMTP id x21-20020a05620a449500b006a6dd686685mr20452653qkp.394.1655824065518; Tue, 21 Jun 2022 08:07:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:308:b0:304:ebe4:7307 with SMTP id q8-20020a05622a030800b00304ebe47307ls9320411qtw.4.gmail; Tue, 21 Jun 2022 08:07:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v6v6cSHhxrVRS2btEtMyVkZRloBlbq2vGzPbK0nLIc82KGUvqxU8kMq383cR5fOwnNBBm1 X-Received: by 2002:a05:622a:1a1b:b0:305:2dcd:550 with SMTP id f27-20020a05622a1a1b00b003052dcd0550mr24449713qtb.259.1655824064871; Tue, 21 Jun 2022 08:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655824064; cv=none; d=google.com; s=arc-20160816; b=qVBg1gcZwjOgY9TBD9AujoAAUz8UQIM8WqJcfErmdLoo5JRAew/ELcxaHF5/um1q71 AY1FjjYR0LI3cIE31lHACk4lL8gnnXI/tpbXwop5ncwHG1sO9IkAbviocGqAPsLpStTD op35G0LpmrpM68lAUZK08atqK2z78ZR3lz9u9CBTjMnPaCHiMq5oux4Z2aKT7YcYMdBB hPCNAmLhavH1fyWLnrgO+koqU5KB5INj6Wcdu3VGNqt68Ob1FcpOiqeUneKRkjQyZDqe hnlxoMCirTj1tybOC79jLpnLJ4zthQgvMnravkeyX/EFQ4KSRkO4Qik53SrVvXA4yRH8 SKZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=XObIzeYJdluGSw9F7wtwusHh0cTgs5Mw1nQ/bAixIzA=; b=CdV6f+8OjKCUZlBqu7cpIMLmdkQlQY2ZRVG/FFJg9Zs/RhcWCKx9sHLzsqmHQgz+vb we3ey5SX0omwOM7I1XaQskeOClWTsqOfrYyrJAR5fOTVqb8+JMB2KfhtAmjOmX3gBxKW AqKLU7LPFI+sVR6JLCgtuUOmGvyqhewyUii1sR2OE5MMGeWfV23jCNoiPkIpRIyobqev LhA0S9DOkIOGHnG2PMQPT+BVTE1uXEoch+yb8TF70Y5OstzLhjLj1C3TtIiX0rNgVeAq 8JyNcc7zrNkXUxvdYkXR5Kx/UMcmWDYrHvb35Pg+JxPwCnxtI72eFYhWzHxKrCswT6G7 d3HA== 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 Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id n25-20020a05620a223900b006a6af538dfdsi845975qkh.6.2022.06.21.08.07.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Jun 2022 08:07:44 -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; 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 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 25LF7bFu031667 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jun 2022 17:07:38 +0200 Message-ID: <3f5211b8-891b-c26a-c027-bc2dfe26b3df@ilbers.de> Date: Tue, 21 Jun 2022 18:07:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v1 00/11] Migrate to Bitbake 2.0 Content-Language: en-US To: "Schmidt, Adriaan" , "isar-users@googlegroups.com" References: <20220621133856.4673-1-amikan@ilbers.de> From: Anton Mikanovich In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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-TUID: gzGEkisPizFr 21.06.2022 17:49, Schmidt, Adriaan wrote: > Hi Anton, > > I like the script for migration of overrides. Did it really catch the required > changes in image.bbclass automatically? That's impressive, as some of those > are in Python code... Hi Adriaan, The script was taken from Yocto with the same imagetypes code, so it supposed to work with it. There are also other scripts for porting parts like 'inclusive language' vars rename, but I think it can be done manually. > I remember having non-deterministic metadata issues, but not exactly how I solved > it, but it's somewhere in my previous email on bitbake2.0. Might have been the new > BB_SIGNATURE_EXCLUDE_FLAGS in bitbake.conf. I also restructured > the *_IGNORE_VARS there to be more aligned with OE, and may have made some other changes > to those lists. Thanks, will check. > Also, in my changes to bitbake.conf I needed this to make it run at all: > -PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" > -PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}" > -PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}" > +PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" > +PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}" > +PR = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}" > I'm surprised that it works for you without... I've addressed this in p1. > And I think we need to upgrade some more files we take from OE: > - meta/lib/oe/* > - meta/classes/sstate.bbclass > > Did you run into the "broken sudo" issue I described? That might need an upstream > fix in bitbake. I've tried to add [network] flag to 'apt-get' tasks, but unable to test if it helped. Will continue after resolving hash issue. > Adriaan