From patchwork Fri Jan 3 17:59:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11317277 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 6506B138C for ; Fri, 3 Jan 2020 18:00:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 450F522B48 for ; Fri, 3 Jan 2020 18:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578074458; bh=vRXpqGjbCzUYmYIDpduowAJZHbZP9laXLZYm9bHfsZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=gf1drPl9x/COnpHapEHv5hh5vKxn2VZg81DouhpsDImIp56e9IlvXeu/n/1f5tLdA gOK0midI7tGqbYB0/bLdIn61u6S8joPjg1OpdEo1ID18pkfnk2GXptftZtoO0DsFEx 1vmebGRre2Zi+paOulXhov8NNCIJarQibr9S8h9s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728400AbgACSAh (ORCPT ); Fri, 3 Jan 2020 13:00:37 -0500 Received: from conuserg-07.nifty.com ([210.131.2.74]:16472 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728204AbgACSAh (ORCPT ); Fri, 3 Jan 2020 13:00:37 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-07.nifty.com with ESMTP id 003HxSJ4022724; Sat, 4 Jan 2020 02:59:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com 003HxSJ4022724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1578074370; bh=zbfOeyYJKpEXpX8cm6nJcngXr1YLvlt8Dm3gdwkJxjE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cyOIXMs5QY7UNGYM9+hl9EdBtQ2Mu2ctgb1TQjB1Qf5AA1oJVpn1n5p/q/bGnpjNb 2u49ODiQ1plKqizMEiQZCTCYkFbpF23wKGVHAgVcVxvAphgeTZzFIqi0VXW1La2EGM WUtwsgxOhLohbzxk7BGo5ZQT34SRwxRZEnC4YpDDioCdu+ksPE58Asdvw7qTBbpo/Q YQC2B2h3+Ql4pVcRiM/pjWLTOE7WwSsZUMaOt+ugYTDKFbbc2nVqcLkiuh3rQ47Glc OslUPsDVscyGKLuTTx2Z6LFHyj/Az0MUjL7tt8neM6yaK2s2yBTFxouO8a01LR4gqV nwNRbPIxxEQsw== 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 03/12] initramfs: rename gen_initramfs_list.sh to gen_initramfs.sh Date: Sat, 4 Jan 2020 02:59:06 +0900 Message-Id: <20200103175915.26663-4-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200103175915.26663-1-masahiroy@kernel.org> References: <20200103175915.26663-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 --- 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