From patchwork Sat Jan 4 15:02:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11317751 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AD71E6C1 for ; Sat, 4 Jan 2020 15:04:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8BD8524653 for ; Sat, 4 Jan 2020 15:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578150258; bh=ofvL6+NKRIHoxGD4O6WsEGd7L3xRLx2b33fpLfXq2q0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=WpM/Oarndil3BifvI6pgFVAJu4upY9Z82ymsFwFYphr6kojH40c2e+KCBpEKNnlrg w8YU7s4RC4fdyoteffqmGSizArP5QgS/NhLNyQk8fq1tTnPhbenJO0bFM0YW/AjHqq T2HK52f3SpN8CX4nK8g1aedRbjYZexLwvsTHoL2A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbgADPEP (ORCPT ); Sat, 4 Jan 2020 10:04:15 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:54709 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbgADPDx (ORCPT ); Sat, 4 Jan 2020 10:03:53 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-10.nifty.com with ESMTP id 004F2gcU018492; Sun, 5 Jan 2020 00:02:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com 004F2gcU018492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1578150165; bh=27Oq2PPg5dWtrSRAhiLEszC3H3oMsZeBE21RU3EfIJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hTotURN8Is++lA4h8hVX5P1CazlmH5sUJqqdXFuNk1nWsiwYLUohGDsgu1ggH5EjR /FcKYhHiF7ktvCHHA6zT9koSFJfz3kfpBKeSReri912JpihQS6W0rnR7X3kJxCJ+zT lxE5Ym4eyd0IJ0AcVOkwdkvO+2qirRO1u5SQd8xYpwuLr7w3mDsNhsmg376gam4Am8 nZaZcLLcMTVP1+w538ELMjCLZNDf/CuzM/SadKvNMw1Y/LioUEhdTdVp9MhbBfIbGZ tOgw9G3Mb8bZk0lkjXTTfVQ7yTfvNnqrd92N6UvwePh7VT0adsmz+hexGUAQLXUjj6 wo7I5VsIOJuHA== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Andrew Morton , Greg Thelen , Sam Ravnborg , linux-kernel@vger.kernel.org Subject: [PATCH v2 04/13] initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh Date: Sun, 5 Jan 2020 00:02:29 +0900 Message-Id: <20200104150238.19834-5-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200104150238.19834-1-masahiroy@kernel.org> References: <20200104150238.19834-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org The comments in usr/Makefile wrongly refer to the script name (twice). Line 37: # The dependency list is generated by gen_initramfs.sh -l Line 54: # 4) Arguments to gen_initramfs.sh changes There does not exist such a script. I was going to fix the comments, but after some consideration, I thought "gen_initramfs.sh" would be more suitable than "gen_initramfs_list.sh" because it generates an initramfs image in the common usage. The script generates a list that can be fed to gen_init_cpio only when it is directly run without -o or -l option. Signed-off-by: Masahiro Yamada --- Changes in v2: None usr/Makefile | 2 +- usr/{gen_initramfs_list.sh => gen_initramfs.sh} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename usr/{gen_initramfs_list.sh => gen_initramfs.sh} (100%) diff --git a/usr/Makefile b/usr/Makefile index 55c942da01cd..e44a66b8c051 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -24,7 +24,7 @@ $(obj)/initramfs_data.o: $(obj)/$(datafile_y) FORCE # Generate the initramfs cpio archive hostprogs-y := gen_init_cpio -initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs_list.sh +initramfs := $(CONFIG_SHELL) $(srctree)/$(src)/gen_initramfs.sh ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) ramfs-args := \ diff --git a/usr/gen_initramfs_list.sh b/usr/gen_initramfs.sh similarity index 100% rename from usr/gen_initramfs_list.sh rename to usr/gen_initramfs.sh