From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7198290085259771904 X-Received: by 2002:a05:600c:540b:b0:3e0:14a:694d with SMTP id he11-20020a05600c540b00b003e0014a694dmr452406wmb.178.1675982513148; 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-Google-Smtp-Source: AK7set/CPoV+D74R3HBYqst1uP9fR01e+EhaVTUSCzxju/ih1T21d6qWKrCXEB4ZZyGXTQaKyhN5 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 Return-Path: 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; 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 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 Content-Transfer-Encoding: 8bit X-TUID: kiOu7vmFaVcH 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" -- 2.34.1