From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7133500741339054080 X-Received: by 2002:a05:6402:3886:b0:446:1439:5385 with SMTP id fd6-20020a056402388600b0044614395385mr4842487edb.113.1660897845864; Fri, 19 Aug 2022 01:30:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:27ce:b0:43d:2444:3c5c with SMTP id c14-20020a05640227ce00b0043d24443c5cls3676101ede.0.-pod-prod-gmail; Fri, 19 Aug 2022 01:30:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR776xYx+CvYCh8X+whcoB9BRhyxe9Xxr2L+2gITkizjshP11HcltFOgICBORFqStCTA+Y52 X-Received: by 2002:a05:6402:2904:b0:445:f3a8:a917 with SMTP id ee4-20020a056402290400b00445f3a8a917mr5340860edb.183.1660897844180; Fri, 19 Aug 2022 01:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660897844; cv=none; d=google.com; s=arc-20160816; b=CMk4obW9Mwt74PLqWeWsTEHkx0B79vmcZroQUjjl5+AyUUBwKqy9pUYApV6eNME/5l 2Su4avdX12ZZJb2DWckLS5eJG1JfiUJvMk6qnik6OBxGAJnekgsbkajwJ++kVja96aP5 acZbJDoGHd+BpfCYYsH7yokiJ7uW9R/xZtXoD97/LsE60AO0bQ2x7pZ7pnUuePb+ZVDb jKvp8fy0y7LQTjxO/OEAj458H5zuuSgNNWJT/mkuZsRqBr0Jp3LSs1Z18ocWpUIkAabC kObFOgvwhGhdp7RSgqgfb1MK+ohgOzEEPnW0Qmdy5MSnU7SB7ijsAVwg9pNT9j7GioaV 6ylQ== 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=I7Y05tJdyeKqAPhwTC/mBs9zjLdXgLykbiw/NWHDt/E=; b=n82RuZ3e8mT1Y9M2Uw79Au7s73FZkzjhsWFj0+lIkZ6anAVwS5Kn/dI/ez4gxYDuYj 3Q9PccPmAmlGJsM30U6XchYXxUNUv6efUe4KMx0lV/11576LMgEhDCcKZUMXTTlZXy3k Qd4gbdJRkKzbizAkN6TwO8X9slcRRcoSoYkhU7ezXulTOn38uRGGcbj55Af8vLoFSjJt 63IsCCD2byBo+4pvdFswB/jfiYpLPTttK0YNQNhf4DbKCvkgUYXRUSekfcVgR8ojuo9x ZKrSgccoe6CO4q5fQLLcmFCeAK8+v7OFko5FKyksFFKNSi+ThgW3DwxKax0j1coYA1UK IEDA== 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 bf19-20020a0564021a5300b00445f21c2b35si139603edb.2.2022.08.19.01.30.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Aug 2022 01:30: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 27J8UfZc007355 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Aug 2022 10:30:42 +0200 Message-ID: <4dd276e8-a0db-4215-6d2a-eb74282d0c94@ilbers.de> Date: Fri, 19 Aug 2022 11:30:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: sbuild migration problem: how to jump into SBUILD_CHROOT with build dependencies installed Content-Language: en-US To: Florian Bezdeka , "isar-users@googlegroups.com" References: <5ac8a864-5a1b-6f03-2318-68c6b8d612f0@siemens.com> From: Anton Mikanovich In-Reply-To: <5ac8a864-5a1b-6f03-2318-68c6b8d612f0@siemens.com> 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: j4lKWmxNppiA 19.08.2022 11:25, Florian Bezdeka wrote: > Hi all, > > I'm trying to update Isar to the latest next version in one of our > downstream layers. This is the first version for this layer that uses > sbuild. > > One of the recipes has the following dpkg_runbuild_prepend() defined: > > dpkg_runbuild_prepend() { > sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ > sh -c "autoreconf -fi" > } > > In the pre-sbuild times this task was executed *after* the build > dependencies have been installed but *before* the dpkg_runbild task. > > With sbuild: > - There is no "install build dependencies" task anymore > Installation of build dependencies is done by sbuild internally > - The task is now executed *before* build dependencies are installed > - I still could chroot into ${SBUILD_CHROOT}, but the build dependencies > will not be there > > Is there any possibility to jump into the ${SBUILD_CHROOT} after build > dependencies are installed but before the actual packet build? > > Best regards, > Florian > Hello Florian, Correct way to implement this is to move autoreconf into debian/rules.