[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 27/32] ts-kernel-build: Document a hacky way to get CONFIG_... options



Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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= <<END;
 setopt CONFIG_DM_CRYPT m
 setopt CONFIG_DM_SNAPSHOT m
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.