From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 03 Mar 2022 23:25:38 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nPttC-00GwS6-Qj for lore@lore.pengutronix.de; Thu, 03 Mar 2022 23:25:38 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nPttB-0000iU-W8; Thu, 03 Mar 2022 23:25:37 +0100 Received: from mail-eopbgr140079.outbound.protection.outlook.com ([40.107.14.79] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nPtso-0000h2-D0 for ptxdist@pengutronix.de; Thu, 03 Mar 2022 23:25:15 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BAVEik/Kh8GX6JlPRK+zfAEVVbqB5GPC3MNpS82RDPE50qGNkgppl592ulYpX4P6b+/Wu17IrFD3yKaCUkAPF5cLHx8bFg3mYzAxsOiY6RUQqWOlLj8+/lkfAeYIyQlcfXT5IF8d63ysrG5oqgbUpA/bLtQZJUI4yL81tGKGAJxmsORnR2D5yb6fWVH/HMr0M8sVAm30IF0cgySGDCPb1iFSz0ysg1QAo5XMgySgRRZEiFz8V02vVt1CHJTmLE4D7m6bgPtb5Hvj/VijAu0tyl7Rg0kvm6HivUPGhvTTnwlvpDVOYEQjjEW7qo6EWv0hM48ALU5U7kkHdijXvzWwoQ== 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=46uVcOBjrXbRO6Z+cGU+aDdnXV7bCG/5Wdh8Ekv6mkw=; b=JKc1dzgPSYJccsAliqxFFtHhMubSiHd1IEJfy62G7U7OtkVkMx3dDiOhd6fFaPh15rpzROxagqnnAdVrDx8c4ReScv/eUhq7yZBkttFQm63X4lxlnlUJBVICtndMrQV3bBNpp0vHyUY3nC06JSaHCxlTxiTuitVn/kMTv2/0z6gb55iOjNdc/zor6bzrNFjjc8crggBSCfO8uTRJLM5XfdjQvl0sKEZV2li9dTSGTvjjbUeh7Xr/H/pbcDL/pmJobRhrXrBjtbcmDmI/Lmpk/KLqv9ll5OCNIdwxRh3MjLhBE26xQJX+6Gj03vX5un1rRgAnNvDoxAjwIIkmhLBVTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=46uVcOBjrXbRO6Z+cGU+aDdnXV7bCG/5Wdh8Ekv6mkw=; b=RAN03YPJf8XB35J2mkRqGlXB0pR7Ry69ceXjm3WlTCE8p6QZIsLlX6cxGcz5BeqNieTV7XV8nwphHiBfsYa2R9qm+5no9Q6nLauANfmITSUUkGI+DG82flbIz93R8cK+gXUxybCg2oXUP1T/W9KzIoW2FtiwYZ+bPRb1Crl5VqA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by AM9P251MB0268.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:413::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Thu, 3 Mar 2022 22:25:12 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::1cba:3835:dd1e:63d3]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::1cba:3835:dd1e:63d3%6]) with mapi id 15.20.5038.014; Thu, 3 Mar 2022 22:25:12 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Thu, 3 Mar 2022 23:25:05 +0100 Message-Id: <20220303222505.936388-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: OL1P279CA0055.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:15::6) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c0e897e9-185c-4801-8bb0-08d9fd64aead X-MS-TrafficTypeDiagnostic: AM9P251MB0268: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: W0lG3uTYXOodBtLVa2DfcuwOCDxCfvbqlWsdCxEHE44/4+8H/MlkdF4fCfQxaZurStykGunXPvbBQU5VrAhtCwm8Ei0e5IABP0ovkQTF9waOaqEnfRqVnskq3cXGbwzot7BfkddTIzwWoFAPyosElbAS8XdINqS6RTdLRzOXwdNn1mavqegQ9qymU7C1wvG066qfmY7FNl4CS1/Nq5K7FRsf5zBuKj7z5GeRrGlHYuXLUZNMUAkETV3yO+yciEStWVlqHUUkpjIgRtp7NeUSufr+9syfVEPUbsRKntjkfTM7fBsq2rAtDVtbtvMEHK2LZHCPkb+KGP5jQc2uhmAsSt4l52meOEQFMUChn+i+vp3y9++msscZAClwpXCQupmOaQgFBo6f8dC+Y3xCwC/slC4oI8pdhKXzsgPFR2YZi4qv2rZ83ElZilbbpfCOfaQ2KFwSrs3J6m1XQTyFJ/OLArSh1f2w2b2xNq70qjhWoRoxvFoIDut7dlGTWIfdIErAFisNTXbPeZrXVv36tEkLyv6UFke7LENX5IUB+EjnChQbuhs9OJGY6b90Gt2FyE8l9J8WfoakMRFC+AGHtIdf3KQyiWlQDq4ksM77TcjNskUnp1G4X6HWawFOxG9O5IS+R5+EZVnHpjYQiL1ZXkxmbqkMXA2m4Li/qtMYyOEZBN6U/KENM/JaaONmjsLkShpI0p1E0Z2izKOg6WCktqjA/w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(396003)(366004)(39830400003)(376002)(346002)(136003)(38350700002)(5660300002)(38100700002)(6506007)(86362001)(2906002)(6512007)(52116002)(6666004)(4744005)(44832011)(8936002)(6486002)(8676002)(66476007)(66556008)(66946007)(316002)(6916009)(26005)(186003)(1076003)(36756003)(2616005)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?lOhezokrWils6IUkILzE5Pj7i9AjubLuG2QFN/CdqJBxQ/FXZvKDA97NOfCG?= =?us-ascii?Q?eEBauZcGR8CUyJZzjKTGObraa5YtzwL+zrHhMupnTFPYnfn1jfZ+dwfvQLlu?= =?us-ascii?Q?eHhSbCx8/makD1PbocyT3FJMRIinxNUX1GztA9Azh07cxdFFNQvlZWtMLmKn?= =?us-ascii?Q?epwXD6ImqwfgLY73VEnNvb+t68iRU8opBSbURwqViSIxwk3uFrf8BQcF62bp?= =?us-ascii?Q?gL+WTCPSHGOWmeBwQQ1UySdvuUYYtmegLXSqZjDZgZ9Uhw/Us2G5+2X4bI2d?= =?us-ascii?Q?8iqcsiGNjeC4MKjP36Gz+lFGm7nPuPezGLzJ3whbzBcyMWX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uv0ykNQV+imtBjWsSgzWJNxFK3GUpSJfMHJIbLl?= =?us-ascii?Q?mhjrXdcUIOX5NIPB/So3LFn+FpGq0+AG3LnxFCYWbUIAUwiUR4Bw2V2209Nu?= =?us-ascii?Q?MQrQ7hGJRPwVnsRyZYWV9Dz//6oC86csJuQzY+z2gv0hflv/Om++aYM5cITv?= =?us-ascii?Q?C+kBBHqTU++It9oFvZB0AMZ7sAYqDbOqToSf+I42R2suSj+m7F8aCAnELHip?= =?us-ascii?Q?SexfhhQkYCyqNVZ5MpQdwNhGzFyVLMuQmjnqNcexkcsVNJYOsLoaQgaGrCv+?= =?us-ascii?Q?4MT1NoAP4wWjcDYENA3FSgRIEFMwg+L2x708vGSIpuCXKOa+W+ioILcF5QLi?= =?us-ascii?Q?NG+lr6YKJsDw0aD18uhE6y/DPJdC3R6QEJ2cA6Cf/6oTrfG/k4Q7iPVApBiY?= =?us-ascii?Q?f+1zDMoYwN+yqAEin4lczvSlxkuJQlUwcR8mIBk3sv8ZcKuN7lce/wWCYOKr?= =?us-ascii?Q?6ipVo8nWXIj/9uaV5AzsTlOH054=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0e897e9-185c-4801-8bb0-08d9fd64aead X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2022 22:25:12.1470 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VwdE5ZD5GR0B1iXG9QPY4QmyuYKq46G7Ki+58OX7QpEN6U2cCxHw1BQkllAq8C+NcW2dTV5j2FP5XfQnvvRMVYjkHI041grfVw3+JvKwD4c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P251MB0268 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] image-root-cpio: Add compressor options to the env. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false * xz needs crc32 instead of crc64 for the kernel cpio. * Set zstd compression level to the same as for the kernel (19). * Use multithreading for zstd (deterministic, afaiu). Actively decided against -T0 for xz, as compression is not deterministic when number of threads varies. Signed-off-by: Christian Melki --- rules/image-root-cpio.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/image-root-cpio.make b/rules/image-root-cpio.make index fdb0ccfff..eb09dd53e 100644 --- a/rules/image-root-cpio.make +++ b/rules/image-root-cpio.make @@ -26,6 +26,9 @@ IMAGE_ROOT_CPIO_CONFIG := cpio.config IMAGE_ROOT_CPIO_ENV := \ FORMAT="newc" \ + ZSTD_CLEVEL="19" \ + ZSTD_NBTHREADS="0" \ + XZ_OPT="--check=crc32" \ COMPRESS=$(call remove_quotes, $(PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_UTIL)) ifdef PTXCONF_IMAGE_ROOT_CPIO -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de