From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6518759238035046400 X-Received: by 10.159.61.82 with SMTP id m18mr4000342uai.17.1517766920014; Sun, 04 Feb 2018 09:55:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.176.92.14 with SMTP id q14ls263426uaf.17.gmail; Sun, 04 Feb 2018 09:55:19 -0800 (PST) X-Google-Smtp-Source: AH8x2242ydwM9dOPb8HDtE4x1ZZWs+2zhcmDTwhWieq3u8u152QBJdidZLzpWD05NIg+0E4wRXOf X-Received: by 10.176.33.26 with SMTP id d26mr22782858ual.47.1517766919452; Sun, 04 Feb 2018 09:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517766919; cv=none; d=google.com; s=arc-20160816; b=kRwG7+r5rMU4v9iSAfEkvdhMdSt/pi7ZN5RLQ7ku/mCg1I04GSJQWk/WCK3MXs6nXZ iF5MWWvdTXXIFY07Z9t4NJdfc4OtrcPZouJUoS30D4AZ6Ic9E/KgBQ8eHiCo/YyceuMs 9byKW9o2rJbcP/HMd7HfeamcT6DxtEdDPXqP3qNOQtAV1YCjrTF9rFPugki+kDce+gsc /DdJ6BCwNg8glPeOR8ZzE41GlWuzMSxhlKHXPCu0DLQv/hRcpTrlAp+DxekGbNEWkT5m F229sfl+wQ3XFlgBeefItlHPOIkBguob+IwTtL5tyHjtoxBzMyXSRAczu3/yAB74hFLH 7v5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:arc-authentication-results; bh=HuX4UNOV9CAsGtk2dEKZXY4GzilKkh0rB6hdbb+qOtI=; b=byvXE+75mCBG36s/hyc90iXh+WtwOG56vAT4kmWKDTVY1oBWQZLHMH7wpGxzm6FBwD wKiLySgr+ozp+e6RX9ZYR6HSc72sWQuS3AYyyNOWL4DlIkTLf8Rm4j/CW85MRQYb0g2J SoAO2pyGktUBnfprn959ESBjr4kzpx61kfCQXdtho7a2Ws43EjtAQKutiWQgJJIIf+0X KCwrL57uwOQYYIPKbIz+ETkmirvYBgV/IrEidSzdb6IN9akJapuB/6iZZC+ABJXxL+DH RMzzmGDD8tuef5s00cfTYTKfV3ZVr2D+H8v5JNHd6YdYwfICAtgNbbyX4Zf42BZYrMF8 muFQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131]) by gmr-mx.google.com with ESMTPS id b32si681303uad.4.2018.02.04.09.55.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 09:55:19 -0800 (PST) Received-SPF: pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) client-ip=192.94.38.131; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-02.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1eiOVa-0005d7-Fa from Cedric_Hombourger@mentor.com for isar-users@googlegroups.com; Sun, 04 Feb 2018 09:55:18 -0800 Received: from 3a23c91bf2ab.anacadf.mentorg.com (137.202.0.87) by svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Sun, 4 Feb 2018 17:55:14 +0000 From: To: CC: Cedric Hombourger Subject: [PATCH 4/5] reprepro: create the -updates distribution Date: Sun, 4 Feb 2018 17:54:53 +0000 Message-ID: <20180204175454.220-5-Cedric_Hombourger@mentor.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180204175454.220-1-Cedric_Hombourger@mentor.com> References: <20180204175454.220-1-Cedric_Hombourger@mentor.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) X-TUID: w8i5y2Wt1SWQ From: Cedric Hombourger To allow use of the full repo we create, the -updates distribution should be created since expected by the multistrap configurations we create. Signed-off-by: Cedric Hombourger --- meta-isar/recipes-core/images/files/distributions.in | 4 ++++ meta/classes/reprepro.bbclass | 3 +++ meta/recipes-devtools/buildchroot/files/distributions.in | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/meta-isar/recipes-core/images/files/distributions.in b/meta-isar/recipes-core/images/files/distributions.in index cd214c6..1c6bb51 100644 --- a/meta-isar/recipes-core/images/files/distributions.in +++ b/meta-isar/recipes-core/images/files/distributions.in @@ -1,3 +1,7 @@ Codename: {DISTRO_NAME} Architectures: i386 armhf amd64 source Components: main + +Codename: {DISTRO_NAME}-updates +Architectures: i386 armhf amd64 source +Components: main diff --git a/meta/classes/reprepro.bbclass b/meta/classes/reprepro.bbclass index dfe48cb..52ead45 100644 --- a/meta/classes/reprepro.bbclass +++ b/meta/classes/reprepro.bbclass @@ -20,6 +20,9 @@ do_cache_config() { call_reprepro -b ${path_cache} \ --dbdir ${path_databases} \ export ${DEBDISTRONAME} + call_reprepro -b ${path_cache} \ + --dbdir ${path_databases} \ + export ${DEBDISTRONAME}-updates fi } diff --git a/meta/recipes-devtools/buildchroot/files/distributions.in b/meta/recipes-devtools/buildchroot/files/distributions.in index cd214c6..1c6bb51 100644 --- a/meta/recipes-devtools/buildchroot/files/distributions.in +++ b/meta/recipes-devtools/buildchroot/files/distributions.in @@ -1,3 +1,7 @@ Codename: {DISTRO_NAME} Architectures: i386 armhf amd64 source Components: main + +Codename: {DISTRO_NAME}-updates +Architectures: i386 armhf amd64 source +Components: main -- 2.11.0