From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6752900179667451904 X-Received: by 2002:a1c:2395:: with SMTP id j143mr24410883wmj.128.1574609366327; Sun, 24 Nov 2019 07:29:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:c3d1:: with SMTP id d17ls3157453wrg.10.gmail; Sun, 24 Nov 2019 07:29:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyc5CcqMqCs0mx0eoFs2O5KQs53GHC8/nQBgNuz7If2XX3TmW7OQ6ht1ddbJK/hBhdgMiKp X-Received: by 2002:adf:f850:: with SMTP id d16mr17953782wrq.161.1574609365606; Sun, 24 Nov 2019 07:29:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574609365; cv=none; d=google.com; s=arc-20160816; b=wWtB9y+R7fUn7a2d+qhbcp7HpodEs+yjBGSgGw2V4w4wJhR37KCs+KBwXwsLBv6S8O jyh8qsX3dU++U8ipAJJAFmnl9RsEwkEoGjiasSPjVIr3tSAth8bdfCcB0LpKdWP9z03h 1SlJsGvv0Jm0fo9yHxPug3O9jyipPm9u1Vmda5ylLmZ3jhIbagZroHcDc9aW2c2KUdit dPyKxv7zJYnLus6FwS2qgqSfHZPICwn7TI2I8D+nQrkIwlWvbm/+9DgFfdFENoUHZzA/ mMKW3ICuzTjxWJnxWx49YOSf+NsAsmr6tpx8lAlTv7/DshQJeTAjdRQ6g/m+g4GAoahE 79zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=43I17acRpNEXzjPA3n+r/GspaFXB5hBNEGe4Jw+AXII=; b=Eiixxy20lDoHYiFDnU6EiUioOJKxWuGPwXNt05RHam3bo8/rERt9RXeICyGbjZXCSi ShKFheMy6QEIoCK4Dhi5clFQYNQGIum6RHY7GOsNYpUe1a9etuK+pzh/rCWqTJA7nngh XQ3WbDEPG8NEBx/+P9Cext/2qTkXHVDSFX06u3s03raLxRo2xyXCXOxJfxowkyExSQoe uCzl1LkCBYB9yh3l0if5ydqpk01X62DPlcUr9kEE25vgYNFsVL5CUWseikz5BygXaUsW aB9cVei/bIM91ZimDMUaHoW/BId86vmQtqpRrdV3aUwG0TlKcrlee9i+/4GOW/yPYJsL fqkw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id u12si129478wmd.4.2019.11.24.07.29.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Nov 2019 07:29:25 -0800 (PST) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (dslb-084-061-174-101.084.061.pools.vodafone-ip.de [84.61.174.101]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id xAOFTNeN000590 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 24 Nov 2019 16:29:24 +0100 Date: Sun, 24 Nov 2019 16:29:18 +0100 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH 01/17] repository: new class to deal with repos Message-ID: <20191124152918.md4sxwz7iqeu6ewu@yssyq.m.ilbers.de> Mail-Followup-To: isar-users@googlegroups.com References: <20191028170132.28072-1-henning.schild@siemens.com> <20191028170132.28072-2-henning.schild@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191028170132.28072-2-henning.schild@siemens.com> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED 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: 9CNigAIBL/Ua On Mon, Oct 28, 2019 at 06:01:16PM +0100, Henning Schild wrote: > diff --git a/meta/classes/repository.bbclass b/meta/classes/repository.bbclass ... > +repo_create() { ... > + if [ ! -f "${dir}"/conf/distributions ]; then > + mkdir -p "${dir}"/conf/ > + cat < "${dir}"/conf/distributions > +Codename: ${codename} > +Architectures: i386 armhf arm64 amd64 mipsel source > +Components: main > +EOF I suggest to keep modifying distributions.in and avoid hard-coding architectures and components that are specific to the current Debian. With kind regards, Baurzhan.