{"id":141,"date":"2007-04-16T11:39:20","date_gmt":"2007-04-16T11:39:20","guid":{"rendered":"http:\/\/www.reactivated.net\/weblog\/archives\/2007\/04\/using-ketchup-to-quickly-install-kernel-sources\/"},"modified":"2007-06-17T00:16:38","modified_gmt":"2007-06-17T00:16:38","slug":"using-ketchup-to-quickly-install-kernel-sources","status":"publish","type":"post","link":"https:\/\/www.reactivated.net\/weblog\/archives\/2007\/04\/using-ketchup-to-quickly-install-kernel-sources\/","title":{"rendered":"Using ketchup to quickly install kernel sources"},"content":{"rendered":"<p>ketchup is a neat utility to download and unpack a specific version of the Linux kernel sources into the current directory. It also does rather well on saving download bandwidth, i.e. if you have the 2.6.17 source tarball and ask for 2.6.18, it will only download the 2.6.17-to-2.6.18 patch.<\/p>\n<p>Here&#8217;s a quick usage example, which installs the 2.6.21-rc7 kernel sources:<\/p>\n<blockquote>\n<pre># emerge ketchup\r\n# cd \/usr\/src\r\n# mkdir linux-2.6.21-rc7\r\n# cd linux-2.6.21-rc7\r\n# ketchup 2.6.21-rc7<\/pre>\n<\/blockquote>\n<p>When ketchup has finished, you then have a clean set of kernel sources for that particular version in front of you.<\/p>\n<p>I like to configure ketchup to use the same storage directory as portage, so that they can share kernel tarballs. In my ~\/.ketchuprc I have:<\/p>\n<blockquote>\n<pre>archive = \"\/usr\/portage\/distfiles\"<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>ketchup is a neat utility to download and unpack a specific version of the Linux kernel sources into the current directory. It also does rather well on saving download bandwidth, i.e. if you have the 2.6.17 source tarball and ask for 2.6.18, it will only download the 2.6.17-to-2.6.18 patch. Here&#8217;s a quick usage example, which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,12],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-linux"],"_links":{"self":[{"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/comments?post=141"}],"version-history":[{"count":0,"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}