Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4078163ybl; Mon, 3 Feb 2020 12:08:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyvh+8qcTS4j1SjBp12bFA2rawWlVumuhaOSybxYDLO6uZjbSoxz7o+zhVjA1W+xTYn/i4Q X-Received: by 2002:a05:6808:2cd:: with SMTP id a13mr555511oid.82.1580760485635; Mon, 03 Feb 2020 12:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580760485; cv=none; d=google.com; s=arc-20160816; b=zGkOlvQ0N7FRgRJ4rGB6jiaM9S/BZL3BiPykCIdLJwFs62n/lRGU563DBOjTOD4ekI /+2CPj6tqeb5B+DTvImCvS2tjn7vQr2zpGPeEnoxf5olzxbypq4iSvaSCjv4MBJMLIEk CzdWqhNkqFwWNElX1D5csVwb6TdyErxMbO1id8NNBIUf/+sk3drevd49xmYdjCMw4NUT xNkhFQrE5GMOthL8LXAaXiVQI1mwZYPn9P67GnDif6fQndlDH7w35q2b1Yr038uR0t17 LOqH5rOX1r+7d1YcuGTtZD6mlFzqDYCqjpywrqjAX1EGzsKIrf4utMV90wbmEDMctA6G zX3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=IclPfbWxjSC/TSpa0Kut2cFNovoBC/Wcgdo4i3pqqss=; b=k2eATmBhsS46PlLUH4xdtJj+WFhLQI6lgJAlRPkmOOlbD2zdwflBGnhpPO+0eEk4z7 1N+eBm6Iq7bk84L262ZIopdd0N+TZkU4V7GNvgYXzpbeWdOttj4WV0TJNYI+XrQMPO2g RUo47Vx+mg1uuMmm93MT+//jnozf4oUGymBHi5U3A3ns6tRXqZv/5k1hhG+bZVihGRoI QF3/0PfgyFa2+M7Z1M0Y3cOZik8iBFuVeZRmWKSeBCXvrolcblfiR26URQCkgtaIh/O9 XQpqF2E2Eibay4djptlR8EDo04W+/lVTKJXD52rYie1CKzy4ZGS8vhdlkeWgHe/p5peF MCrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=KKiG74HZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si10201700otk.42.2020.02.03.12.07.53; Mon, 03 Feb 2020 12:08:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=KKiG74HZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726834AbgBCUHB (ORCPT + 99 others); Mon, 3 Feb 2020 15:07:01 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:37577 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbgBCUHB (ORCPT ); Mon, 3 Feb 2020 15:07:01 -0500 Received: by mail-qk1-f196.google.com with SMTP id 21so15560449qky.4; Mon, 03 Feb 2020 12:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IclPfbWxjSC/TSpa0Kut2cFNovoBC/Wcgdo4i3pqqss=; b=KKiG74HZ/dv3ljH3tB34cOrZR8LkxaDIS1+4WgcXYDqlezNUTbQqO+e1mL6jF8eUKr BC0hhKUOiHnpSVjj17QzxvJvQIcAWLhFENLpCbUlW6Ruq0MexbTJMGh4kZEzZJBwA/3j H3DgSrrnp6YzPlJ7OHIjmE7RcmarP7lQWVecUizw+QUiLoSM+XpcZXgbAnQxEXEPJ9Cx Az+oCpmHqGXS9Xov5U7hIrs2g/nyPCOHPwYpiMiFq7+qU0OS2W5M/eivUHH6JPO9Sdh7 vtVBc2za1No6qIY9+YoqWJuNQejuzvuEpz58uIrVRR1ltyqxpbgxKbiIGLleXynC+3OS Hr1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=IclPfbWxjSC/TSpa0Kut2cFNovoBC/Wcgdo4i3pqqss=; b=lIDnPwhBDCOTRCvFRwtlV/bWEoktzR6Nos66/gWredjEAWKwNUyU3sXg8UKjBfj97v IFLRGmNuplZh7siuTuuK9DU76CCbpsQhB5eZkOxcKDioa8msiGyOuK5K5eC2rqxres5y xnJxOZ3M7iesCkLqwFayWfZ6AEzkm1V8I4G6Om+CXsZavUReOUCMDu+bzbeKn1VTub3X SgLZjILgQXhWb4ZPbmQ2RoBChU3AZPVX3IFh8qF3Co2PR7xceT9jXsx+Nr2+Rxg6FkhX psU+UTsqUMP8d5wlfYSxMvtGN0ZKJVPb/QHr3FRzadHJqlNgXOZ+B5ODTVOEDPgBjOgQ M1qg== X-Gm-Message-State: APjAAAW5xwPa6x6OySifsWL3QAWiNEudITE1ky616WjGpZ6/+uznB/yG sum49+JKsDR/pSAjkCgVAzjjy9uC X-Received: by 2002:a37:4dc1:: with SMTP id a184mr25783838qkb.62.1580760420403; Mon, 03 Feb 2020 12:07:00 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id o17sm10356297qtq.93.2020.02.03.12.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 12:07:00 -0800 (PST) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Mon, 3 Feb 2020 15:06:58 -0500 To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Linus Torvalds , Geert Uytterhoeven , linux-kernel@vger.kernel.org, Andrew Morton , Greg Thelen , Mauro Carvalho Chehab , Sam Ravnborg Subject: Re: [PATCH] initramfs: do not show compression mode choice if INITRAMFS_SOURCE is empty Message-ID: <20200203200656.GA455151@rani.riverdale.lan> References: <20200203164708.17478-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200203164708.17478-1-masahiroy@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 04, 2020 at 01:47:08AM +0900, Masahiro Yamada wrote: > Since commit ddd09bcc899f ("initramfs: make compression options not > depend on INITRAMFS_SOURCE"), Kconfig asks the compression mode for > the built-in initramfs regardless of INITRAMFS_SOURCE. > > It is technically simpler, but pointless from a UI perspective, > Linus says [1]. > > When INITRAMFS_SOURCE is empty, usr/Makefile creates a tiny default > cpio, which is so small that nobody cares about the compression. > > This commit hides the Kconfig choice in that case. The default cpio > is embedded without compression, which was the original behavior. > > [1]: https://lkml.org/lkml/2020/2/1/160 > > Suggested-by: Linus Torvalds > Signed-off-by: Masahiro Yamada > --- Would it be feasible to check if the kernel is going to be compressed, i.e. one of the KERNEL_{GZIP,BZIP2,...} options other than KERNEL_UNCOMPRESSED is set, and default built-in initramfs to uncompressed in that case as well? Thanks.