Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4029904ybl; Mon, 3 Feb 2020 11:10:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyyVQcRLSRL/3/Q1E8RQJJujeBPE7dyH6rD/pK12HNoAuY5Ehy0Wcp4D8FGTjFi6ISKLm0T X-Received: by 2002:a9d:f26:: with SMTP id 35mr18162664ott.31.1580757005225; Mon, 03 Feb 2020 11:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580757005; cv=none; d=google.com; s=arc-20160816; b=Ne6V2i6SHZSVTazIBRnxt9GNjzBJZ1RrngYmlr1oeg09vg5p00ysB971JCDbq/EfjT PZeKnQGvKqsx+Ryh07YSZxKgjVeTxw30wBQSO9QVZqbN6f1e4/oxC1Rrv1qazImfGigu Q19pEM7i51c0nw76cy0khFjNPBmuWxV8q0tvwW6zm2ytL262xSZtsyFRvjr5Y8aPEFqj xde5UzWFTQU8BozrecH2QMI7vrEDGUwh6eNRsMkXS4T/FYb6dJ9rMDH6ArhtHmm2fbKZ TjGmKj7JgQgPBVisZR6vy1r4JhvO2jM8522WNElRsvPGwbIj/gOpNq58hjeOr/E+/fJ4 PvMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OG+6B41kuMUO4MlgmmaIjJFesunEaxv6J793bDCq9tA=; b=Izp3bm5In2AD2U6CcBK0Nc1oNkgl4Y3hcf9rU+PkCKZMsNBOhP/7tSqj1heDK+tL21 QgN0BA1JjOOYVYBKhZrHtw07D1U6K26OIAQajMLFQ+M02+QLC2ApBVuDHB04uZd8EHeA Cz+L54l8D8UV/F/8EbQvxGmUJLbcLbM3agL9iVYCTHhGq910r+o0/UkkI+0FYU+vm40A AnvZ5JVTU+cQS7B1bWm/p0C/VPXeZusbN3TZXRQ5dgjYmKv3c6cNg4N8TsgD9DTZyPZc lPhom6LmayaC9Clay4CE34n/3czbjpEyplT/+5gq3d6/6M03KPr+6T8N92Hmkv2Yyj4t 1UdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=JxadzzTr; 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 e26si4504146oii.88.2020.02.03.11.09.51; Mon, 03 Feb 2020 11:10: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=pass header.i=@linux-foundation.org header.s=google header.b=JxadzzTr; 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 S1727620AbgBCRfa (ORCPT + 98 others); Mon, 3 Feb 2020 12:35:30 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41613 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726561AbgBCRfa (ORCPT ); Mon, 3 Feb 2020 12:35:30 -0500 Received: by mail-lj1-f193.google.com with SMTP id h23so15553706ljc.8 for ; Mon, 03 Feb 2020 09:35:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OG+6B41kuMUO4MlgmmaIjJFesunEaxv6J793bDCq9tA=; b=JxadzzTrcUsyEnMxTTvf/OPUdgp68RyYoD7xlWF8FCfOh7XpGYzkaGtj5IzoN9XI9Q R/+BlPWCfdGWYQFT8eCrZnolA9DxzM2Zc1tp+Id3cDfTJYJJJvpHe3axYVbjW3ApcL+t 9uPabRgCZ6k19Q3NlXKP6bhqbpKo7RE38E9rE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OG+6B41kuMUO4MlgmmaIjJFesunEaxv6J793bDCq9tA=; b=pwnMiocKldPI9fuZX2QjIjSrHSK+0gDg1q9ptHlbL8Jp8BtfrkK62Dd1/FqkkTWfbt okNKBTz+YG1rKWdX37UKLJmbc+pJ3818WTDaRx74psEjR5mFhSmG5bo7UdrZHcBrpWLg KlndUyN6aJ20GKroe8nVG0UezZQBEwQ9NIkmnOKl40hV8wFMJzStaD1WXM1lCyoG8dua PNtvvISeIoL3lCpALKcSsoTszZVfpMsM2PsrxK8AQ09uzHVL3096oXCUK9hWkiZGAmtT y7xlbKYgIWqggEZbw2Z6nObZFECCuP8xGZSiT0JGPldPM+sH3jUf9c1291RHutaGGClb dIxA== X-Gm-Message-State: APjAAAWD5z3HhNDFPLiw/Jg+qCCVU7LQC524nefVy2pOa/OyfRcvCU9S ThulBEknGIW/3FTHgN6k0BcKQEmgXGVEQw== X-Received: by 2002:a05:651c:299:: with SMTP id b25mr14991567ljo.1.1580751327274; Mon, 03 Feb 2020 09:35:27 -0800 (PST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id i20sm9261738lfl.79.2020.02.03.09.35.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Feb 2020 09:35:26 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id z26so10234426lfg.13 for ; Mon, 03 Feb 2020 09:35:26 -0800 (PST) X-Received: by 2002:a19:c82:: with SMTP id 124mr12458719lfm.152.1580751326085; Mon, 03 Feb 2020 09:35:26 -0800 (PST) MIME-Version: 1.0 References: <20200203164708.17478-1-masahiroy@kernel.org> In-Reply-To: <20200203164708.17478-1-masahiroy@kernel.org> From: Linus Torvalds Date: Mon, 3 Feb 2020 17:35:09 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] initramfs: do not show compression mode choice if INITRAMFS_SOURCE is empty To: Masahiro Yamada Cc: Linux Kbuild mailing list , Geert Uytterhoeven , Linux Kernel Mailing List , Andrew Morton , Greg Thelen , Mauro Carvalho Chehab , Sam Ravnborg Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 3, 2020 at 4:47 PM Masahiro Yamada wrote: > > This commit hides the Kconfig choice in that case. The default cpio > is embedded without compression, which was the original behavior. Btw, is there any way to figure out automatically what the initrd compression is (for the external case)? Because I think it would be lovely to be able to have sane defaults for the CONFIG_RD_xyz things. I'm assuming the answer is "no", simply because it comes from distro installs, but I thought I'd check. Linus