From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F3FBC35247 for ; Mon, 3 Feb 2020 17:35:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17EDD2087E for ; Mon, 3 Feb 2020 17:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580751331; bh=9sNPZltw4TJIrY/wuDaNF+3UP0N6N3X62bxcAwKXF/4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=EjHE1KM0uSZlLkwGGYD6sVzdueWfyk9epqepg12w2dQ/2d0U9pXJ+4YVkN1aopkPG gWc2kVjvVR+TKqoaa0PdUBDpzxS576VSTnQGjB+zcObuj6Z6uzmyghJJCwzc/4f75I 7+rkxo9uzc9u5c5N7pNewhlg4el+CQtCWWLyarww= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728759AbgBCRfa (ORCPT ); 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-Google-Smtp-Source: APXvYqwnaj4YVjgHGlaX+doVZOGJjlpIEm5lQdKlaTSaB7GC8Y14Nb+6+dqJYDk4Ph1fmm0MtM9X7A== 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