From patchwork Wed Apr 27 22:06:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1721 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Thu, 28 Apr 2022 08:06:46 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f58.google.com (mail-lf1-f58.google.com [209.85.167.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23S66iPV005797 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 28 Apr 2022 08:06:44 +0200 Received: by mail-lf1-f58.google.com with SMTP id bt27-20020a056512261b00b004720e026d4dsf1604633lfb.16 for ; Wed, 27 Apr 2022 23:06:44 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1651125999; cv=pass; d=google.com; s=arc-20160816; b=WSOLIPoiPnqbrpLQoDWIXWEKU0v/rr88EFjXMxnFzxGEEMxaWuRErSbktsKAB8aFWq DzoJ7FTHvxCxRRFiB/6+z+CjYlyKWRZ9sULqkqtvWjfxj8vCiPV/nmquZhZwnLNDxSwQ s2wSMx2/tnT7HJwY6enr02jvYLQdpQR/VaHk5UJ6gAoYFY8rcFH7G+6Qog+msG9UN7B4 w4b5FNbR57ANUENBhCeC2t02QweMzHyqlD75Wdwg8cec45I37SaLv+jw93b15lK5xcAK CcigOatTEcM8hGdJ4K/OApZVB7G0Dikf4rqJpnGW8Wc5VJB/VdHiUjF/7SyFmuYiNOiO 0dEg== 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=i8FogV7TLbcn9M76hxmuzpvKKvh8vbrsi8Cgh6K6jWU=; b=N8S7KRtRHajhdyf49HY3azr3Getg/OjZX3rAUxPDO2htxm/N4jbWFz8lea0MGhs3DB cfBphx8Q8AIp9m6gk6XYJr/i7P5zwbgwpf1nXWzL6TG35Fi+IdkPs/a2Qs+Ay5cusf96 lL2f2P0+1K8GUyQjO0FWjPxamy/cznwEfI+DTXisY3ePQ49TdLQxTAqj73GFUDPUPqEE NvJCM+8qbelqf/VjgyN1OSjhkx/5z1unwWUAjrMg6/Ivn/ycBKTAJLbNy7idUklLLH1/ 3v7ti8rnu8RgBBC9VExeXLg5XNQ3stBN6zxSHishD2GURR88irv4Qd2zztm3z7i5S5WU Dp+Q== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=k3ddySdT; 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:fe1f::611 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=i8FogV7TLbcn9M76hxmuzpvKKvh8vbrsi8Cgh6K6jWU=; b=QzzTkdGWKGh05R7eMGQtcdvKZdAU9XzVU6qmUMbyLm+zK8LxWNLJ8jjUekgORoRktt Uy6TPlsCW+8Jy8nag1FmUhEkq67sVRUUcPaVQSZgW8A8ulDMMx8MK15WW/wWtq9rcyIY V9car+aMR678cO3cH5rl4zWs6ssHAsdBAC4CATPrxbaIEi1xUf9sE3k97OYKCyMlrUVC /nhFAKMpNz0qxw2NtFlBeYIEDXJ1g9/89zQkNjmqyEtirLDS2vmgrvYvoF26ICGpD1UG 3BXB5WGloyzZ77/BoAKLie7m9riNWvB3CEKN3vYR3+oXNhKaQPJs5uOh8RCwfsBkUQKV 9iFg== 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=i8FogV7TLbcn9M76hxmuzpvKKvh8vbrsi8Cgh6K6jWU=; b=cfYmhF7Hr6cLOqzRGB/JoEb/rTrya4AJv93FcyIGSxIyRFk1BYl0TzHFu12ehYjxH6 GENZCP1NxDCYkrt1UzN6AP2IbsT7YhTtuf0Ikfr4qhveLC+ZdRsmiiOEkhChwYGmB8sY WhQfJmaxZ7djLqMEBJbUjXsKbDhMawBGqEhIVLdMsmytPNO9n1LUVGexhTvwcPwux6Cj Is6H7WhPLDWlxUUdAJyoDl2OJsh27JVBUudASYVyZzLycdRv4cqQ4/019/c9eDL6BXHi F6JtUSYbzidmZ2iE2thQGGo8l6k4g1F+o3qsWEIitE3eD6t5dmtOW8XBKDqL5iLziN2V OZUA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533j04qOnRcwUl0roDrRZqz2lZOU2gPaCSEbt+rRLtjjnOD5WwtR jfUDA3GereCX6CfWvjNfGXs= X-Google-Smtp-Source: ABdhPJxpyZWHT9YW5HgfIA7jvP6aNPa4CqchBqY0ZzDRljEh9qXfYzdTGsTu2j9TfTrBoMav2IixnQ== X-Received: by 2002:ac2:5f0b:0:b0:448:1e32:4531 with SMTP id 11-20020ac25f0b000000b004481e324531mr23974712lfq.167.1651125998990; Wed, 27 Apr 2022 23:06:38 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3f16:b0:449:f5bf:6f6a with SMTP id y22-20020a0565123f1600b00449f5bf6f6als3768719lfa.2.gmail; Wed, 27 Apr 2022 23:06:37 -0700 (PDT) X-Received: by 2002:ac2:5223:0:b0:448:5100:e427 with SMTP id i3-20020ac25223000000b004485100e427mr23087260lfl.87.1651125997791; Wed, 27 Apr 2022 23:06:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651125997; cv=pass; d=google.com; s=arc-20160816; b=I12c7CkjHKP8uPkeH8I0RR0yt01IyO0pb1cBtj/ed4WQ+i0wWIUXpSH2RdFh3Uc5zz zMwup6yduBuQqVEvAqHjKKnTAhnKBg2PiEdZegzOrCjOK2Q1QxKOuoC3eEPEYnvDxnNi dFeHNqngPoCeAFGxd951cnUpt7tG11rwd3uJA+kL+I/hv4WvGI96AuuNmcRVBYPKBg4K 8G+HoH0wAnIaqhxAEP4CXOZrPxf7UpLDXvrJL+jkur5PuDi//XKLvZoaci938xirQsmC /q849VNNqPjuH+hoLhi7SxeDt1+GjQjE1+F0tpy1inVO8w5yX9elpvuWJB6Hm9atA5Nh uA7A== 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=ynr50Epy5OUxecHhcQDE9LSN7Qf7Fenvf/lO4COATCM=; b=ERxG5EEYdzNdHpRQyQqQ9Rk/AEPzcZN+HyBY2WPFJfuduLOyibKoq0VOvZhKUgOnMA GO/MpVdZLH/+M1x3wRvWRKALG6UrWYcrf8BYvcC22QU3pDtql/e19PciG3TnNrKcISh8 44WI8MXrhxp1Kq0lsapRhjMI1MnK9KcgHLDB1Sw+04sNQrYThbitj23gPMCBaakkCnEP iPR9cIotv1iNONO4jOFH3sD+Sw4u+iaySWsIZdzt4XMmLawUvPcVY8Fh5S37W8P5lf/G 3rBLRmQNA/Iq31DIvURadOA1kksZby39moM9jR3n1bqth33Y7oQh2ag/IGKjjc7pYX7c ErQQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=k3ddySdT; 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:fe1f::611 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0611.outbound.protection.outlook.com. [2a01:111:f400:fe1f::611]) by gmr-mx.google.com with ESMTPS id x24-20020a056512131800b0047216d2d1a9si190902lfu.2.2022.04.27.23.06.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Apr 2022 23:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe1f::611 as permitted sender) client-ip=2a01:111:f400:fe1f::611; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dCjfgfDIXJ/hA1rbUr4wY2fGIhu5aiTwqzuS4Lelzi13Z8MT4kXSBtJx23aJD2FeDzfnSbEUVI+JoRIWAaqU+bC7+OJugh/83XS6+zUHO3NIQAOckQ9EeNtytSzohBGFLTg/clpLu1vzVGBFGAVvbS+9LaqQgFGsZK7jPa/TcKaLwYKSAmwD2fOVNRU6Hmhv+fyee4bE6PayTCsxIVj90o+GbrMZMgkr3j7JY4kZCiVUyYYz4ijI1eMmYNASOPGThcnCDOHd9McP3oOoqqcWrFYH9twY69fYxbLn/HmfiYXNlSMIWJXkl1bYKNx8fDOI19WTNAxv0UOBaqkWQzwDSQ== 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=ynr50Epy5OUxecHhcQDE9LSN7Qf7Fenvf/lO4COATCM=; b=FkZ++6RwA4hdYAy7IeDbSP2DZvL+q5gyXWhQP5Fe7hN+jBhlPi2Z2++i3DtjtwBZ+2IdJ2CeVtcne37ChSdnQXLpUiha/WGiCyHn1Gw5TQ11Sz61rBYdoaQGh2gedETdDoHyURnyoi7SeQ9TplfzYiwX7Luk1qhoFtFNEorK73/S3McGLDnShDZ/waHiK21qRAqFFEtkhWdN/7kQNl9uzD8s+Q9xlyWgTSQo0rGNit2lsLcYilACTDwwJ21PkmlwQFrWqZr74DmvD3dIHFOQKtpdVh5VqgfcFvOW6l6pdEkVhWi1RhA+Z7Uc237l+Ah/2wpYuPC+d/T+4D9gF/0DiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) 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 SV0P279CA0059.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:14::10) by AM0PR10MB3041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:166::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12; Thu, 28 Apr 2022 06:06:35 +0000 Received: from HE1EUR01FT069.eop-EUR01.prod.protection.outlook.com (2603:10a6:f10:14:cafe::68) by SV0P279CA0059.outlook.office365.com (2603:10a6:f10:14::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12 via Frontend Transport; Thu, 28 Apr 2022 06:06:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) 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.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.70) by HE1EUR01FT069.mail.protection.outlook.com (10.152.1.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5206.12 via Frontend Transport; Thu, 28 Apr 2022 06:06:34 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 28 Apr 2022 08:06:34 +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; Thu, 28 Apr 2022 08:06:33 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v4 0/8] imagetypes Date: Thu, 28 Apr 2022 08:06:07 +0200 Message-ID: <20220428060615.986332-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--11.258900-8.000000 X-TMASE-MatchedRID: 8GAKpTV9IMuSZ2E+VTMa2l7eQlWD/EC8yw7VBksEC0BGjDwRSl8gFPWr 7HvOSElabcPp/oilssgWFZo+2Qlj9KxLyZX3xqXZQoW68yqSN0sbAHxxrI5Cd46cpbnLdja9oh/ WV81PtmIS39b8+3nDx3o6TtPuoiTUSYg23IT4aTFC3UkrkIx+4oQCVVInz+n83nHtGkYl/VpBml BF/IJ0fEoPLn6eZ90+S5cA1dFoLccAQAmhxpbNK8AO5m6H3puUB6Ac3Y+WnPZl/fN/7Gm4uMnlJ e2gk8vIVU2mTxjpC9OK1hDAKXn3uOUZ4LV9ny+d3GdDPVA0xQeNpmmKKDMxRMEvKlG0CjjIj0jX Y9STMgE4rjJc1YXhsJCdKyy8S4OmcHBBBf/rw+ZiRzBt6iX9RoZKkFFIbQIA73UEGh+e8cZ+tO3 6GYDlsgPBX2NhZtJTbkxTMxm8rB6GiWFeBz0ruBzkcGcq/D783qZ3A4FG8d2PQVakDkJU+QaRAt AzcJ/6VI7KaIl9NheJPiRk7PkoEzn2mRQoJSGk9MsZ+eLCzUR1aBHWMk0w0QfNUrXNKpyFTJDl9 FKHbrnSMScmXjHoPJUht+myr0XMXSoxY06waAAboCivyaDEEo9oUcx9VMLgFEUknJ/kEl7dB/Cx WTRRu25FeHtsUoHuNJDo4W+sYfucymvQxFP+0Ur1xQ+jKacnanSoIYjsp5s2RRIMOrvjaQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--11.258900-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: 8B21FBCA33CFCA900BFA7939DEEB964C03790A2052745F4622B6CE84C5B8BCAC2000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2de6d607-69ae-45c1-c93e-08da28dd3fdd X-MS-TrafficTypeDiagnostic: AM0PR10MB3041: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: eE5vRzpEFsqkvm/FH6XwRMipEt2odpCQKLSBVram303sr1TwnssS+LyZIpZwaGGQoidlJO0DOMhmtnVeDONN7DMhBPqzDmjyYYWcNrdefPFuxk7pl44IgJMdNji4mB5UEFc4zhveUBW91tIAIwRlaTgW9OizUP+vOXFCZEK2Ng9dEa6GkJGKPl1KDBnHTsPUecdn28UMX1YFLNoudA7YoC+G9vl4isJAkLJ13ZMaTzBYj5+/Mp7ZZWvxnTdGCumT1AH1F7gJP+FAeyey4wNJ2dkZcZDG4Sk0dr1cfhiGtGB6xdhrYFNb9luJzAB9jv8dnGWVjXaTvTSEQ6FWLi73tn0qSPzV2IfpWrdaTfxVDLwKnkKrkGkI40lBDSLhEAStETFq5fxzS5D1Rdm4OFrmH1Ncsp8RAdreQ5S+/Qb+FfYQeX3+lhtarFkfagdS9Jxlp8ievgjQwRMSGdc3JfLOn8Ml4mRQK8MYNvB/ELcXra4jyBjNn0YFbW9j6kdjxS35TQs95boJ/R5IrKCm9flm2h1RkOAC3l+V47lbJF+7VDF1CbcsVGqbjH2lCuZhScc2ZS5w7McbCFmVeKu9tQPDEqAm7Ohu3MC/HJI0eEUflX6DuTmFPInqZiF9nXs5Hw7kKc4Yt/nweaeBqKc4tJJMpurGJV8JbjaMJUFTL0fMt7+K1vGGnqhTAnPBpu29aikv X-Forefront-Antispam-Report: CIP:194.138.21.70; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:hybrid.siemens.com; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(508600001)(36860700001)(8936002)(316002)(336012)(1076003)(107886003)(2616005)(956004)(16526019)(186003)(83380400001)(82310400005)(40460700003)(6916009)(7596003)(5660300002)(47076005)(7636003)(356005)(26005)(82960400001)(2906002)(36756003)(6666004)(44832011)(70586007)(70206006)(4326008)(86362001)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 06:06:34.9010 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2de6d607-69ae-45c1-c93e-08da28dd3fdd 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.70]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT069.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3041 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=k3ddySdT; 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:fe1f::611 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 - p8 adapts start_vm tests changes since v3: - better handling of xz compression options (taken from OE) - fix IMAGE_FSTYPES append in qemuamd64-bullseye.conf - add patch to adapt start_vm to new image type and file names 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 Anton Mikanovich (1): start_vm: update image types checking 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 | 93 ++++++++ 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 ------- scripts/start_vm | 8 +- testsuite/cibase.py | 4 +- testsuite/citest.py | 2 - testsuite/start_vm.py | 8 +- 56 files changed, 673 insertions(+), 584 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