]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-kernel-build: Document a hacky way to get CONFIG_... options
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 13 Mar 2015 16:58:54 +0000 (16:58 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 24 Mar 2015 19:00:52 +0000 (19:00 +0000)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-kernel-build

index b2f19cfee0cf366f0e7dfcc7bc4d58a2559ac7df..93903d9bd6f2740c471c58dc14d212ab44bf6262 100755 (executable)
@@ -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