Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 672C5C3ABD8 for ; Fri, 16 May 2025 18:02:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 38891407E6; Fri, 16 May 2025 18:02:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id aEUIDGohHXUM; Fri, 16 May 2025 18:02:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 6FE0F40839 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 6FE0F40839; Fri, 16 May 2025 18:02:39 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 335AB185 for ; Fri, 16 May 2025 18:02:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 247596065E for ; Fri, 16 May 2025 18:02:38 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id CXF5atuv90HP for ; Fri, 16 May 2025 18:02:37 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.99.201.11; helo=mail1.nubo.coop; envelope-from=arnout@rnout.be; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 503F06084D DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 503F06084D Received: from mail1.nubo.coop (mail1.nubo.coop [79.99.201.11]) by smtp3.osuosl.org (Postfix) with ESMTPS id 503F06084D for ; Fri, 16 May 2025 18:02:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 53C8F1C0FBA; Fri, 16 May 2025 20:02:35 +0200 (CEST) Message-ID: <3b195aab-233b-46b5-b2ba-bffeefdf1cd5@rnout.be> Date: Fri, 16 May 2025 20:02:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Peter Korsgaard , buildroot@buildroot.org References: <20250516172258.2692710-1-peter@korsgaard.com> Content-Language: en-GB, fr-BE In-Reply-To: <20250516172258.2692710-1-peter@korsgaard.com> X-Last-TLS-Session-Version: TLSv1.3 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rnout.be; s=dkim; t=1747418555; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=SNSSuPC33MY56wSTqkAWIeYw4nqA/wwSo01TnPhXEEo=; b=c9DktY9tiLGzQD5gV53zD6pOjNhKo0aIqKIG2ESIqSWbVb6IO5NWbl2hq5hBM+xt2B1ruo 1gwNTMZcCUSWWNkgCjg4dVVmpDEaAVB2yktiXtFLmgNkcxcrLfSv63AYw6ADMkoABbWlEZ AUhiPURPbJx+rfKZMu719jjJCyx/8Rdynz7YvaDgdY/sFX89xqQu7oBdUlGncNyhnLdYNN wgZx+bM51UClm2WTY6Eaol/fAgfRHtbPrfthT3SmN19UTq84nh7eN66qTvA+x9rNVJ2rdX mBJp+mKWZktlvg0Pswl+lZb6CA/qC8PbiakEY+SSkhrgtZQMZnM9xXfJCH+OsA== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=rnout.be X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=rnout.be header.i=@rnout.be header.a=rsa-sha256 header.s=dkim header.b=c9DktY9t Subject: Re: [Buildroot] [PATCH] fs/erofs: unbreak custom compression handling X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Arnout Vandecappelle via buildroot Reply-To: Arnout Vandecappelle Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" On 16/05/2025 19:22, Peter Korsgaard wrote: > Fixes: > https://autobuild.buildroot.net/results/0f856def945b9a863f45f7a58553b62f6875720b/ > > Commit a02e43741719 ("fs/erofs: add custom compression option with optional > compress-hints file") added logic for custom compression, but in fact it did > not work. > > BR2_TARGET_ROOTFS_EROFS_COMPRESSION_{ALGORITHMS,HINTS} are kconfig string > variables, so we need to use qstrip rather than strip. > > Signed-off-by: Peter Korsgaard Applied to master, thanks. Regards, Arnout > --- > fs/erofs/erofs.mk | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/fs/erofs/erofs.mk b/fs/erofs/erofs.mk > index 6543a364f1..881ecea053 100644 > --- a/fs/erofs/erofs.mk > +++ b/fs/erofs/erofs.mk > @@ -11,9 +11,9 @@ ROOTFS_EROFS_ARGS += -zlz4hc,$(BR2_TARGET_ROOTFS_EROFS_LZ4HC_LEVEL) > else ifeq ($(BR2_TARGET_ROOTFS_EROFS_LZMA),y) > ROOTFS_EROFS_ARGS += -zlzma,$(BR2_TARGET_ROOTFS_EROFS_LZMA_LEVEL) > else ifeq ($(BR2_TARGET_ROOTFS_EROFS_CUSTOM_COMPRESSION),y) > -ROOTFS_EROFS_ARGS += -z$(strip $(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_ALGORITHMS)) > -ifneq ($(strip $(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_HINTS)),) > -ROOTFS_EROFS_ARGS += --compress-hints $(strip $(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_HINTS)) > +ROOTFS_EROFS_ARGS += -z$(call qstrip,$(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_ALGORITHMS)) > +ifneq ($(call qstrip,$(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_HINTS)),) > +ROOTFS_EROFS_ARGS += --compress-hints $(call qstrip,$(BR2_TARGET_ROOTFS_EROFS_COMPRESSION_HINTS)) > endif > endif > _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot