From patchwork Sun Jul 10 23:11:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1947 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 11 Jul 2022 09:12:41 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f63.google.com (mail-ed1-f63.google.com [209.85.208.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26B7CcIP005567 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jul 2022 09:12:39 +0200 Received: by mail-ed1-f63.google.com with SMTP id s17-20020a056402521100b0043ade613038sf327194edd.17 for ; Mon, 11 Jul 2022 00:12:38 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1657523553; cv=pass; d=google.com; s=arc-20160816; b=aHHmd5ZY1MGuhHdfA7F+qwUHqsovPH/M4TbgOTgVbpx7fEX2bMXYHSM/afNUWQsw0a kIhdtU1nsnX5xKOFOMLyIuWU5pDmIoeZ7lp22RBkXAQxA81z5sOSxQ+/msLFCOjuSbGs f0FvndLOPBFzLMGVaZI5PQHv/02c7M0jkpGyaHsYB9CzcKraVf+9Uf2U0pD8GiGN80Ys bUMEL8O52+mIQXflFLZtwuDteSD0+i00m2Ek2ba+nh6d9hfGx6VQBLqpttypR8qlMxhw ukiYGS5rqWXrWQ4rxtStegdeJLqkDafw+fnxR2MiRvZAIFYrnf/io4r4avkcvkuTOEcy qJlg== 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=dmJjLijPOIdDPlNMWZlS2P4mCgnypXiKtsZDMYziNvA=; b=xYHw1NZ9zjxLEBqL4MVkmiFuAY43dfyAzj/VDP3H04fz6Gr2hZfBz+Sj4bRhsdUpGi /kujYlrmzvPTQjCpudobnI69QNZJrby94kdXStqfXjTzEuf63wtw0yE07TBXJELYxjfy rtjgItfg4myIfoI8efVXVqjuB+8ExRtdtskvta5o/k1wPRVVXwwMtP6lMi/DbTiNPglw rSpCWoWvfQ3DLqSA8jLE03TqmwoqBXwaskRuQ3Vsl5OwJaoXYn9i2h494s/gsZuzNW8/ VhBEzfZ6AKw92kqXOj3+AEo47/vWvocgfSet+arXTAosIWY7w52w9ul4Yof8HFphmVpt l+Qg== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=S8AJUusD; 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 40.107.20.67 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=dmJjLijPOIdDPlNMWZlS2P4mCgnypXiKtsZDMYziNvA=; b=rTHLAmOhYsHHOIjohEThN20RfTgTa2lIvKZuzuYMFxukKW054WG+0QMb1uLdM0X8vn vymOrOu73HAq1Qo/nXWB8x0/j0e9IK2X4uSSIeoIkyQVMFu4DFAorFU9p3AEBY7+y55V ifMzL2iBel2PUoxH/B6fH9oCSpRDPNEM8CJySuTz/+rhWpWRzfnC+t9fIT9SLnFwmdNp +ulNFTNLIZa6NwYwTinlQzdITV7EoN0BjWxVhHOCKDr5kpGJ786X3lCNEDf40cidPtSw 9IQnSI+m6wXiMTz+jnXOTNFIJVJthHSHYVq1wmDWPDIRL/DQbh5XK3SMlHlnz5e7IPBv QfTQ== 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=dmJjLijPOIdDPlNMWZlS2P4mCgnypXiKtsZDMYziNvA=; b=rqSbwNAQEkt6ZrvLcMJEdK+CmfqBobxid+9+OZ09h3+p7Z6CUbOMZVY4Ce4bekRq8K xBzdNaMK17Oc42YjXT2XfsRQKGCaxldtlbjPbbHBCFeqp0kjgV27zKa0W5EoaQ1RCBS/ Fu3sZizaB10+kgCvtl0OMl0Rpbh1m57/szZuJJsFbh92aS+SSC+XBRpj/9w5p1GD29Ni JgXY7r8SLjp6cJ37jYY46H1bLY8X2HBxsjJ0aNE9jIW9hZj1dMjHrIa7tHW5s3t9J6vz Fouy0alc6nIaUlhXlEQQZyVKOEAwQX6f5p8X4ntbIKnlnVZOffSOFT3CErZouptKmsDa /5ew== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora8ZE3/TorVrrLHVa+mjpxy/+iosrdZ/4tCTHXqLd1UOy3HFNTue kV/yL1TGK94JPcXoaXDMOn4= X-Google-Smtp-Source: AGRyM1uuiCUhk8TdtGPokVxmkRs/IvwUzqHqUYQxIYau94DCW/m9B+LaOHk3r6Hz6re9SY6755jwMQ== X-Received: by 2002:a05:6402:3507:b0:436:446c:4fc1 with SMTP id b7-20020a056402350700b00436446c4fc1mr22523785edd.31.1657523553467; Mon, 11 Jul 2022 00:12:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:907:16a7:b0:718:c04a:5161 with SMTP id hc39-20020a17090716a700b00718c04a5161ls1948418ejc.11.gmail; Mon, 11 Jul 2022 00:12:32 -0700 (PDT) X-Received: by 2002:a17:907:948a:b0:726:f3d7:c7d6 with SMTP id dm10-20020a170907948a00b00726f3d7c7d6mr17513743ejc.2.1657523552484; Mon, 11 Jul 2022 00:12:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657523552; cv=pass; d=google.com; s=arc-20160816; b=D/DQROLOglaOzfC6mqRlVpyNEvWz/dlKpvgX9L60o7GL+pIlR56ft/BImHsedq6yqF gb2ePVq0cszeProfxHXcINfXrCN36cFk9Ic/mV1uBGoTmveKh8uXddz9MG0ARJ9/OpK2 lGHJcfriejCM9T05thRInSNPc9ED51DEZU6R1O5GKzf+QGBS/F/y6Nx3OJ2woh8BqINo zcdqKznK83IxYCmRC9etHTfZCU4i5X5kbW+ZF7CTfUVujMRugFIRlN9sZou8lFRK1CRU ejLMmrpWyhaIfBotnQKaYp64jUZ9p3C7C8/f2J4RGX0OGGieYGEOy4DdNbFQffPm8yye Qing== 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=kjiJCeK2RKzRCi+mNGbReEM3k3OfMZQNU+h1RvFzIvA=; b=ysaRR9Cb/aGHljOa+L8yq69ufAlFdy3UPrO26NNSrVzbJ7QiUXOC1ykZUlJ8L2Op4G wyYMEbB9HmSlyd1H4qeBZhVg5KeDgd7TGyvRXEhjzyUyI787wpzITRCeYy6mrLNUf3Dl k7yHXMA6KInPflqRnYjSIIsUEW8dlr+i7IjGSPpvzgHVpLq19tsdvjPvpEL4MQBAqr3R DdcOwDK2l5ti3mQcd/uuRa8dq5yQNkNr/ZvPK60AEoC8pvI3y0epJcQ4DVRwXr+3yOy4 tDiCHCU906M7RjENE4CSYQoIe3TDpsuUMFxr7d3NR/K3J4s+UeVTDQx0hDhsU3qzGIay PmBQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=S8AJUusD; 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 40.107.20.67 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2067.outbound.protection.outlook.com. [40.107.20.67]) by gmr-mx.google.com with ESMTPS id e4-20020aa7d7c4000000b004359bd2b6c9si203447eds.3.2022.07.11.00.12.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2022 00:12:32 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.20.67 as permitted sender) client-ip=40.107.20.67; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ia5Mg9IWPjZdHfddbEsWvEozXOqtlVJlFu15Eb64zkjrIpXhZl95zC5MXlHZM7uoqx6NCJxa1heM7/dVsw5zHF8+0K5CnbX9hdEfHBCBMxzF/nwrC51qTCNQwuR6nkw4GxI0pMcSxsrsCN1jqE3TefutP3Ifgu/29XY8IYiCE38whztDVTdQJ/KxVuyooj9mfjDfMmh4xpTY3AFeny/56RQyWGz+bgE+FtikidQ5gOumbfO47smjSzoIS5A5f3JeOSXfaxRHgPhHL4dNQjGG3SjvWs8TJiywi2WylsJveXo8fZhv8NEXkZuUBm+KJ/KwjoiH8RAzlLUQSfpHJEcabw== 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=kjiJCeK2RKzRCi+mNGbReEM3k3OfMZQNU+h1RvFzIvA=; b=QrpiFsR+HrhUvyulUctDNCaCRqh1T8aLS0IQcM5sEtu6n9Z2dHqhS0ZZjORC2gz+xfUdAIbdfazjXJ5tIQkPK7k7rcQ8vUKS2tKa/JghMtoHRZ4oKR4LPOpxtscVNZST+WwkUHH6E0oGCFJSSY/2xQB674frnHmSOGHXiH45KQHaoebKBg6q8PwfJC60MYFkc7I16O1oR2YHeZx6ijHTIuyrc3N6AQxi6Y2cUjVrGxW/wxi27Uyv+lhCFi1MbkTeu1TQaEpfOPC8xPy8cDLNoNkvttdARlNfGHWg49QuS8HTlVZkUpo02qBriELjafAfiLlJkh60FwxB/S1RHAHnxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.73) 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 DB6PR0501CA0016.eurprd05.prod.outlook.com (2603:10a6:4:8f::26) by AM9PR10MB5083.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:436::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Mon, 11 Jul 2022 07:12:31 +0000 Received: from DB5EUR01FT088.eop-EUR01.prod.protection.outlook.com (2603:10a6:4:8f:cafe::b4) by DB6PR0501CA0016.outlook.office365.com (2603:10a6:4:8f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26 via Frontend Transport; Mon, 11 Jul 2022 07:12:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.73) 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.73 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.73; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.73) by DB5EUR01FT088.mail.protection.outlook.com (10.152.5.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Mon, 11 Jul 2022 07:12:31 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC9SNA.ad011.siemens.net (194.138.21.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Mon, 11 Jul 2022 09:12:31 +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_256_GCM_SHA384) id 15.1.2507.9; Mon, 11 Jul 2022 09:12:30 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 0/2] Sparse tar generation Date: Mon, 11 Jul 2022 09:11:53 +0200 Message-ID: <20220711071155.776897-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: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) 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.950700-8.000000 X-TMASE-MatchedRID: MWbpXFXsFA6CdKzrX6zz7icv/s3fO5zkor8Z/QtvLdgdZEkR8Y/meZFo 2/LhhdUFQIHMdG3dl5GujykEmQpw6jRbkHI4gmjJGZifFybKDvdC/Vt0kP9SGspdsi/eZA1j64s VlliWKx8fE8yM4pjsD1w7rmOs2WXz2bNx1HEv7HAqtq5d3cxkNZd/mwLf2BVU9Gq8W/snTVjyEh ZpPrXwD7fPy1+wCmfMaD6BGDurvj0chXTZ3Wukbw== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--12.950700-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: 843D740967509EA929658439716B01A534B99B7FA0204209D2359330223F0B8F2000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3908785a-bd35-454c-a9f5-08da630cb8ae X-MS-TrafficTypeDiagnostic: AM9PR10MB5083:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 24PlR18FdwxPdWeLfb0jwA+iZGycCbWkhzFw5kqGYMIFxDkigkVqJOvSLGsoJbS5rs8/xAv2a0D0bgMiW/jtmIGtQdxlzI6X5+aZ+ulcGY7lHUsmd2eu2K6mWo9Eupuy+T6kGABZsUDXbWYCIZ3HriCGj95XF27fFiQp2VGBlw3OClwWUKVqsMHXoBfssUmBRx5rKKdb3A0I33qSFkXVvmfbXOC+2ioYQBnh3wYF8xFyBNQLUxiz6q7z202mH+RptJzXB8mJjnsd/GBRak93HyT+Vc+/FQPyhf8RFPIjhcuixem0TbCGDq+2+C++xbJv/MZR0MJ9w+HeLxYzh3k0l/WyOADLdFjMsv9NLlohl1PMaZ1VpQE8MZa5wneZ07loRWIz9OGj5H5H8uBHunmrPcbYC7raTARuC4K4uuydpXROQUX5aOkeqOnf5eJMwObxHCSwDcgGlXk81Y4LhSEA0Tfn7KKhTyU9Yow0fjM4KOGlUUiEuPDvq8LgT5xd50FGOLzClUmmQIoofWlaP1tirS4w3mee9DQaz0F5+DGwYQvWnREzyWe9B5+FPOeLpAt4NOcnPMlrNUL9/fLmkC6xSKaCWLCQWOT9bkFbGkg5AePIfDzBnujhX8ugLbsuftJSfwIyFj17Hb0n6f7nJbpGvlHtk4jJHWjFrluJeQGWEHSJNRlKzps4dXq2T58ypXZXzdev2hasUDpGkRnkNBa3xcBJvbeH/JlI22V2DHvrx8hPckCMnn3Dyrptz4U7vhJBumWB5DT2VKrqCzP08qJT7jiutyL5X1bwGXTuyTSym3pnz+vmXors1rscDgDxsDCCn8cmrC3ftQz9mKlAY1HrKN/WUzcptBWquz+PfANRduw= X-Forefront-Antispam-Report: CIP:194.138.21.73; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(346002)(136003)(39860400002)(46966006)(36840700001)(40470700004)(8936002)(5660300002)(478600001)(40480700001)(186003)(26005)(336012)(47076005)(16526019)(956004)(86362001)(107886003)(1076003)(2616005)(2906002)(41300700001)(44832011)(4744005)(40460700003)(83380400001)(6666004)(4326008)(8676002)(81166007)(82310400005)(70206006)(70586007)(82960400001)(36756003)(356005)(36860700001)(6916009)(316002)(82740400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2022 07:12:31.4777 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3908785a-bd35-454c-a9f5-08da630cb8ae 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.73]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT088.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR10MB5083 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=S8AJUusD; 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 40.107.20.67 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 Sorry it took me so long to review! Just some small optimization: Consistently use tar -S when generating archives to avoid expanding sparse files. Changes since v1: - dropped p3 - rebased p2 to fit with new imagetypes Jan Kiszka (2): sstate: Generate image packages using sparse targz-img: Handle sparse files efficiently meta/classes/imagetypes.bbclass | 2 +- meta/classes/rootfs.bbclass | 2 +- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)