From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD53AC433B4 for ; Tue, 6 Apr 2021 08:18:13 +0000 (UTC) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88E846117A for ; Tue, 6 Apr 2021 08:18:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88E846117A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=siemens.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+6343+4520388+8129055@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id iqDYYY4521723x3W9q53O6gc; Tue, 06 Apr 2021 01:18:13 -0700 X-Received: from gecko.sbs.de (gecko.sbs.de [194.138.37.40]) by mx.groups.io with SMTP id smtpd.web12.9201.1617697092188856434 for ; Tue, 06 Apr 2021 01:18:12 -0700 X-Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 1368I9ti002013 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Apr 2021 10:18:09 +0200 X-Received: from [167.87.250.82] ([167.87.250.82]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 1368EVQB022692; Tue, 6 Apr 2021 10:14:31 +0200 Subject: Re: [cip-dev] [PATCH] kas: Add opt/targz-img.yml To: Nobuhiro Iwamatsu Cc: cip-dev@lists.cip-project.org References: <20210402005346.372098-1-nobuhiro1.iwamatsu@toshiba.co.jp> From: "Jan Kiszka" Message-ID: Date: Tue, 6 Apr 2021 10:14:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210402005346.372098-1-nobuhiro1.iwamatsu@toshiba.co.jp> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: LSyDpnV2dt5EDeGpK1r6QegMx4520388AA= Content-Type: multipart/mixed; boundary="ALND2cY7Bjas1OsBTTLE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1617697093; bh=E5jNjfspkDKqsq/W1UfckwMK0+YgeWaJwOHjTdW7YTc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=w2sS+JbMvxlCHEpMilqysET1dNRDEeeLHL5FjhXFQUUCTAGdpCv3tSL8NTkSZWGo4Lr w4LYxlDA2wlIrpIaW/e2Sgu07Srolzzv498BOyAMvHNduwAP4H+qHAy8Eq/ztOqjwB18B 110fiu0OrBgimwfDWXoBPMj61w6sWs12XxA= --ALND2cY7Bjas1OsBTTLE Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 02.04.21 02:53, Nobuhiro Iwamatsu wrote: > This provides the function to specify 'targz-img' for IMAGE_TYPE. This is > used when creating a tar.gz image that does not support wic. > > Signed-off-by: Nobuhiro Iwamatsu > --- > .gitlab-ci.yml | 3 +++ > kas/opt/targz-img.yml | 20 ++++++++++++++++++++ > 2 files changed, 23 insertions(+) > create mode 100644 kas/opt/targz-img.yml > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index d14c72f..8802af1 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -6,6 +6,7 @@ variables: > extention: base > use_rt: enable > wic_targz: enable > + targz: disable > dtb: none > deploy: enable > > @@ -30,6 +31,7 @@ default: > - if [ "${use_rt}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/rt.yml"; fi; > - if [ "${extention}" != "base" ]; then base_yaml="${base_yaml}:kas/opt/${extention}.yml"; fi; > - if [ "${wic_targz}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/wic-targz-img.yml"; fi; > + - if [ "${targz}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/targz-img.yml"; fi; > - kas build ${base_yaml} > - if [ "${deploy}" = "enable" ]; then scripts/deploy-cip-core.sh ${release} ${target} ${extention} ${dtb}; fi > > @@ -69,6 +71,7 @@ build:qemu-amd64-base: > extention: security > use_rt: disable > wic_targz: disable > + targz: enable > deploy: disable > > # test > diff --git a/kas/opt/targz-img.yml b/kas/opt/targz-img.yml > new file mode 100644 > index 0000000..43c545e > --- /dev/null > +++ b/kas/opt/targz-img.yml > @@ -0,0 +1,20 @@ > +# > +# CIP Core, generic profile > +# > +# Copyright (c) Siemens AG, 2019 > +# > +# Authors: > +# Quirin Gylstorff > +# > +# SPDX-License-Identifier: MIT > +# > + > +header: > + version: 10 > + > +# lava uses nfs to deploy the image. For this we need a tarball instead of > +# full image This should rather go into the commit message as more specific reason why we need this patch. > + > +local_conf_header: > + image-type: | > + IMAGE_TYPE = "targz-img" > Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux --ALND2cY7Bjas1OsBTTLE Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Links: You receive all messages sent to this group. View/Reply Online (#6343): https://lists.cip-project.org/g/cip-dev/message= /6343 Mute This Topic: https://lists.cip-project.org/mt/81792957/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/4520388= /727948398/xyzzy [cip-dev@archiver.kernel.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --ALND2cY7Bjas1OsBTTLE--