From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7075595997826514944 X-Received: by 2002:a2e:5cc1:0:b0:24b:112f:9b36 with SMTP id q184-20020a2e5cc1000000b0024b112f9b36mr12273092ljb.337.1651654621932; Wed, 04 May 2022 01:57:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1a20:b0:24f:4bdd:dc20 with SMTP id by32-20020a05651c1a2000b0024f4bdddc20ls274881ljb.5.gmail; Wed, 04 May 2022 01:57:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8GMpUD3ranPsWiaR+d4ExDWqTze15QAgYE5e3cFAjR4Rztead0ke4jBYpG0vdgUQdWRSq X-Received: by 2002:a2e:8e31:0:b0:24f:632:fa9 with SMTP id r17-20020a2e8e31000000b0024f06320fa9mr12192918ljk.185.1651654620734; Wed, 04 May 2022 01:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651654620; cv=none; d=google.com; s=arc-20160816; b=VEoWDI6iEwp3Ip94CHpFsaJHcVYUmRBfh7Jhf4oqHKeiioU60IZgPwomfvzlPmdjBH l3e/z5YDipN02otY3UTti8UXoM3nfZwRS1XPlPSSAXtQbxmTi8f6/lk/JDWQz7cCP9Im guvh/Jbn/aPfbFiXw5dkWH8zkMjGflhLP572rg3FPT1RjugHAzha5d7YBnPPe16LzGBV 49vyKG2rDea0XCjEduxTFn9xRhqZw/KXz13RtQiwfanWCjce98hXaD3gEVbWMy+19si0 adR1KXavgOcyhpT29ZQou345UCGydrrHezxTLp/jbY54Bn+fokczq/y/zHSv82NoRhQ7 HsbQ== 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=esRnrs+Sogo2WXfA0u2HrehBC1k9RblB3okn0GHqMnE=; b=FAz+NBBFX4h8WJB/UcTJ2anKYU8HBNewAb8kUkswe90QrynS4nyQ6Vowz8K3SAdmae J/Mm4+Z0JsynfZ8R5gzpwGb7SIkg7HuyKScTozwGErUGFt+Q0t9P2o8K4HKc2k7kTThB C6Q/WpcibPvSrgChGli/3VYcZB2kGYS+xEG7xN+KsdaK3okD/Lh/IE4sMMF1CWJhDksS QAswEeHj62SvJMZGJ0I/8FsHWAu272qYakyOiAuMfpXPl/fb+zUvcnw1QrwUVOYDZEJa OUTvnPB6DlH6aEPoi80YibpSYhEnrvsCa9cGC8mdQXUYtVNBMRtiwHvnhZGhWsGisoNm 7joQ== 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 x24-20020a056512131800b0047216d2d1a9si1015091lfu.2.2022.05.04.01.57.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 May 2022 01:57:00 -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) with ESMTPSA id 2448uvoh031854 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 May 2022 10:56:59 +0200 Message-ID: <5eb7a966-322c-5321-9291-5855b7026184@ilbers.de> Date: Wed, 4 May 2022 11:56:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v8 00/16] Sbuild/Schroot migration Content-Language: en-US To: Uladzimir Bely , Felix Moessbauer , isar-users@googlegroups.com References: <20220317045021.4018-1-ubely@ilbers.de> From: Anton Mikanovich In-Reply-To: <20220317045021.4018-1-ubely@ilbers.de> 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: 6sNbTIUU+4Cl 17.03.2022 07:50, Uladzimir Bely wrote: > This is a patchset showing how sbuild/schroot tools can be integrated > into Isar build system. > > Base schroot images are created with sbuild-chroot-target or, in case > of cross-build, sbuild-chroot-host recipes. These images are based on > isar-bootstrap ones, but include some build-related stuff preinstalled. > > To use these changes you need to have sbuild and schroot installed and > configured. User who runs build should be added to sbuild group. > > Currently, sbuild-related stuff is supported in latest kas. > > If Gilab CI is used, the following configuration changes are required: > - external dir for schroot overlay should be set in the config > /etc/gitlab-runner/config.toml: > > volumes = ["/path/to/overlay:/var/lib/schroot/union/overlay"] > > The patchset was tested with 'meta-iot2050' and 'xenomai-images' > downstreams in combination with kas image mentioned above. > > Current limitations: > - parallel building of several packages requires more free space in > comparison with buildchroot-based architecture. This happens due > the sbuild architecture which uses some basic layer (common for all > packages) and per-package separate layer (where builddeps are downloaded > and installed). There are few issues with disk space consumption and cleanup in the current implementation. We are currently working on it, patchset v10 will be send soon.