<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2011/11/25 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2011/11/25/</link>
    <description>Recent content in 2011/11/25 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 25 Nov 2011 23:54:26 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2011/11/25/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>kernel_source</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20111125ubuntu.htm</link>
      <pubDate>Fri, 25 Nov 2011 23:54:26 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20111125ubuntu.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20100201ubuntu.htm&#34;&gt;ubuntu kernel build&lt;/a&gt;の延長で kernel source パッケージを作ろうと&#xA;&lt;blockquote class=&#34;Log&#34;&gt;$ fakeroot make-kpkg --initrd --append-to-version=-custom --revision=20111111 kernel_image kernel_headers kernel_source&lt;/blockquote&gt;&#xA;とかしたら、&#xA;&lt;blockquote class=&#34;Log&#34;&gt;scripts/Makefile.clean:17: /usr/src/linux-source-2.6.35/debian/linux-source-2.6.35/usr/src/linux-source-2.6.35/crypto/Makefile: &lt;span class=&#34;Warning&#34;&gt;No such file or directory&lt;/span&gt;&lt;br/&gt;&#xA;make[1]: &lt;span class=&#34;Warning&#34;&gt;*** No rule to make target&lt;/span&gt; `/usr/src/linux-source-2.6.35/debian/linux-source-2.6.35/usr/src/linux-source-2.6.35/crypto/Makefile&#39;.  Stop.&lt;br/&gt;&#xA;make: *** [_clean_crypto] &lt;span class=&#34;Warning&#34;&gt;Error 2&lt;/span&gt;&lt;/blockquote&gt;となってしまった。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://askubuntu.com/questions/27963/error-encountered-compiling-kernel-2-6-35-25-44&#34;&gt;Ask Ubuntuを調べる&lt;/a&gt;と&lt;span class=&#34;Path&#34;&gt;/usr/share/kernel-package/ruleset/targets/source.mk&lt;/span&gt;に手を入れる必要があるそうな。&#xA;&lt;blockquote class=&#34;Log&#34;&gt;$ diff -Nub /usr/share/kernel-package/ruleset/targets/source.mk.orig /usr/share/kernel-package/ruleset/targets/source.mk&lt;/blockquote&gt;&#xA;の結果は以下のとおり。&#xA;&lt;blockquote class=&#34;Log&#34;&gt;--- /usr/share/kernel-package/ruleset/targets/source.mk.orig    2009-08-21 22:47:53.000000000 +0900&lt;br/&gt;&#xA;+++ /usr/share/kernel-package/ruleset/targets/source.mk         2011-11-11 18:24:07.511058001 +0900&lt;br/&gt;&#xA;@@ -64,12 +64,10 @@&lt;br/&gt;&#xA; ####&lt;br/&gt;&#xA; ######################################################################&lt;br/&gt;&#xA; ifneq ($(strip $(int_follow_symlinks_in_src)),)&lt;br/&gt;&#xA;-       -tar cfh - $$(echo * | sed -e &#39;s/ debian//g&#39; -e &#39;s/\.deb//g&#39; ) |       \&lt;br/&gt;&#xA;-       (cd $(SRCDIR); umask 000; tar xpsf -)&lt;br/&gt;&#xA;+       -(umask 000; find . -mindepth 1 -maxdepth 1 -not -name &#39;*.deb&#39; -not -name &#39;debian*&#39; -exec cp -Lr {} $(SRCDIR) \;; )&lt;br/&gt;&#xA;        (cd $(SRCDIR)/include; rm -rf asm ; )&lt;br/&gt;&#xA; else&lt;br/&gt;&#xA;-       -tar cf - $$(echo * | sed -e &#39;s/ debian//g&#39; -e &#39;s/\.deb//g&#39; ) |         \&lt;br/&gt;&#xA;-       (cd $(SRCDIR); umask 000; tar xspf -)&lt;br/&gt;&#xA;+       -(umask 000; find . -mindepth 1 -maxdepth 1 -not -name &#39;*.deb&#39; -not -name &#39;debian*&#39; -exec cp -r {} $(SRCDIR) \;; )&lt;br/&gt;&#xA;        (cd $(SRCDIR)/include; rm -f asm ; )&lt;br/&gt;&#xA; endif&lt;br/&gt;&#xA;        $(install_file) debian/changelog      $(SRCDIR)/Debian.src.changelog&lt;/blockquote&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
