From: Ian Jackson Subject: [OSSTEST PATCH 27/32] ts-kernel-build: Document a hacky way to get CONFIG_... options Date: Tue, 24 Mar 2015 19:02:50 +0000 Message-ID: <1427223775-8592-28-git-send-email-ian.jackson@eu.citrix.com> References: <1427223775-8592-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YaU6d-00009m-Bd for xen-devel@lists.xenproject.org; Tue, 24 Mar 2015 19:03:15 +0000 In-Reply-To: <1427223775-8592-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Jackson --- ts-kernel-build | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ts-kernel-build b/ts-kernel-build index b2f19cf..93903d9 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -52,6 +52,19 @@ END } } +# Some runes for finding out what might be missing +# +# On working boot (eg Debian kernel eg before ts-xen-install): +# lsmod | perl -ne 'm/^\w+/ or die; push @e, "+= $&\\.o" if $& ne +# "Module"; END { print "git-grep '\''"; print join "\\|", @e; +# print "'\'' | perl -ne '\'' print \"# \",\$&,\" is not set\\n\" +# if m/\\bCONFIG_[0-9A-Z_]+\\b/ '\''\n" }' +# This prints a big git-grep | perl rune +# Run said rune in a clone of linux.git +# Output of git-grep |perl rune is list of "# CONFIG_... is not set" +# Copy to a file on relevant host, and grep the osstest kernel's config +# grep -f t /boot/config-3.14.34+ |less + our $config_hardware= <