diff --git a/chapter-common-tasks.dbk b/chapter-common-tasks.dbk index a0d8a2c..3291fa1 100644 --- a/chapter-common-tasks.dbk +++ b/chapter-common-tasks.dbk @@ -278,7 +278,7 @@ Run the following commands: -# apt-get install build-essential fakeroot +# apt-get install build-essential # apt-get build-dep linux @@ -437,7 +437,7 @@ To change the configuration before building, for example for the 686-pae flavour on i386, run the commands: -$ fakeroot make -f debian/rules.gen setup_i386_none_686-pae +$ make -f debian/rules.gen setup_i386_none_686-pae $ make -C debian/build/build_i386_none_686-pae nconfig @@ -447,19 +447,19 @@ flavour on i386, run the commands: To build all possible packages for this architecture, run: -$ fakeroot debian/rules binary +$ dpkg-buildpackage -b -nc -uc To build all architecture-dependent packages, run: -$ fakeroot debian/rules binary-arch +$ dpkg-buildpackage -B -nc -uc To build all architecture-independent packages, run: -$ fakeroot debian/rules binary-indep +$ dpkg-buildpackage -A -nc -uc @@ -469,8 +469,8 @@ For example, to build only the binary packages for 686-pae flavour on i386 architecture, use the following commands: -$ fakeroot debian/rules source -$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686-pae +$ debian/rules source +$ DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_686-pae The target in this command has the general form of @@ -482,8 +482,8 @@ need the linux-headers-version-common -$ fakeroot debian/rules source -$ fakeroot make -f debian/rules.gen binary-arch_i386_none_real +$ debian/rules source +$ DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_real The target in this command has the general form of @@ -500,7 +500,7 @@ version: -# apt-get install build-essential fakeroot rsync git +# apt-get install build-essential rsync git # apt-get build-dep linux @@ -551,7 +551,7 @@ of the various kernel flavours which can be built. -$ fakeroot debian/rules target +$ DEB_RULES_REQUIRES_ROOT=no debian/rules target Finally, build binary packages as explained in debian/config/defines. Then run the command -$ fakeroot debian/rules debian/control-real +$ debian/rules debian/control-real to regenerate the package definitions for this ABI name. diff --git a/debian/changelog b/debian/changelog index fc73aa7..f4a227f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ kernel-handbook (1.0.21) UNRELEASED; urgency=medium - Deprecate older versions of test-patches - Recommend changing ABI name before rebuilding - Add command to enable parallel builds when invoking make directly + - Avoid using fakeroot * Remove obsolete text referring to "patchlevels" in source packages * Remove redundant "bash" from debian/bin/test-patches command lines * Update instructions for disabling debug info (Closes: #1023773) diff --git a/po4a/kernel-handbook.ja.po b/po4a/kernel-handbook.ja.po index f9ce5d4..4eb34e9 100644 --- a/po4a/kernel-handbook.ja.po +++ b/po4a/kernel-handbook.ja.po @@ -1704,8 +1704,8 @@ msgstr "" #. type: Content of:
#: chapter-versions.dbk:112 #, no-wrap -msgid "$ fakeroot debian/rules debian/control-real\n" -msgstr "$ fakeroot debian/rules debian/control-real\n" +msgid "$ debian/rules debian/control-real\n" +msgstr "$ debian/rules debian/control-real\n" #. type: Content of:
#: chapter-versions.dbk:115 @@ -1908,11 +1908,9 @@ msgstr "次のコマンドを実行します:" #. type: Content of:
#: chapter-common-tasks.dbk:34 msgid "" -"# apt-get install build-essential fakeroot" +"# apt-get install build-essential" msgstr "" -"# apt-get install build-essential fakeroot" +"# apt-get install build-essential" #. type: Content of:
#: chapter-common-tasks.dbk:35 chapter-common-tasks.dbk:221 @@ -2133,10 +2131,10 @@ msgstr "" #: chapter-common-tasks.dbk:153 #, no-wrap msgid "" -"$ fakeroot make -f debian/rules.gen setup_i386_none_686-pae\n" +"$ make -f debian/rules.gen setup_i386_none_686-pae\n" "$ make -C debian/build/build_i386_none_686-pae nconfig\n" msgstr "" -"$ fakeroot make -f debian/rules.gen setup_i386_none_686-pae\n" +"$ make -f debian/rules.gen setup_i386_none_686-pae\n" "$ make -C debian/build/build_i386_none_686-pae nconfig\n" #. type: Content of:
@@ -2164,8 +2162,8 @@ msgstr "" #. type: Content of:
#: chapter-common-tasks.dbk:167 #, no-wrap -msgid "$ fakeroot debian/rules binary\n" -msgstr "$ fakeroot debian/rules binary\n" +msgid "$ dpkg-buildpackage -b -nc -uc\n" +msgstr "$ dpkg-buildpackage -b -nc -uc\n" #. type: Content of:
#: chapter-common-tasks.dbk:170 @@ -2177,8 +2175,8 @@ msgstr "" #. type: Content of:
#: chapter-common-tasks.dbk:173 #, no-wrap -msgid "$ fakeroot debian/rules binary-arch\n" -msgstr "$ fakeroot debian/rules binary-arch\n" +msgid "$ dpkg-buildpackage -B -nc -uc\n" +msgstr "$ dpkg-buildpackage -B -nc -uc\n" #. type: Content of:
#: chapter-common-tasks.dbk:176 @@ -2190,8 +2188,8 @@ msgstr "" #. type: Content of:
#: chapter-common-tasks.dbk:179 #, no-wrap -msgid "$ fakeroot debian/rules binary-indep\n" -msgstr "$ fakeroot debian/rules binary-indep\n" +msgid "$ dpkg-buildpackage -A -nc -uc\n" +msgstr "$ dpkg-buildpackage -A -nc -uc\n" #. type: Content of:
#: chapter-common-tasks.dbk:183 @@ -2211,11 +2209,11 @@ msgstr "" #: chapter-common-tasks.dbk:189 #, no-wrap msgid "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules source</userinput>\n" -"<prompt>$</prompt> <userinput>fakeroot make -f debian/rules.gen binary-arch_i386_none_686-pae</userinput>\n" +"<prompt>$</prompt> <userinput>debian/rules source</userinput>\n" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_686-pae</userinput>\n" msgstr "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules source</userinput>\n" -"<prompt>$</prompt> <userinput>fakeroot make -f debian/rules.gen binary-arch_i386_none_686-pae</userinput>\n" +"<prompt>$</prompt> <userinput>debian/rules source</userinput>\n" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_686-pae</userinput>\n" #. type: Content of: <chapter><section><section><para> #: chapter-common-tasks.dbk:193 @@ -2244,11 +2242,11 @@ msgstr "" #: chapter-common-tasks.dbk:202 #, no-wrap msgid "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules source</userinput>\n" -"<prompt>$</prompt> <userinput>fakeroot make -f debian/rules.gen binary-arch_i386_none_real</userinput>\n" +"<prompt>$</prompt> <userinput>debian/rules source</userinput>\n" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_real</userinput>\n" msgstr "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules source</userinput>\n" -"<prompt>$</prompt> <userinput>fakeroot make -f debian/rules.gen binary-arch_i386_none_real</userinput>\n" +"<prompt>$</prompt> <userinput>debian/rules source</userinput>\n" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no make -f debian/rules.gen binary-arch_i386_none_real</userinput>\n" #. type: Content of: <chapter><section><section><para> #: chapter-common-tasks.dbk:206 @@ -2280,10 +2278,10 @@ msgstr "" #. type: Content of: <chapter><section><variablelist><varlistentry><term> #: chapter-common-tasks.dbk:220 msgid "" -"<prompt>#</prompt> <userinput>apt-get install build-essential fakeroot rsync " +"<prompt>#</prompt> <userinput>apt-get install build-essential rsync " "git</userinput>" msgstr "" -"<prompt>#</prompt> <userinput>apt-get install build-essential fakeroot rsync " +"<prompt>#</prompt> <userinput>apt-get install build-essential rsync " "git</userinput>" #. type: Content of: <chapter><section><variablelist><varlistentry><listitem><para> @@ -2372,10 +2370,10 @@ msgstr "" #. type: Content of: <chapter><section><variablelist><varlistentry><term> #: chapter-common-tasks.dbk:271 msgid "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules <replaceable>target</" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no debian/rules <replaceable>target</" "replaceable></userinput>" msgstr "" -"<prompt>$</prompt> <userinput>fakeroot debian/rules <replaceable>target</" +"<prompt>$</prompt> <userinput>DEB_RULES_REQUIRES_ROOT=no debian/rules <replaceable>target</" "replaceable></userinput>" #. type: Content of: <chapter><section><variablelist><varlistentry><listitem><para>