From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7354299914861412352 X-Forwarded-Encrypted: i=2; AJvYcCVZe7ig5PKTIlEoXzBEvbMDoZobClac1j/IGP37qX0MqyJrtp0/aj2qLE72mceS3vrCYubDV1bu3yrwNe1fltffsboR2Lntkeon7Ls= X-Received: by 2002:a05:651c:2115:b0:2d8:5b4e:bdda with SMTP id a21-20020a05651c211500b002d85b4ebddamr887343ljq.24.1712308196944; Fri, 05 Apr 2024 02:09:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:4f95:b0:415:509c:7fc with SMTP id n21-20020a05600c4f9500b00415509c07fcls1019976wmq.0.-pod-prod-02-eu; Fri, 05 Apr 2024 02:09:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVvoO97MEAWMu39nHVlJ/s+2QpOHQbcC7Yk1E59lB1dcjTWg7lqxKjvZPcHF+kb6CueeHcaBomw8/9Qc94k8bC7VHgKuiQb8NNn4ug= X-Google-Smtp-Source: AGHT+IH6rIv0UxkjVEGh3HflhO/SgpqjnxxQaDq2iXWRrqGE1HkE2aEO7LY/U9F2alMZKHe3gIWy X-Received: by 2002:a05:600c:190c:b0:414:102f:488b with SMTP id j12-20020a05600c190c00b00414102f488bmr661631wmq.20.1712308194802; Fri, 05 Apr 2024 02:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712308194; cv=none; d=google.com; s=arc-20160816; b=rFYeUmK1RFgulaBM5+8cyMDuuvJWbyHfmkR0GXDx2H7m6wfzrh0iFuasCk8tbc0HEk KDKOZ3yYAn17yj7TzMEA63x8aWqegRO/GiZiG/yXzKkMCp+2WsE6F7tSeNPsP1yg511q wa80wO8sv9na2VeZp5tuP7TfWS06VhDlyzKMDeLgYgo/31n3mxZ56fbM/pkKXQ9V+UQG OpbqOzijJu4/SgtP6Cu7jDeZJLtNv7zPI4B1T7yJcgbu1anDPKiIQND8AyEgGqFUz/Os 2iF85m6/xW9qlAx6r3OVJjjx17ShmNG5zeBb6/N7FuT+YPwd6YOUZV6spybUBEGCgPpN x5mw== 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=pCLlXOvyepPLdhqASeDfwLSfR8XTqinR7iVy9laXG2c=; fh=sdeF0r6VbrHZfm43htHQ4+uSIlYzuMU75nwEXsHRUfY=; b=zimf5QrBLUojTrd8JfmWMRc58u9puUuU4S2IYvHL8mqPgPcglG+FvoSNNwWXbC2sDq jFTLl3+fWvR7N1kyjN1MPpxp82ICQH6O6S7RPuN3m+yjLPEFjVwoXCGmild4rXlEwK4/ 4b8VRagQAJQ5qgKQhRIVu46dZYhVn5x+SL8DJxwOgDZvOyyIA2+29rmjg8YgU6QQZw4a /JEBkPMXBp7ksWI/0VnyZ6ryWzSX+dWMOjRyZ+F7Ur26W2BoMCcYAa2WWV9CH8csXjzv BulizV/wyHhun9slu27sUZ3uZH6WXOP/JkmW+oYdc71KEVl1BCla3D85LtbFawD22V7m AVFA==; dara=google.com 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 p9-20020a05600c1d8900b004163221b9d3si16774wms.0.2024.04.05.02.09.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2024 02:09:54 -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 43599q36000783 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Apr 2024 11:09:53 +0200 Message-ID: <2b33407e-bfcf-4ebb-88a3-6347a1f13aec@ilbers.de> Date: Fri, 5 Apr 2024 12:09:52 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Accessing sbuild build-directory Content-Language: en-US, ru-RU To: "Scheler, Fabian (T CED SES-DE)" , isar-users@googlegroups.com References: <81b2fa44-feae-4ddd-80bf-fd6b0e5fe852@siemens.com> From: Anton Mikanovich In-Reply-To: <81b2fa44-feae-4ddd-80bf-fd6b0e5fe852@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: sYJMX9iOuon1 05/04/2024 11:38, 'Scheler, Fabian (T CED SES-DE)' via isar-users wrote: > Hi all, > > I want to extract the coverage information (i.e. the gcno-files > created by gcc) that is generated during the package build via sbuild > and I look for some hook that allows to access the content of the > sbuild build-directory after the build from within a recipe. > > Is this possible? > > Ciao > Fabian Hello Fabian, You can refer to sbuild documentation for hooks explanation. The last one executed inside session before its cleanup is '--chroot-cleanup-commands'. So you can modify dpkg.bbclass adding any custom commands with this hook. There are no already implemented dummy pre/post hooks for now, but we can try to implement them in future if needed.