From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6615476053044363264 X-Received: by 2002:a2e:59d1:: with SMTP id g78-v6mr1807381ljf.33.1540289404265; Tue, 23 Oct 2018 03:10:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:6f4e:: with SMTP id n14-v6ls108235lfk.51.gmail; Tue, 23 Oct 2018 03:10:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV606GYtlWtnTo4zXpmqZ1wJYZESClNiUIC5QoE6rsPcp02RB78sVKhzKbfwyn45QoPKOEjb2 X-Received: by 2002:ac2:4359:: with SMTP id o25-v6mr830101lfl.31.1540289403760; Tue, 23 Oct 2018 03:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540289403; cv=none; d=google.com; s=arc-20160816; b=KX8Hz0c4ou7LUnr3/wM6TQCz8kbUd9LBdP9iZi/zMKucdTCQ+cxR4+KMGU5XmGo4TM 1cMYe7Mjzvem3i59qcFMwDruo5t8lD+ttXRBfJx+uohXDrOQdtP9l/izBSo0zQbThWSs 9fAG1rX/Elhms974S9MCK4kF5sGE7ONcIiWmyZvK+5n5ZlOX0I9g226Q6oZf/EBpLZd8 wI+jlneKZUv+tDJbhWMemxA5sxv0a52QjkkxM9EZlQ69Zkefp+4weobC2FJzCtxDpvAc Ky5OzWfdE6GH6yWPU8SVtD25cugKFBV31Q9YW7pqgDYamLNpHxI3FRHbyQPdqYWsUlb+ otrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id; bh=SxfDmZRyOG9GXKT8gBayjmV4BqsRoWaep5UGFejvnnA=; b=sC8PsJBGIrZHi50UGEXdKjuQQ78ZOa392MTuGm0BzRp3COhnbSoD+skFWDWFnRfdxR szB0+EM9ufDaTtNfV6c888NeFIOSIosB40kwgGLYABAN/SVfR5m3sGBfDP6Y4pMok4Ls eaZSigdV6gB1omJJhHcF2xh+mFdTalgyYgmJbQ7t3sw13McXbhB1llxRyz4N1nUyywP4 XA9xhlfQJU4owyXQMw99+fwb4NdjlHybtt4aXzwg+5JH1RZP0YOrX7vMO/gQWRnVW+jp NlpOwZMzGiM+KLd6D//2HitopboGTldFz56m/hdonLNIpN57p5ib9Rp1ZJ1umDlt7CJM MeuQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id y66-v6si22046lje.0.2018.10.23.03.10.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 03:10:03 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) client-ip=212.18.0.9; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42fTf30tDnz1qvgx; Tue, 23 Oct 2018 12:10:03 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42fTf30kqgz1qr2l; Tue, 23 Oct 2018 12:10:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 2w-JWDcuQLWk; Tue, 23 Oct 2018 12:10:02 +0200 (CEST) X-Auth-Info: IF3R+6DtVoMFyGJFnIO3OfRASdVEWrvOyVSXH1hBAkk= Received: from sandvich (p5B04CE13.dip0.t-ipconnect.de [91.4.206.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 23 Oct 2018 12:10:02 +0200 (CEST) Message-ID: <21866f1be8507deb16d968b3d209656327d5eb4c.camel@denx.de> Subject: Re: DISTRO is set too late From: Harald Seiler To: "Maxim Yu. Osipov" , isar-users@googlegroups.com Date: Tue, 23 Oct 2018 12:10:01 +0200 In-Reply-To: <485248d7-c66f-8d84-093c-1b74c90dfe8d@ilbers.de> References: <56972bf2e66e3d979a1ce1c332594fee59e4ba8f.camel@denx.de> <485248d7-c66f-8d84-093c-1b74c90dfe8d@ilbers.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUID: cCBi7aNv9rpH On Tue, 2018-10-23 at 12:48 +0300, Maxim Yu. Osipov wrote: > Hi Harald, > > The list of supported distros is under isar/meta-isar/conf/distro/*.conf > (debian-wheezy is officially not supported but still present for > convenience). We are using `debian-stretch`. If I add DISTRO = "debian-stretch" to `local.conf`, I can build. But this should not be necessary as $DISTRO is also set from multiconf. The issue is that this happens too late, so when $DISTRO_SUITE is expanded, it hasn't happened yet. > How did you get the value `poky` for DISTRO in your environment? Hmm, apparently this is kas adding DISTRO ??= "poky" to `local.conf` if no distro is supplied in its config. This should, again, not be an issue, because the multiconf sets DISTRO ?= "debian-stretch" What seems to go wrong is that the multiconf is read too late, so that base-apt-helper.bb tries to expand $DISTRO before is has gotten its final value. I don't think this is the intended behavior ... -- Harald DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-62 Fax: +49-8142-66989-80 Email: hws@denx.de