From patchwork Thu Feb 9 22:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: roberto.foglietta@linuxteam.org X-Patchwork-Id: 2626 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 09 Feb 2023 23:41:59 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 319Mfw9L021253 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 9 Feb 2023 23:41:58 +0100 Received: by mail-wm1-f63.google.com with SMTP id n7-20020a05600c3b8700b003dc55dcb298sf1619796wms.8; Thu, 09 Feb 2023 14:41:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1675982513; cv=pass; d=google.com; s=arc-20160816; b=dagR5ni+1DNM/UM7YFv4XMo2hvur0sVAv7isfzBwYVSMqb2TgG6Ra5vIVRdOiqj26Y TwEWIww9VdZB99fSm5hRC+XxxrOk3lAYnx61ailU93yQW5wcSDHKrQS3xF/dKtnruxZ0 A7hLXUkYfe1HIFHUF5Q5F7GYZE9iGVN7sxdTxKDvAwPsqiN6b28zisG1+NUjyuaZfEFL m6qhxd0fT7jvVF0C4l5++3OTxOYSa7plX/KxjyX5uK7RXAg2Qb68VtNd4DccjDyiULKY waaxg7huVKuhy5H1GSDlwF6ZPp2tMxP6QICjW6Dj9ivTCQE9qz7uBdKVQupQnFJhPLbn Q9Ow== ARC-Message-Signature: i=2; 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=RtTziAHtBtALTo1MICe4dbVe6HUMcpIgPOfEY53dYzk=; b=OxiVoyg3rD+aF6NoewY+sXJg6zjH5axA42FwGsbpY/yc2V8VeZbLY2mBvwQzTwtoad Mjdpanej7m3mHsnms0xjpGFPhZqWJXlhh4NpUR7/rZQIffFD0+twFjwflkEmoWBztil6 HmdXgbtdg5ER4uDnTURjNCpOEnvUNWSSCmRJKxIdF/485BIjzo7uBf6IF5sGRnR5Y2B/ qmKy4dC1e/7s084PBnvXkTa3gLAvZ7AK+k+xeOh15ibdKOEHThPiKtmDbLljcsTGmXyL EOL+NRNK04ZA6Be0XDZsOe3daFSZj66eG07gc68qEjdMyZT+609oMOXt9Yg98qASkjeH 4dCQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::166 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=RtTziAHtBtALTo1MICe4dbVe6HUMcpIgPOfEY53dYzk=; b=aSsvcJpm61JNkRUsSl/QuBpXHgqN/LNWJOrB3P4wpPDaz6gb1bJsDFPsVwYYA0Vvln rrRR9kPPYNVc5+0ZHbAUkgODtv7RzxTc0wCo+XV+K/63XeSzVSpPPK5GBo2IfOEglluC wehbD2Cc84KZix1OcYyD9CUvHZGRfeQIGsKVkGkhLfJ1BCjyVAyjdzjzJr6EqVdC1c1j z0yz/XBK2O7qshAZdQvdbNz4cF1xezi8M00L4R2A9d2pdz/AAE/xMxX7UxbCOTRw1Nd1 KowG2E7i2neHUrAi2iF12UJsB1AxMdqj1ZzpWzAfxtpp8erNU9KdscDTXpYoqh1w5zps bOCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=RtTziAHtBtALTo1MICe4dbVe6HUMcpIgPOfEY53dYzk=; b=SZKduvQXXzk/IKUQ9qZZbyYjRiLzuSLMsUDOqTPFBYuZWET2sextOi9ZA86qihsyUW YqI6+wFLJ274i9ZPIPYjTWXpjWUWYEh3pfjRdQStZkRrWeYzbuWstunjkaQ3sxddPbFz f7KKOgImh5+HOusEyJGpBlTVt5l/k8u/AAAwyxiVwNxO5iYG6rQoB8Jrajw5KgKCQ1AE wMmUHFahtbUPnM35OmyENY180hLEPvicZHP23X5lRy1YFFz/3pVHl2oNAjz4/D1H5RnM kKbQJ3TT11n8vYp6hjF8sjrsG4xhSwI69fUxkVoJua1fqWhEad7SJ1P4hMYah0XG3JKg 99Pg== Sender: isar-users@googlegroups.com X-Gm-Message-State: AO0yUKUrNNzJObVV2KqtG6m4qXzg2MKGZkRy+CEK9od4L4IgIEMqDOdI eWGYJd9K/mhxMpsP62aJgH0= X-Google-Smtp-Source: AK7set/QZaB40/gwY4jRV9eaqMCsEwsna1UhYs6U0oGkiTY/dxlPX7uiTnfe22kWDdG4kN2E9x/P5A== X-Received: by 2002:a7b:cdf0:0:b0:3cf:d08d:3eb2 with SMTP id p16-20020a7bcdf0000000b003cfd08d3eb2mr759872wmj.129.1675982513106; Thu, 09 Feb 2023 14:41:53 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:8507:b0:3dc:4f57:78be with SMTP id gw7-20020a05600c850700b003dc4f5778bels1709593wmb.2.-pod-control-gmail; Thu, 09 Feb 2023 14:41:51 -0800 (PST) X-Received: by 2002:a05:600c:4d09:b0:3de:db64:a56f with SMTP id u9-20020a05600c4d0900b003dedb64a56fmr14700542wmp.13.1675982511790; Thu, 09 Feb 2023 14:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675982511; cv=none; d=google.com; s=arc-20160816; b=z6UBFBS19ApHhpwnxnuz2Sh/yIqouXIUxbefPTuWy/XrvvxM79jvYlLpjCqeM57Dfc BEfNNw/ax06DHuxr4r5CmJb6SYkF0hNQuDRNeBpDgCTPQcoaEL6uFzLLimQBWTBDnll9 lyi4VL67xeVEF+X9s7vG144PcnImCz01GUw2kokH41spygUgjLdUAgfxNcIs2m7yjhQJ +FweASAS15rFIDxBcSYmjIN/Aum2W7oCzx/eLV60wjcDmpsMaoEErODwOeBkyO/q4uJs THhYMS3xJb1PyRrUZQsAzYUD0Uy4iTOAwjLbCfpA509nbrmjKjNLmdFLdUllPRGVjar0 Q2nw== ARC-Message-Signature: i=1; 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; bh=5Jt3oohnEYYnF3Nhb5bYo3hJgXvBjDJ45hU+NlwnNno=; b=oVugbx/t6u7u4IRwz2OD0tyM7D38I2yh5yhkAhghH2h70sLXgH+v44gxpWqTZbTnY1 E7RCdme2CG4efhONQHie6+C10eebR3wYvFioPQMTatqwJUKWffJ4DCiB0vTBzVwrKIJT 94LZv4jDKLpeaZB+o1bg+93+wr10iJ+lR6ainErW1ajyRK37pjp8I+10ZfLYVVtCvZ+J AJ5sL5pnoEvZQC3l8TXA/P/B/fGDKpJf+umuImSO0Td9q6WJRi9vIL0RpxsDvIDNN4Tz Mc6ewIwlMI64bE1yq0KZKxdDiOrQZuO/a/3Qls/LGe0+7YwxB0vWjYRCTzbPlCZheEOz u4wg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::166 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Received: from relay05.th.seeweb.it (relay05.th.seeweb.it. [2001:4b7a:2000:18::166]) by gmr-mx.google.com with ESMTPS id s8-20020a05600c45c800b003dd1c15e7ffsi163482wmo.2.2023.02.09.14.41.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 14:41:51 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::166 as permitted sender) client-ip=2001:4b7a:2000:18::166; Received: from localhost.localdomain (unknown [IPv6:2a02:8071:3187:7b80:118d:c27:16aa:9768]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id AAABD3F855; Thu, 9 Feb 2023 23:41:50 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com, Anton Mikanovich Subject: [PATCH] imagetypes XZ_OPTIONS replaced by XZ_DEFAULTS defined in bitbake.comf Date: Thu, 9 Feb 2023 23:41:48 +0100 Message-Id: <20230209224148.60152-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: roberto.foglietta@linuxteam.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::166 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org 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: =?utf-8?q?INBOX?= From: Anton Mikanovich imagetypes, bugfix A previous patch moved XZ_ variables declarations into bitbake.conf from the imagetypes class. In such patch the XZ_OPTIONS has been renamed in XZ_DEFAULTS but the XZ_ command in imagetype class has not been updated. This patch fixed this bug which decreases performance and alters the expected behaviour. Requires: * bitbake.conf: declare default XZ and ZSTD options Signed-off-by: Roberto A. Foglietta --- meta/classes/imagetypes.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/imagetypes.bbclass b/meta/classes/imagetypes.bbclass index 0cff440f..7d193d2e 100644 --- a/meta/classes/imagetypes.bbclass +++ b/meta/classes/imagetypes.bbclass @@ -98,5 +98,5 @@ IMAGE_CONVERSIONS = "gz xz" CONVERSION_CMD:gz = "${SUDO_CHROOT} sh -c 'gzip -f -9 -n -c --rsyncable ${IMAGE_FILE_CHROOT} > ${IMAGE_FILE_CHROOT}.gz'" CONVERSION_DEPS:gz = "gzip" -CONVERSION_CMD:xz = "${SUDO_CHROOT} sh -c 'xz -c ${XZ_OPTIONS} ${IMAGE_FILE_CHROOT} > ${IMAGE_FILE_CHROOT}.xz'" +CONVERSION_CMD:xz = "${SUDO_CHROOT} sh -c 'xz -c ${XZ_DEFAULTS} ${IMAGE_FILE_CHROOT} > ${IMAGE_FILE_CHROOT}.xz'" CONVERSION_DEPS:xz = "xz-utils"