From patchwork Sun Oct 25 08:15:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Prado X-Patchwork-Id: 1387134 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=e-labworks.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=e-labworks-com.20150623.gappssmtp.com header.i=@e-labworks-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=HlS1VQ6t; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CJrZ304L7z9sSs for ; Sun, 25 Oct 2020 19:22:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8CA958752B; Sun, 25 Oct 2020 08:22:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z7BIuEwrWXCT; Sun, 25 Oct 2020 08:22:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id BD1B7874E5; Sun, 25 Oct 2020 08:22:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 335821BF3ED for ; Sun, 25 Oct 2020 08:22:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3051186AB7 for ; Sun, 25 Oct 2020 08:22:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07tPgGR6YWLt for ; Sun, 25 Oct 2020 08:22:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9422B864F4 for ; Sun, 25 Oct 2020 08:22:44 +0000 (UTC) Received: by mail-qk1-f172.google.com with SMTP id x20so5674242qkn.1 for ; Sun, 25 Oct 2020 01:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zLB2j/U9YQosAKFf70iHvink22etf7sJvm9tw7liG5E=; b=HlS1VQ6ty6YnklndXlAmPO2MMOjssTkfS5ZvXNwBcuGS1Y4q1NWNvGJr7X5qxuBcf2 H/VOgTgM0i5ESyATDc/0aYtgJCYOe+KmEKupujbliGJZFPiClo38xJmoz/WGInITXFgi Ufxx1LEl3/nyCXU/9Dj7FvCYRKrjDiO1QFsab5mkzHXoATm6viW0r5FDPUN/0DQHIBTf eM6xlSp4Nz4m0YXQxOwDLeIvMwjiK5zOvKOTGqCVlhSlICvLklcCNi31O3iJSOmvcgYM FXwVuOqwCvNy2VI840xwF6SZRVCnuV5L36X2VLe+srxkK+TVHAuE5R7J9hAfjorJJ2x0 ph0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zLB2j/U9YQosAKFf70iHvink22etf7sJvm9tw7liG5E=; b=Zb8M5qaZ/PJsyWHEawvmP+Lt1W8oo1q7EPIkTSZYN9qN3kWdZTOwfW5VHwR+5crt7j WkIbAvdtvx38xcZuUOnDFWQ4kmF0a6UMbMqAaX617ZpkefpUK/MSC9biAnsHW8r09701 lZA+1XAVmtk/ilU8HOI9CqWXKfsdwOAsQFk75KPzxEEGAXy8fmMCFTM+wGOWjnZaULKv 41V9C7shE69yXqDVSiFqwVe+ueeCU77flWR2hmM5zngsriJ7UQzOMQFWHiqM+IupANqV KG0UZRPc5mHJl8/t7uzLvn4Pa2BBvfGSmcTYLi+UaVydvWHe5pKBaBAOxXppWIZ8AavW mVwA== X-Gm-Message-State: AOAM530T4XNn4TbSqBkaYGjSXBibRSpjE+r17M/E0ko8Mgck1p5nJsb6 loP+yxw9bDpqJDoevCZQLpPHSITf6+pwNHdB X-Google-Smtp-Source: ABdhPJwl6Nmt0FeFvPcdeHY+riLFQFPBVmuJrLuQwxroOWfY62coo8xM0JtMvYNjrSHNFiMaB8MxDA== X-Received: by 2002:a05:620a:2144:: with SMTP id m4mr10345600qkm.269.1603613725288; Sun, 25 Oct 2020 01:15:25 -0700 (PDT) Received: from localhost.localdomain ([189.62.45.160]) by smtp.gmail.com with ESMTPSA id m15sm4692755qtc.90.2020.10.25.01.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 01:15:24 -0700 (PDT) From: Sergio Prado X-Google-Original-From: Sergio Prado To: buildroot@buildroot.org Date: Sun, 25 Oct 2020 05:15:16 -0300 Message-Id: <20201025081518.22309-1-sergio.prado@toradex.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH v1 0/2] Add support to generate OCI images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergio Prado MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Sergio Prado This patch set adds support to OCI images. The OCI image format is a specification for container images defined and maintained as an open standard by the Open Container Initiative [1]. To generate the image according to the specification [2], a tool called sloci-image is used. [1] https://opencontainers.org/ [2] https://github.com/opencontainers/image-spec/blob/master/spec.md The generated container images were tested on x86_64, arm and aarch64. Sergio Prado (2): package/sloci-image: new host package oci: add new filesystem type DEVELOPERS | 1 + fs/Config.in | 1 + fs/oci/Config.in | 88 +++++++++++++++++ fs/oci/oci.mk | 97 +++++++++++++++++++ package/Config.in.host | 1 + ...ues-when-generating-the-OCI-image-co.patch | 55 +++++++++++ package/sloci-image/Config.in.host | 7 ++ package/sloci-image/sloci-image.hash | 5 + package/sloci-image/sloci-image.mk | 19 ++++ 9 files changed, 274 insertions(+) create mode 100644 fs/oci/Config.in create mode 100644 fs/oci/oci.mk create mode 100644 package/sloci-image/0001-Fix-escaping-issues-when-generating-the-OCI-image-co.patch create mode 100644 package/sloci-image/Config.in.host create mode 100644 package/sloci-image/sloci-image.hash create mode 100644 package/sloci-image/sloci-image.mk