From patchwork Thu Apr 14 22:56:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1688 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Fri, 15 Apr 2022 08:56:44 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f57.google.com (mail-wr1-f57.google.com [209.85.221.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23F6uiqZ010358 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Apr 2022 08:56:44 +0200 Received: by mail-wr1-f57.google.com with SMTP id l14-20020adf9f0e000000b002079eeec6b6sf1021437wrf.22 for ; Thu, 14 Apr 2022 23:56:44 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1650005799; cv=pass; d=google.com; s=arc-20160816; b=s8D0K2pOyQ8Vj7SEu9zMBdLmqCdYQnlAIHYjF/+zYGjn6MEJTzQE7BvDxKRgZ+JHeP qYlC76Ln+S94bIOwz8+ApPF8VEeUImxxI5QZBA+mfVYG7pI/JiHPmYIWquVeyn5e28vg DNByt9GgwcOd4gZbVB/EGZ3RNjbtnrsH3X93u3XPN9Pj6kggcOPeF8jeLz40tPNuF7UM Q4+JffqXby/QuXcGSP2+eTWnWPOCQgMT3DkYpf9raKRvOqZoWSkrECqpBa4G8dunjMFE +wIp0669THfgmmPXgklvE0zfHjO2wX4lu1fE7DAxSuT0Am3ZcTlSMj6hFVDhUTlO+V0K R08A== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=wVhC2QrYjANJoLk07+jrf2qMqtdjQTZz7tvNthREreU=; b=TLTUXp+OKlCR7UsgMvZfpqXNOc+H10hqk6Xm33mdc9erX1mgZYOqSqouDcg3BV5U90 XLToZOEVBNZhF5hh1/NH66Qve9B8zhqxyy0ZNIBTNmred9Q5W7snvgLsYiJvLe2qgzJL Qdv2seTEgP05F+JvQwZ9nCjjC+Qtw7OH96/sWHCg86RY382UoLz/iLOnIJDoCl7lwvbd YqlRomo4AVQRv7mykwc9T9BHfyqFNPXEcwtNV2ST2eFTkxCCKrW5o49gqMmL9gGCXWFX akAwqOHAL1yjiZxzE65pHBpON/8UGvp8C6pPQbLo6F67FcuBUP1XQjHpLCZraiictfR+ TEpQ== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=lI7J4BEj; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1b::608 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=wVhC2QrYjANJoLk07+jrf2qMqtdjQTZz7tvNthREreU=; b=pHrPSjIhttXc57FLkYSICKDfWmF1B9id6XI44mZ8rA5+isMlELoJa0+xIQujBmtUYu 2Y5XIRbvCnqcsiB7hGpOdsb6TzlutD2TfVFRH/McWdFPhIEKpMT3YElPmH76Hpbo3qmA g/VOJ2ydMhHETvUap3Vw55leREv1xsvBYUHHybyQp1f/pUSLl27zhVw7GfR8P4xRPLHn m0s/lQAvShxhu1Pd6XLaV5uztn9V6IPsSkGx/XIA82blYiHwAVc2EFpOnoMw3EWYzj+D p6MHpiagHBvBEjlUmqSJEegwy8AIDuSbk3yyqLqLU1OJI6ywEgPhCXR0xMBfAXE+km5u 0Fog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=wVhC2QrYjANJoLk07+jrf2qMqtdjQTZz7tvNthREreU=; b=Nj/bYG2S1KxSXFfJi9fmIUo03/FejTXkZxPpyXDs0y5dhrCCgJZMUfqnGDK0XZML18 o3VFn4ESHPuS1AhQT79L+UaYAEcQs4Xsz/PPyztPOjWIkuQKMwBihVUYTGiwQ6PBHYRe gHsHStyLbAkMdZKd6db4LBQ5R/JQ7LMaa9ctUAAeLp8+uQWZN29ApsSllk3CKAQA3L8K S8vJ6Gpz9Z/SH2Cc61vuVdxVOIM9V+i+vjpzGNsyKybf034tG6CAdP+084pYBEK10Q+r hhZqMNDAY/9/CLqAIutGHP/ihoqKsr7/fzLdiv37Xz6K/ZqvwsZyiQF9NP1M03U4MhTU //SQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM532uDj81jqAkjzeAfTKvu5VJj4Z05pCBUc8mZO/v2tlxlSWuy3pa ocamxcLE/PyLFdH71GnZfpg= X-Google-Smtp-Source: ABdhPJzm/XMDvWq0SAyU929dk8AIBpxNrAkkOAz1dpDOcbay8KuJO8T1XLIQA1z/+CTDV9BxRu0NtA== X-Received: by 2002:a05:6000:1687:b0:20a:7c1a:afd1 with SMTP id y7-20020a056000168700b0020a7c1aafd1mr1818369wrd.326.1650005798898; Thu, 14 Apr 2022 23:56:38 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3544:b0:38c:6c15:b2dd with SMTP id i4-20020a05600c354400b0038c6c15b2ddls3503735wmq.3.gmail; Thu, 14 Apr 2022 23:56:38 -0700 (PDT) X-Received: by 2002:a05:600c:4044:b0:38e:d2bc:1bc6 with SMTP id j4-20020a05600c404400b0038ed2bc1bc6mr2050119wmm.10.1650005797967; Thu, 14 Apr 2022 23:56:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650005797; cv=pass; d=google.com; s=arc-20160816; b=nTk/KxccQ7mhBf4QHi3SXzYypbV9GDnm8rdHWVp+zEiThjL0Ynh9bTJ6VGUwQyVli1 xEhldvamKrCgkbkRAppyG0xQ8kuZa3mktpwl7ut6yh3uc8PzV2EvmlQX6gfd4mxB/Q3C YOFdZ84rFd5d+k0SnhhWvkNRcEN2oPtyYhsZJxdvxsAW+z21WPl6LAihmnCaMvl8P4ZS qUQKulpgZXl67QwDJdQC3F6u0pP/B4X68t7noQZsCXb9AthogfuE+fNQUJszgGZMLTkp HjNQnW5D8fg6JYPS/xolwRtwfJ5N1Xu8XW+ZfmzazVOfTjwe3p6dxX+e+dnK1EEuUSrY Yt0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=20CNoMfHxLNUEnp8rfCweqBn23bJxpfrFppybMg0fHM=; b=xUzzlA2SxGHdOv5AVvLD+A7iWiIz4Jb/kMSMTZaRRhpxe3u7TTGu17794CfEYRO9i/ F9P2/UV6zsWfFl/c+hmV/6txzLPHQ0zr99arITWRNSj0SteRfdet1wLEVdDxzc7XEIBi rQYu+J8I35YugyPZ9xZzZHii1MxYND//ySVjY/UljtIpPX3Ten5WmzAhq4mrOpcM61iA 1ew090m8/2zXBaWD/3O4R18ZuoEoZKW6cZEErh4BBJcrbLNqvVUa0DyncNFx5ULs+PRz gSOB0mp/+gKcPxOgqefBOanKnbaBA+0c3nOyMaiSekmeDA8RZ7UpdGbmv/WsPj8c7TQ7 yV3g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=lI7J4BEj; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1b::608 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20608.outbound.protection.outlook.com. [2a01:111:f400:7e1b::608]) by gmr-mx.google.com with ESMTPS id ba21-20020a0560001c1500b00207b71848aasi34742wrb.5.2022.04.14.23.56.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2022 23:56:37 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1b::608 as permitted sender) client-ip=2a01:111:f400:7e1b::608; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JkPotbpzrNFAv4dZ4OUr+Nk4AV+19WEM+bDOtHhGHHL87rQLflh0+VlYlRQWx72W86UQQ5i7hu0IzC/WqpP9+OmcqlxdsdnumO41iJvpFmoLlbDgeRrltQbJKv049W9VC/twwfTdUi8LdI3QRDe3oDSBHdAQG3UK0W8nOdplCMSGoEQSF/YCzsXR2usorwVieOzwnf3+ukRQvCzPA9/5m5kVgYrK8x/+IyPvCLlUrv4/eDjpndNSBlY5DrVuOeXw3OnI1JrfpIKhu1UUs6vjPRIO5sDqNthQYpn5UbT6eHvBPhQPAY/CpbK68e1Dg7efwt2GWsAzTtqSPTVP/KLBdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=20CNoMfHxLNUEnp8rfCweqBn23bJxpfrFppybMg0fHM=; b=obhuIZ+VmvEZTp9Krk+cEodONsh2osXn1ptvoBiQiIOAsKfzUyCwp2xlKtgMT96C/YEmaXI28lEKGUHvT5+lVUaPg5+jZO8L+7DDPVUfj+Emj2ArBapu55xewLGeH4l70owXq7c0KvSiHKxiFL7do9ymZyv3Lpr6ERlP8KsivzSQ2K9JJSVbvtMyJspwmyQMzGGJbrD7mbmiXs8hn4RKl3gSbXSiagSz8eUkwe0XhdvFcCA5yLyLHw3foq3p5wjNbwjHcG/GYDi7I+OzXa+nxW2cV3oiMVRsdRTQo7aaF3JUg7Ob2N+czeXZ3DO80X8nUPTweuYM4imK1UNcDz8taQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.72) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from DB8PR03CA0010.eurprd03.prod.outlook.com (2603:10a6:10:be::23) by AM4PR1001MB1460.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:200:98::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.18; Fri, 15 Apr 2022 06:56:36 +0000 Received: from DB5EUR01FT056.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:be:cafe::ff) by DB8PR03CA0010.outlook.office365.com (2603:10a6:10:be::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20 via Frontend Transport; Fri, 15 Apr 2022 06:56:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.72) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.72 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.72; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.72) by DB5EUR01FT056.mail.protection.outlook.com (10.152.5.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5164.19 via Frontend Transport; Fri, 15 Apr 2022 06:56:36 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC9SMA.ad011.siemens.net (194.138.21.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 15 Apr 2022 08:56:35 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC89XA.ad011.siemens.net (139.25.226.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 15 Apr 2022 08:56:35 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v3 0/7] imagetypes Date: Fri, 15 Apr 2022 08:56:10 +0200 Message-ID: <20220415065617.1910954-1-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC89XA.ad011.siemens.net (139.25.226.103) X-TM-AS-Product-Ver: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-AS-Result: No-10--12.537000-8.000000 X-TMASE-MatchedRID: w29TUk8chu6SZ2E+VTMa2l7eQlWD/EC8yw7VBksEC0BGjDwRSl8gFPWr 7HvOSElabcPp/oilssgWFZo+2Qlj9KxLyZX3xqXZQoW68yqSN0sbAHxxrI5Cd46cpbnLdja9oh/ WV81PtmIS39b8+3nDx3o6TtPuoiTUSYg23IT4aTFC3UkrkIx+4oQCVVInz+n83nHtGkYl/VpBml BF/IJ0fEoPLn6eZ90+S5cA1dFoLccAQAmhxpbNK8AO5m6H3puUB6Ac3Y+WnPZl/fN/7Gm4uMnlJ e2gk8vIVU2mTxjpC9OK1hDAKXn3uOUZ4LV9ny+d3GdDPVA0xQeNpmmKKDMxRMEvKlG0CjjIj0jX Y9STMgHLVf5VQkns8R+Di3+4QSRcS12ryYLsTs9HSFyhp39Jhd7vUgWXzB85B/XUnmGGOOqs4IQ Yg+G3CAg2kgWdt3qaRciPnulmwZIoow6ahtHoYQpG4pEjrtHgZSU6HajahM5bUzvsaHW6BikDYT G6KmZaDEdi/IsOVaonLSvSA/QmXf5ol8k5gi4eVJmYF6FdQgv4HmfBc5siRk+zv2ByYSDQ1cuIR wt/4MjlhEUSYIUpAaPFjJEFr+olwXCBO/GKkVqOhzOa6g8Krac8T6YGJntCmgs2VzbjnBPXBEtj kXo6LnbJ5GSp/2qXrCj+M4Rk/UA= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--12.537000-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: 05FF06585495465BE518A2C5E9F650F9227B06CB965BA037BFCAEE5E40A3680D2000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa8413ae-2e4c-4c06-765a-08da1ead156d X-MS-TrafficTypeDiagnostic: AM4PR1001MB1460:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WAVivG3YQAXyOVd3sO+I3qxKoNa23henYMFv0rHQd8arNkdHVV5aHETRXoz570nXx7FHsbqQOQSIhq6buayx0QbWY1dkoju1lrIKLnjV2otSwTBYdueXFVg2lkt1bIoBpPDD4C8X6bD09y4I+gF/SWVPl9JNAESTUDkWt+ajtZtGkBm6JJFdXa6WX7jexXhTyBa1YteqIaqssMhaauwbWnxUudQuiwV2WRm+Ah2QDqrNwkcw+9eZjA0ONZuqW54pyISot620Ixwe4YrlPOaPpmQcVkqeqQWQvHzmKQ04GmQTAuQRifriy7WjxLWuDGYYOyxK85wZ6aTl3uE3W2KOc9zr4ZftHMOuaM9SfdJEEk/Vs6R7kImYBOMVhVTxXi/MBFowR6w4IYaNj48sSWDdXT94rgKl4WF76bU0MNCkE1brpVaJMjEr/pQ6jFiXNnU+xzteHZCA8rBKcq5qMOrclzsSSgNAsvfWHKZRwHfd3mi0deNzbaR2Dk70Wh1uJtz0yHuW7HyfbLX/Qmgwk5DeVNBtpZKUP2PMePgck3J5gzvY8mY0AvuS1V/bzzGs6RghxqxJ3K1XtBl4kkbVf8Ibeor1yoJtakPNVX2wPt3GNyq/RcywvSf6f+TM1nyXK2j8tZpd0pKSZ/Vuw08ay4g3RbCdG1/tePcZAUHTXMw1tXiK3iEV9kM2yHfNhT0cueapqioDCZ9+e2ZvPc3UXe4N7Q== X-Forefront-Antispam-Report: CIP:194.138.21.72; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(356005)(498600001)(336012)(2616005)(70586007)(40460700003)(70206006)(4326008)(47076005)(956004)(6666004)(8676002)(82310400005)(5660300002)(107886003)(36756003)(81166007)(82960400001)(83380400001)(26005)(186003)(6916009)(16526019)(1076003)(8936002)(44832011)(36860700001)(86362001)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2022 06:56:36.3236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa8413ae-2e4c-4c06-765a-08da1ead156d X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; Ip=[194.138.21.72]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT056.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR1001MB1460 X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=lI7J4BEj; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:7e1b::608 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX This series introduces image types and conversions as known from OE. The main motivation is to provide a more flexible way of generating and processing images, without the need to insert custom tasks (e.g., currently we have custom classes adding tasks for things like bz2 or xz compression of images in several downstream layers). These patches have been tested on some of our layers, and also work with some more "challenging" use cases like image-in-image recipes and custom image types brought by layers. This only has a bare minimum of conversions (gz, xz), so there should probably be follow-ups for additional compressions, or things like checksums, which can also be nicely done with this. - p1 prepares by removing image-type-suffix from image build directories, which enables sharing of the completed rootfs across image types - p2 refactors the SDK, and makes it an image feature instead of a separate recipe (has been discussed here a while ago) - p3 does the actual work, but keeps all original files - p4 moves code to different files - p5 adapts meta-isar - p6 removes IMAGE_FSTYPES as a dimension in multiconfig. Now that we can build multiple types from one rootfs, multconfig is just the wrong way of doing this (also been discussed here). - p7 documents changes since v2: - fix bug where construction of IMAGE_BASETYPES was not recursive - add comment explaining IMAGE_BASETYPES - fix ISAR_CROSS_COMPILE exception for ubifs+armhf - use "IMAGE_CLASSES +=" instead of "INHERIT +=" in machine configs - fix whitespace errors in documentation changes since v1: - rebase - fixed naming issue in wic.bmap files - more reasonable default settings for xz - add documentation to user manual Adriaan Schmidt (7): image: remove IMAGE_SUFFIX image: refactor SDK meta: introduce IMAGE_CMD_* imagetypes: restructure files imagetypes: switch meta-isar to the new scheme meta-isar: remove IMAGE_FSTYPES from multiconfig definitions docs: add new imagetypes to user manual doc/user_manual.md | 86 ++++--- meta-isar/classes/rpi-sdimg.bbclass | 2 +- meta-isar/classes/ubi-ubifs-img.bbclass | 11 +- meta-isar/conf/local.conf.sample | 4 - meta-isar/conf/machine/bananapi.conf | 2 +- meta-isar/conf/machine/container-amd64.conf | 2 +- meta-isar/conf/machine/de0-nano-soc.conf | 2 +- meta-isar/conf/machine/hikey.conf | 2 +- meta-isar/conf/machine/imx6-sabrelite.conf | 3 +- meta-isar/conf/machine/nanopi-neo.conf | 2 +- meta-isar/conf/machine/phyboard-mira.conf | 3 +- meta-isar/conf/machine/qemuamd64.conf | 2 +- meta-isar/conf/machine/qemuarm.conf | 2 +- meta-isar/conf/machine/qemuarm64.conf | 2 +- meta-isar/conf/machine/qemui386.conf | 2 +- meta-isar/conf/machine/qemumipsel.conf | 2 +- meta-isar/conf/machine/qemuriscv64.conf | 2 +- meta-isar/conf/machine/rpi-common.conf | 2 +- meta-isar/conf/machine/rpi.conf | 2 +- meta-isar/conf/machine/sifive-fu540.conf | 2 +- meta-isar/conf/machine/stm32mp15x.conf | 2 +- meta-isar/conf/machine/virtualbox.conf | 2 +- meta-isar/conf/machine/vmware.conf | 2 +- .../qemuamd64-bullseye-cpiogz.conf | 7 - .../multiconfig/qemuamd64-bullseye-tgz.conf | 7 - .../conf/multiconfig/qemuamd64-bullseye.conf | 2 + .../multiconfig/qemuamd64-buster-cpiogz.conf | 9 - .../multiconfig/qemuamd64-buster-tgz.conf | 9 - .../conf/multiconfig/qemuamd64-buster.conf | 2 +- .../recipes-core/images/isar-image-ubi.bb | 4 +- meta/classes/container-img.bbclass | 17 -- meta/classes/cpiogz-img.bbclass | 22 -- meta/classes/ext4-img.bbclass | 24 -- meta/classes/fit-img.bbclass | 29 --- .../classes/image-container-extension.bbclass | 83 ------- meta/classes/image-sdk-extension.bbclass | 87 ------- meta/classes/image.bbclass | 212 ++++++++++++++++-- meta/classes/imagetypes.bbclass | 89 ++++++++ meta/classes/imagetypes_container.bbclass | 95 ++++++++ .../{vm-img.bbclass => imagetypes_vm.bbclass} | 24 +- ...wic-img.bbclass => imagetypes_wic.bbclass} | 45 ++-- meta/classes/rootfs.bbclass | 1 + meta/classes/sdk.bbclass | 137 +++++++++++ meta/classes/targz-img.bbclass | 15 -- meta/classes/ubi-img.bbclass | 32 --- meta/classes/ubifs-img.bbclass | 32 --- .../{sdkchroot => sdk-files}/files/README.sdk | 0 .../files/configscript.sh | 0 .../files/gcc-sysroot-wrapper.sh | 0 .../files/relocate-sdk.sh | 0 meta/recipes-devtools/sdk-files/sdk-files.bb | 26 +++ meta/recipes-devtools/sdkchroot/sdkchroot.bb | 78 ------- testsuite/cibase.py | 4 +- testsuite/citest.py | 2 - 54 files changed, 661 insertions(+), 576 deletions(-) delete mode 100644 meta-isar/conf/multiconfig/qemuamd64-bullseye-cpiogz.conf delete mode 100644 meta-isar/conf/multiconfig/qemuamd64-bullseye-tgz.conf delete mode 100644 meta-isar/conf/multiconfig/qemuamd64-buster-cpiogz.conf delete mode 100644 meta-isar/conf/multiconfig/qemuamd64-buster-tgz.conf delete mode 100644 meta/classes/container-img.bbclass delete mode 100644 meta/classes/cpiogz-img.bbclass delete mode 100644 meta/classes/ext4-img.bbclass delete mode 100644 meta/classes/fit-img.bbclass delete mode 100644 meta/classes/image-container-extension.bbclass delete mode 100644 meta/classes/image-sdk-extension.bbclass create mode 100644 meta/classes/imagetypes.bbclass create mode 100644 meta/classes/imagetypes_container.bbclass rename meta/classes/{vm-img.bbclass => imagetypes_vm.bbclass} (89%) rename meta/classes/{wic-img.bbclass => imagetypes_wic.bbclass} (86%) create mode 100644 meta/classes/sdk.bbclass delete mode 100644 meta/classes/targz-img.bbclass delete mode 100644 meta/classes/ubi-img.bbclass delete mode 100644 meta/classes/ubifs-img.bbclass rename meta/recipes-devtools/{sdkchroot => sdk-files}/files/README.sdk (100%) rename meta/recipes-devtools/{sdkchroot => sdk-files}/files/configscript.sh (100%) rename meta/recipes-devtools/{sdkchroot => sdk-files}/files/gcc-sysroot-wrapper.sh (100%) rename meta/recipes-devtools/{sdkchroot => sdk-files}/files/relocate-sdk.sh (100%) create mode 100644 meta/recipes-devtools/sdk-files/sdk-files.bb delete mode 100644 meta/recipes-devtools/sdkchroot/sdkchroot.bb