From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6927266035414335488 X-Received: by 2002:a50:fe11:: with SMTP id f17mr23559111edt.88.1612889409512; Tue, 09 Feb 2021 08:50:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:907:104b:: with SMTP id oy11ls4137362ejb.6.gmail; Tue, 09 Feb 2021 08:50:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrZgdWkmFkGQmnczgFTtURUSMnIyDCnIx5IH9opRLL33DTNrjclyarKSelfB2EKzl+pzfp X-Received: by 2002:a17:906:6b02:: with SMTP id q2mr23730004ejr.122.1612889408462; Tue, 09 Feb 2021 08:50:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612889408; cv=none; d=google.com; s=arc-20160816; b=tpBcha7f9RRJtSPWjSUsC5UPUYw5D2+bCUFn3xzPGYHhD2x8m7qAlZHAmSjUVJY9FX smVj9Cg/N9Bjm8w31gigojbR4Eag2rGtAvql8ovwo2rvyiRMkAyc9AYqYhsC9ttYL3hB 8Dm0Zb0c17ZnY8x0Sz0qG/WQpqEPdTDqCpKtBji1J+LE38XYBcZqm+hlErh8APu1EYjo piB2S7WjT07VNZ7Ajb6CKK0QUMjMXbZN/+XUIT6G38gIHmpWaFzi8xIbl+hDmzvQbcgd D9JP6we+ZskGKmF14TrfKymOfXrCNwJoj2aXLNlkjhU9BnsSYB3sSRx1WOLu2qrIar5l 7XsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=oFPxFP+B0uEgnMfAh8I+EtjuMpLmeow8a/cyZtJ/Kfg=; b=pZ5YuqSLIn2JGtaAJrlQwp3svDwnA8G5ceYlCePvwq2FHhJwJI7MpioJsPR/q+Is5z PDlfRvRdoy5Bt7zDl1WyvxcKqd6mgfMpRf6GudRn+r9NctskBHgmRShJ32W/tn+9JxCp loAT1SCkbUfPX9n2WnIOHErZYX2YZsXSkxSFwxY8rsTRcvhMYh+39A15o+8cc5dI1gHy vtnG2TlX9yc4uDSDSq1D9E9ldh+/jsfN98ZjecaNIFWCds+Rc6y7A3QOO06lctT5GZWp A/lo/4pVOj2+RMkxAwR3Uli7wEZk2zSLx5huX8Fs+tQOY1OnNm3gFWACSTN+zCfBAgoY khAA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id y20si902176edv.3.2021.02.09.08.50.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2021 08:50:08 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com 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 119Go7oj014133 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 9 Feb 2021 17:50:08 +0100 Received: from [167.87.249.204] ([167.87.249.204]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 119Go7jI027713; Tue, 9 Feb 2021 17:50:07 +0100 Subject: Re: [PATCH V2 0/2] Add support for containerized root filesystems To: "[ext] Silvano Cirujano Cuesta" , isar-users@googlegroups.com References: <20210209141005.45491-1-silvano.cirujano-cuesta@siemens.com> From: Jan Kiszka Message-ID: Date: Tue, 9 Feb 2021 17:50:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210209141005.45491-1-silvano.cirujano-cuesta@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: NWP0OnoHSHDL On 09.02.21 15:10, [ext] Silvano Cirujano Cuesta wrote: > This patch series provides support for containerized root filesystems, > for both target images and SDKs. > > For containerized target images the new image type `container-img` has > been added. > > For containerized SDKs the task `populate_sdk` has been extended. > > Containerized root filesystems are easy to distribute and run, enabling > this way following scenarios: > - Use ISAR to build container images meant to be run only in containers. > - Use the same ISAR configuration to build images for containers, VMs > and bare-metal. > - Easy SDK distribution and "installation". > - Quickly testing certain applications in the workstation using the > target root filesystem. > > In order to build containerized rootfilesystems `IMAGE_TYPE` as to be > `container-img`, additionally the container image format can be selected > with the variable `CONTAINER_FORMAT`. The default format is > `docker-archive`. > But you dropped control over building the SDK (and only the SDK) as container, didn't you? Where did that SDK_FORMATS go? Jan > More information about its usage is documented in the file > docs/user_manual.md. > > A PoC/demo of this functionality (only the SDK part) has been created > based on the project https://github.com/siemens/meta-iot2050. > Jan Kiszka already tested and liked it! => > https://github.com/siemens/meta-iot2050/issues/86#issuecomment-768907845 > > In order to get a feeling about its usage (you need Docker or Podman), > follow these simple copy&paste instructions: > https://github.com/Silvanoc/meta-iot2050/blob/master/kas/BUILDING-SDK-CONTAINER.md#running-the-sdk > Build instructions are available in the upper part of that document. > > Two new dependencies are required to create containerized root > filesystems (as specified in the documentation). > > Typical container image management actions (e.g. push an image to a > container image regitry) are out of scope. Available tools (Docker, > Skopeo, Buildah, Podman,...) should be used for these actions. > > A patch will follow this one to get the dependencies into the container > images being provided by the project > https://github.com/siemens/kas (for `kas-container`, for example). > > Silvano Cirujano Cuesta (2): > images: add support for container images > docs: document creation of container images > > doc/user_manual.md | 127 +++++++++++++++++++++++++++++ > meta/classes/container-img.bbclass | 99 ++++++++++++++++++++++ > 2 files changed, 226 insertions(+) > create mode 100644 meta/classes/container-img.bbclass > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux