{"id":221,"date":"2013-08-30T17:07:33","date_gmt":"2013-08-30T15:07:33","guid":{"rendered":"http:\/\/blogs.gentoo.org\/ago\/?p=221"},"modified":"2013-08-31T15:35:59","modified_gmt":"2013-08-31T13:35:59","slug":"use-an-eol-kernel","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/ago\/2013\/08\/30\/use-an-eol-kernel\/","title":{"rendered":"Use an EOL Kernel"},"content":{"rendered":"<p>This could appear as a <a href=\"https:\/\/bugs.gentoo.org\/show_bug.cgi?id=479814\">strange request<\/a>, but seems there are people that need some EOL version(s) of the Kernel.<br \/>\nI&#8217;m just answering to the request. Alternatively go to\u00a0<a href=\"https:\/\/www.kernel.org\/pub\/linux\/kernel\/v3.x\/\">kernel.org<\/a>\u00a0and download the archive(s).<br \/>\nThis is strongly discouraged by upstream but there should be people that need a particular version of the kernel because of driver(s) reason, or maybe they want to test some POC\/exploit.<\/p>\n<p>Since we are here also to support the users, I will explain how-to in few steps.<\/p>\n<p><code># Make your local PORTDIR<br \/>\nroot # mkdir \/usr\/local\/portage<\/code><\/p>\n<p># Declare your PORTDIR_OVERLAY in the make.conf<br \/>\nroot # echo PORTDIR_OVERLAY=&#8221;\/usr\/local\/portage&#8221; &gt;&gt; \/etc\/portage\/make.conf<\/p>\n<p># Create the vanilla-sources directory<br \/>\nroot # mkdir \/usr\/local\/portage\/sys-kernel<br \/>\nroot # mkdir \/usr\/local\/portage\/sys-kernel\/vanilla-sources<\/p>\n<p># Join the new directory and copy a random vanilla-sources ebuild in that directory<br \/>\nroot # cd \/usr\/local\/portage\/sys-kernel\/vanilla-sources\/<br \/>\nroot # cp \/usr\/portage\/sys-kernel\/vanilla-sources\/vanilla-sources-3.4.50.ebuild .\/vanilla-sources-${NEEDED_VERSION}.ebuild<\/p>\n<p># Create the manifest and emerge the kernel<br \/>\nroot # repoman manifest<br \/>\nroot # emerge -av vanilla-sources<\/p>\n<p>Maybe you need to add it to your package.keywords or edit directly the KEYWORDS variable.<\/p>\n<p>Note: If you are using layman, pay attention and declare your PORTDIR_OVERLAY <strong>before<\/strong> <code>source \/var\/lib\/layman\/make.conf<\/code><\/p>\n<p>That&#8217;s all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This could appear as a strange request, but seems there are people that need some EOL version(s) of the Kernel. I&#8217;m just answering to the request. Alternatively go to\u00a0kernel.org\u00a0and download the archive(s). This is strongly discouraged by upstream but there &hellip; <a href=\"https:\/\/blogs.gentoo.org\/ago\/2013\/08\/30\/use-an-eol-kernel\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":140,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2EaBc-3z","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/221"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/users\/140"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":10,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":231,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/221\/revisions\/231"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}