<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.slacky.eu/wikislack/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
		<id>http://www.slacky.eu/wikislack/index.php?title=Compile&amp;feed=atom&amp;action=history</id>
		<title>Compile - Cronologia</title>
		<link rel="self" type="application/atom+xml" href="http://www.slacky.eu/wikislack/index.php?title=Compile&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Compile&amp;action=history"/>
		<updated>2013-05-25T15:22:33Z</updated>
		<subtitle>Cronologia della pagina su questo sito</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Compile&amp;diff=2470&amp;oldid=prev</id>
		<title>L1q1d il 10:10, 12 set 2006</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Compile&amp;diff=2470&amp;oldid=prev"/>
				<updated>2006-09-12T10:10:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 10:10, 12 set 2006&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Script]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Descrizione =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Descrizione =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Questo script effettua le operazioni necessarie alla ricompilazione del kernel dopo aver configurato lo stesso tramite make munuconfig. Va eseguito dalla cartella /usr/src/linux. Compila e installa kernel e moduli, elimina i vecchi file in /boot e vi mette quelli nuovi, lancia lilo quando ha finito&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Questo script effettua le operazioni necessarie alla ricompilazione del kernel dopo aver configurato lo stesso tramite make munuconfig. Va eseguito dalla cartella /usr/src/linux. Compila e installa kernel e moduli, elimina i vecchi file in /boot e vi mette quelli nuovi, lancia lilo quando ha finito&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>L1q1d</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Compile&amp;diff=2439&amp;oldid=prev</id>
		<title>L1q1d il 09:43, 12 set 2006</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Compile&amp;diff=2439&amp;oldid=prev"/>
				<updated>2006-09-12T09:43:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Descrizione =&lt;br /&gt;
Questo script effettua le operazioni necessarie alla ricompilazione del kernel dopo aver configurato lo stesso tramite make munuconfig. Va eseguito dalla cartella /usr/src/linux. Compila e installa kernel e moduli, elimina i vecchi file in /boot e vi mette quelli nuovi, lancia lilo quando ha finito&lt;br /&gt;
= Script =&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
if [ ! -r .config ]; then&lt;br /&gt;
  echo &amp;quot;Cannot access .config (are you in /usr/src/linux?)&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ `id -u` != &amp;quot;0&amp;quot; ]; then&lt;br /&gt;
  echo &amp;quot;You must be superuser to run this script&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
OLDVER=`uname -r`&lt;br /&gt;
VERSION=`cat .config|grep &amp;quot;version&amp;quot;|cut -c 25-`&lt;br /&gt;
VERSION=${VERSION}`cat .config|grep CONFIG_LOCALVERSION|cut -c 22-|head -c -2`&lt;br /&gt;
&lt;br /&gt;
incorrectVersion() {&lt;br /&gt;
  echo &amp;quot;Invalid kernel version: $VERSION&amp;quot;&lt;br /&gt;
  exit 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if [ -z $VERSION ]; then&lt;br /&gt;
  echo -n &amp;quot;Type the kernel version you wish to compile: &amp;quot;&lt;br /&gt;
else&lt;br /&gt;
  echo -n &amp;quot;Type the kernel version you wish to compile [${VERSION}]: &amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
read INPUT&lt;br /&gt;
&lt;br /&gt;
if [ ! $INPUT ]; then&lt;br /&gt;
  if [ -z $VERSION ]; then&lt;br /&gt;
    incorrectVersion&lt;br /&gt;
  fi&lt;br /&gt;
else&lt;br /&gt;
  VERSION=$INPUT&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ `echo $VERSION | cut -c -3` == &amp;quot;2.6&amp;quot; ]; then&lt;br /&gt;
  echo &amp;quot;Compiling kernel $VERSION&amp;quot;&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make -j5 &amp;amp;&amp;amp; make modules_install&lt;br /&gt;
elif [ `echo $VERSION | cut -c -3` == &amp;quot;2.4&amp;quot; ]; then&lt;br /&gt;
  echo &amp;quot;Compiling kernel $VERSION&amp;quot;&lt;br /&gt;
  make dep &amp;amp;&amp;amp; make clean &amp;amp;&amp;amp; make -j5 bzImage &amp;amp;&amp;amp; make -j5 modules &amp;amp;&amp;amp; make modules_install&lt;br /&gt;
else&lt;br /&gt;
  incorrectVersion&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
rm -f /boot/config-$OLDVER /boot/vmlinuz-$OLDVER /boot/System.map-$OLDVER&lt;br /&gt;
rm -f /boot/config /boot/vmlinuz /boot/System.map&lt;br /&gt;
&lt;br /&gt;
cp -v .config /boot/config-$VERSION&lt;br /&gt;
cp -v System.map /boot/System.map-$VERSION&lt;br /&gt;
cp -v arch/i386/boot/bzImage /boot/vmlinuz-$VERSION&lt;br /&gt;
&lt;br /&gt;
ln -sv /boot/config-$VERSION /boot/config&lt;br /&gt;
ln -sv /boot/System.map-$VERSION /boot/System.map&lt;br /&gt;
ln -sv /boot/vmlinuz-$VERSION /boot/vmlinuz&lt;br /&gt;
&lt;br /&gt;
/sbin/lilo -v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Data:    	03 Jun 2006&lt;br /&gt;
* Autore:    	Roberto&lt;/div&gt;</summary>
		<author><name>L1q1d</name></author>	</entry>

	</feed>