From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6518759238035046400 X-Received: by 10.80.171.15 with SMTP id s15mr15046596edc.6.1517825324142; Mon, 05 Feb 2018 02:08:44 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.182.240 with SMTP id f45ls3930665ede.1.gmail; Mon, 05 Feb 2018 02:08:43 -0800 (PST) X-Google-Smtp-Source: AH8x227xvHFODU1xa0gq6sG4/tG94Nkljpknel7te6dzQCYSfzHrNZ1Jk9byzkKoz/VbQq4LnOty X-Received: by 10.80.144.177 with SMTP id c46mr16867066eda.8.1517825323554; Mon, 05 Feb 2018 02:08:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517825323; cv=none; d=google.com; s=arc-20160816; b=WpbK7ne9dXeuUsmLxvANXjkTq0F+SG8IKoPo2/HFAH/NXlEXfy2wwGpxHunQsFm/QO CIEVjGFQsQ4QwJzBfEsc6wZAUYQnqQCtugPUVVEEkkGPaecaPKMAqKDPA7IPNs57Gjkw JRTeNDjmh8jLgCQ0JBfP7G7iBB6mQCABgDbVRLPuv3mYnKAN7IajlPsrGxn4GyXnnD7u kYeth939Omdo+kGSvDSEVi1IzyxqTcRI/c8QomefdfpCAZTlUk50sT49fJrwgAC9HJXK Kp9/e6tOxsEf6Sw+/01Qm0wPEEz2n5sKh9WbLsbaR0yFfMY8kIR019AqQdGMOq17Mony kvKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :dkim-signature:arc-authentication-results; bh=D3OGiFnFcDyw7N8Fouw5xFQA0ipXjgovQUQpZhOFruA=; b=J5RLOmZGvGAC2KyFXOJN5njfYUl1unE8W7b22Jn+CSGSKtO4qG+WubOW5Y9BM2iFRo bKMVrTEmh0fVhZKls+M38ieVIpNLKZtYbU71oyOk08PD+i/2jP7lSa08wOHuxjZArzth Cds7CMA4E7xmmKO+Qk3JC2Zb0F4CYuWy452P0j/pQmf0yKqFdxn4VKlnomjC4nx6XJZE UekTNzHZD+OCTHBYir/zGj5TIXvtrxa772kWhTtyAXLcVcqkzjP2wcKnGFFyw3Up9B0w l+E/qkbZxl1OlA2gMKCO05x+MrGkjkkI8isTVHNIWBrqkSprL+aEYAqyDmCI+Xn7sCo0 6znA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=KlpOnKuH; spf=pass (google.com: domain of benbrenson89@googlemail.com designates 2a00:1450:400c:c09::232 as permitted sender) smtp.mailfrom=benbrenson89@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com. [2a00:1450:400c:c09::232]) by gmr-mx.google.com with ESMTPS id m19si716208edd.4.2018.02.05.02.08.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 02:08:43 -0800 (PST) Received-SPF: pass (google.com: domain of benbrenson89@googlemail.com designates 2a00:1450:400c:c09::232 as permitted sender) client-ip=2a00:1450:400c:c09::232; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=KlpOnKuH; spf=pass (google.com: domain of benbrenson89@googlemail.com designates 2a00:1450:400c:c09::232 as permitted sender) smtp.mailfrom=benbrenson89@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: by mail-wm0-x232.google.com with SMTP id v123so24646337wmd.5 for ; Mon, 05 Feb 2018 02:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=D3OGiFnFcDyw7N8Fouw5xFQA0ipXjgovQUQpZhOFruA=; b=KlpOnKuHFPbnatx4tyy2OC0i+Q13xhrxMXmEGGnuvbcRBtC1BeMGCfb7S9SoMmpTRf /FeA71H3iXgV2E1ZVHp5OYszScixst850CvdFPWRvopa0eCD7GxTHcBAAUc5jCbFYnC2 NZ6fcy2SxFyc+0j7OvYjpydwsub0PO0+LZW2oEZ4fhAnX3LLL7B07AsCvqK4z/mPqVSx 5CtLC+zxGaiEBoPdJYN2oBb5Ostgwym7wrZoyJY8d4PDA0AcMlyA7hNUdgljpeyBufmj NvTRDUfVwsbPEO/PmDNHvtMLU7oursBCCsg85YEvOksT8sr/tsGEqnVVp/QIP9T9KqJr xEKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=D3OGiFnFcDyw7N8Fouw5xFQA0ipXjgovQUQpZhOFruA=; b=RFtzJkix1g9ga46cdQebvYMKlMq6HFJ0rcIlrZnNO4/OouPwFLntenHUpPE71pDXlv LXGIxA9CDtOxeRRcbwjU/X4Psm9iKdlLcmAiBv3D0gNSGEUmMbPW82TEwNpdnRVsPhvc X5JwO+fFv65A5lubim9IRlifJM5Ke8qF/lC59jJNBgGlw9VNy7GfiURGzcqibyAN8pPU 15QhdFCxGF1snqb/aKidSbatN949v5nYtjAQZwY2Jn18vBiCMZjeSw50XXSm/F5OjSH2 vcZdt0wh+Otg5wK0GR45YwIqln3IERI9dW0UxA2Nh66ZPIDYlrmK3VGdwvpSSr3XrBWp 3JCA== X-Gm-Message-State: AKwxytd3C8QKsL3eRAlX3j6aQfGKbR2dng/0fJ794OZlKiL1LU2MrMJQ oImd7KR/z0Y99+Y0214NPm7viRJy X-Received: by 10.28.140.1 with SMTP id o1mr32488243wmd.141.1517825322997; Mon, 05 Feb 2018 02:08:42 -0800 (PST) Return-Path: Received: from [192.168.43.209] (ip-109-41-194-61.web.vodafone.de. [109.41.194.61]) by smtp.gmail.com with ESMTPSA id e67sm17755239wmd.7.2018.02.05.02.08.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 02:08:42 -0800 (PST) Subject: Re: [PATCH 0/5] support creation of a full repo for offline/reproducible builds To: Cedric_Hombourger@mentor.com, isar-users@googlegroups.com References: <20180204175454.220-1-Cedric_Hombourger@mentor.com> From: Benedikt Niedermayr Message-ID: <6ca3bedb-e829-0e07-c29b-cc19df848d7f@googlemail.com> Date: Mon, 5 Feb 2018 11:08:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180204175454.220-1-Cedric_Hombourger@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TUID: WkS7BFpJyax1 Am 04.02.2018 um 18:54 schrieb Cedric_Hombourger@mentor.com: > From: Cedric Hombourger > > The package repository created by isar using reprepro only includes packages by isar. > To support offline/reproducible builds, this changeset adds a do_populate task to > augment the repo with packages used during the build. The task may be used against > the buildchroot and images recipes. It should be noted that isar currently assumes > that the base distribution will provide both an -updates and security feed. This is > certainly true for Debian but may not be the case for other distributions or when > when using our own feed. > > Some rework may be needed if the isar-apt changes get merged first. Conceptually the > implementation may not change much (as far as I can tell!) > > Please review and let me know if any rework is required. > > Cedric Hombourger (5): > base: add populate_repo task to include distro packages to the repo > meta: move reprepro handling code to its own class > buildchroot: use reprepro to populate the full repo > reprepro: create the -updates distribution > multistrap: make the security feed optional > > .../recipes-core/images/files/distributions.in | 4 + > .../recipes-core/images/files/multistrap.conf.in | 14 ++-- > meta-isar/recipes-core/images/isar-image-base.bb | 86 ++++++++++++++++++++++ > meta/classes/image.bbclass | 47 +----------- > meta/classes/reprepro.bbclass | 52 +++++++++++++ > meta/recipes-devtools/buildchroot/buildchroot.bb | 20 +++++ > .../buildchroot/files/distributions.in | 7 ++ > .../buildchroot/files/multistrap.conf.in | 10 +-- > 8 files changed, 182 insertions(+), 58 deletions(-) > create mode 100644 meta/classes/reprepro.bbclass > create mode 100644 meta/recipes-devtools/buildchroot/files/distributions.in > Hi Cedric, thanks. Pulling packages from the local repository for subsequent builds is not implemented here? Benni