{"id":512,"date":"2008-07-30T15:31:55","date_gmt":"2008-07-30T19:31:55","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=512"},"modified":"2011-12-17T12:27:08","modified_gmt":"2011-12-17T16:27:08","slug":"compiling-the-kernel","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2008\/07\/compiling-the-kernel\/","title":{"rendered":"Compiling the kernel"},"content":{"rendered":"<p>Maybe you want to be the first on your block to make a patch for the new kernel.  So you need to check out, modify, and compile the new kernel.  You may even want to test your changes in Tomcat :)<br \/>\nWhen Ian wakes up, he might tell me that I am completely wrong &#8211; but this worked:<br \/>\ncd ~\/dev\/sakai-trunk<br \/>\nsvn co https:\/\/source.sakaiproject.org\/svn\/kernel\/trunk kernel<br \/>\nI check this out into the same directory as sakai &#8211; not inside of the sakai directory &#8211; so ls looks like this<br \/>\ncharles-severances-macbook-air:sakai-trunk csev$ pwd<br \/>\n\/Users\/csev\/dev\/sakai-trunk<br \/>\ncharles-severances-macbook-air:sakai-trunk csev$ ls -ld kernel sakai<br \/>\ndrwxr-xr-x  23 csev  staff   782 Jul 30 14:39 kernel<br \/>\ndrwxr-xr-x  73 csev  staff  2482 Jul 30 15:21 sakai<br \/>\nThen I go into the kernel directory and type this:<br \/>\nmvn -Dmaven.test.skip=true -Dmaven.tomcat.home=\/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23\/ clean install sakai:deploy<br \/>\nThis is the same thing I type to compile sakai.<br \/>\nIt compiles kernel &#8211; puts it into my maven repo and then puts it right into my Tomcat!<br \/>\nVoila!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maybe you want to be the first on your block to make a patch for the new kernel. So you need to check out, modify, and compile the new kernel. You may even want to test your changes in Tomcat :) When Ian wakes up, he might tell me that I am completely wrong &#8211; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-512","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=512"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/512\/revisions"}],"predecessor-version":[{"id":2621,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/512\/revisions\/2621"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}