<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2723&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Trimming the cloned Linux tree]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2723</link>
		<description><![CDATA[The most recent posts in [SOLVED] Trimming the cloned Linux tree.]]></description>
		<lastBuildDate>Wed, 13 Mar 2019 12:27:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Trimming the cloned Linux tree]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14809#p14809</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... just need a newer kernel in Devuan ASCII ...</p></div></blockquote></div><p>I really don&#039;t know if I need a newer one just yet.</p><p>To start, maybe a more <em>compact</em> one, tailored to the specific hardware I use.<br />There&#039;s (what seems to be) a hardware issue I&#039;m troubleshooting and I may also find out more about what&#039;s going on with a kernel that has only what I need.&#160; </p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... use the corresponding debian source package for &quot;linux&quot;, or compile it through kernel-package, or at least use `make bindeb-pkg`, so that you will get a .deb package that you can install and remove.</p></div></blockquote></div><p>Yes, that&#039;s looks like what I&#039;m needing.<br />Will have to find the corresponding how-to.</p><p>I recall that, when exploring the Mint distribution (a rolling release), I could install other kernels ie: older or newer and then remove them as required.<br />They were all in the rpm repository but that&#039;s not the case with Devuan which is why I&#039;m attempting this.</p><p>Once again, thanks for your input.<br />You&#039;ve been very helpful.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 13 Mar 2019 12:27:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14809#p14809</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Trimming the cloned Linux tree]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14808#p14808</link>
			<description><![CDATA[<p>BTW, if you just need a newer kernel in Devuan ASCII, ascii-backports has the latest 4.19. I mean, you normally don&#039;t need to compile a kernel from scratch. You obviously can do that, but even if you choose to to so, either use the corresponding debian source package for &quot;linux&quot;, or compile it through kernel-package, or at least use `make bindeb-pkg`, so that you will get a .deb package that you can install and remove. </p><p>My2Cents</p><p>KatolaZ</p><p>P.S.: Please be more accurate with quoting: from your message it looks like I said something which I actually did not say at all ;-)</p>]]></description>
			<author><![CDATA[dummy@example.com (KatolaZ)]]></author>
			<pubDate>Wed, 13 Mar 2019 12:00:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14808#p14808</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Trimming the cloned Linux tree]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14807#p14807</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>why do you need the git repo of the kernel at all?</p></div></blockquote></div><p>Good question.</p><p>Even though I started in IT ~1996 (all MS stuff, no development/coding, just TS and HW maintenance), I&#039;m relatively new to Linux and a total novice with respect to kernels and compilations.<br />So I looked around in the forum, found what seemed to be what I wanted to do and followed the instructions on the page.</p><div class="quotebox"><blockquote><div><p>To do so, I followed the instructions here:<br /><a href="https://dev1galaxy.org/viewtopic.php?id=564" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=564</a></p></div></blockquote></div><p>These are correct but make <span class="bbu">no</span> distinction between <span class="bbc">compiling</span> a kernel and <span class="bbc">contributing</span> to kernel development. <br />Something that is quite obviously <em>way</em> above my head and most probably, way above the head of most of those posting here to find Devuan related answers. <br />In my case, a way to compile or upgrade to the latest kernel. </p><p>In fact, the title of the post indicates that it is what I was wanting to do:</p><div class="quotebox"><cite>HOWTO wrote:</cite><blockquote><div><p>&#160; &#160; » HOWTO: upgrade Devuan (stable) to the latest Linux kernel</p></div></blockquote></div><p>So I guess that&#039;s why ...&#160; =-)</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... just want to compile the kernel yourself ...</p></div></blockquote></div><p>Yes, that is exactly what I want to (try to) do.</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... use one of the tarballs available at <a href="http://www.kernel.org" rel="nofollow">www.kernel.org</a></p></div></blockquote></div><p>Right.<br />Thanks a lot for the heads up.</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... get the git repo only if you want to contribute to kernel development.</p></div></blockquote></div><p>I seriously doubt I can do that.<br />Make some suggestions, maybe.</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>... you should try a shallow clone, but that&#039;s not particularly easy in a repo as large as that...</p></div></blockquote></div><p>Indeed ...<br />As I have found from what I have been reading on the web and the results of my countless efforts.</p><div class="quotebox"><cite>KatolaZ wrote:</cite><blockquote><div><p>HTH</p></div></blockquote></div><p>Indeed it has.</p><p>Maybe the admins/OP could consider adding a note to the post I&#039;ve cited.</p><p>It&#039;s undoubtedly a commendable effort on behalf of the OP but a warning or caveat explaining that the instructions contained are not what is needed to *just* compile a kernel would be a plus.<br />Or maybe addiitonal instructions (given the complexity involved) on how to do it without a full git ie: with a tarball like you suggest&#160; &#160;</p><p>Thanks a lot for your input. (and to the OP, of course)</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 13 Mar 2019 11:54:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14807#p14807</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Trimming the cloned Linux tree]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14804#p14804</link>
			<description><![CDATA[<p>Hi, </p><p>why do you need the git repo of the kernel at all? if you just want to compile the kernel yourself, use one of the tarballs available at <a href="http://www.kernel.org" rel="nofollow">www.kernel.org</a> You should get the git repo only if you want to contribute to kernel development. If you are determined to have a repo anyway, you should try a shallow clone, but that&#039;s not particularly easy in a repo as large as that...</p><p>HTH</p><p>KatolaZ</p>]]></description>
			<author><![CDATA[dummy@example.com (KatolaZ)]]></author>
			<pubDate>Wed, 13 Mar 2019 11:15:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14804#p14804</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Trimming the cloned Linux tree]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14781#p14781</link>
			<description><![CDATA[<p>Hello:</p><p>I getting set up to try my hand at customizing my kernel to something more specific to my rig&#039;s hardware.<br />I am not expecting to change/add anything hardware wise in the mid term (its basically ca. 2000 hardware) and doing so may (?) help me with some issues I have.&#160; </p><p>To do so, I followed the instructions here:</p><p><a href="https://dev1galaxy.org/viewtopic.php?id=564" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=564</a></p><p>Everything (hopefully) went as expected.</p><p>Now, when I do <span class="bbc">git tag -l</span>, I see that I have downloaded everything from v2.6.11 to v5.0-rc8 ...<br />All 3.6Gb worth of Linux branches ...&#160; &#160;</p><p>Now I understand what &quot;<em>Use <span class="bbc">git</span> to clone the Linux branch (all of it to start)</em>&quot; really means. 8-)</p><p>I don&#039;t think I need to have anything before 4.8 so, expecting to find different folders for each branch (is this how it is named?) I see that it is not the case and cannot figure out what to prune (delete).&#160; &#160; &#160; &#160;</p><p>How can I go about getting rid of the code I don&#039;t intend to use/need without damaging the whole git clone?</p><p>Thanks in advance.</p><p>A.</p><p>Note:<br />I *think* there&#039;s a typo on the page that would need to be corrected.</p><p>&quot;<em>Use&#160; &#160;git&#160; &#160;to clone the Linux branch (all of it to start)&quot;</p><div class="codebox"><pre><code> git clone [url]https://github.com/torvalds/linux.git[/url]</code></pre></div><p></em> should be: Use <span class="bbc">git</span> to clone the Linux branch (all of it to start) </p><div class="codebox"><pre><code> git clone https://github.com/torvalds/linux.git</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 12 Mar 2019 21:30:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14781#p14781</guid>
		</item>
	</channel>
</rss>
