Version 7.10-Systemd

Version 7.10-Systemd

Linux From Scratch Version 7.10-systemd 製作: Gerard Beekmans 編集総括: Bruce Dubbs 編集: Douglas R. Reno 編集: DJ Lucas 日本語訳: 松山 道夫 Linux From Scratch: Version 7.10-systemd 製作: Gerard Beekmans, 編集総括: Bruce Dubbs, 編集: Douglas R. Reno, 編集: DJ Lucas, 、 日本語訳: 松山 道夫 製作著作 © 1999-2016 Gerard Beekmans Copyright © 1999-2016, Gerard Beekmans All rights reserved. 本書は クリエイティブコモンズライセンス に従います。 本書のインストール手順のコマンドを抜き出したものは MIT ライセンス に従ってください。 Linux® は Linus Torvalds の登録商標です。 Linux From Scratch - Version 7.10-systemd 目次 序文 ..................................................................................................... vi i. はしがき .......................................................................................... vi ii. 対象読者 ......................................................................................... vi iii. LFS が対象とする CPU アーキテクチャー .......................................................... vii iv. LFS と各種標準 .................................................................................. vii v. 各パッケージを用いる理由 ........................................................................ viii vi. 必要な知識 ..................................................................................... xiii vii. 本書の表記 .................................................................................... xiii viii. 本書の構成 .................................................................................... xiv ix. 正誤情報 ........................................................................................ xiv x. 日本語訳について ................................................................................. xiv I. はじめに ............................................................................................... 1 1. はじめに ........................................................................................... 2 1.1. LFS をどうやって作るか ....................................................................... 2 1.2. 前版からの変更点 .............................................................................. 2 1.3. 変更履歴 ...................................................................................... 3 1.4. 変更履歴 (日本語版) .......................................................................... 6 1.5. 情報源 ........................................................................................ 8 1.6. ヘルプ ........................................................................................ 9 II. ビルド作業のための準備 ............................................................................... 11 2. ホストシステムの準備 .............................................................................. 12 2.1. はじめに ..................................................................................... 12 2.2. ホストシステム要件 ........................................................................... 12 2.3. 作業段階ごとの LFS 構築 ..................................................................... 14 2.4. 新しいパーティションの生成 ................................................................... 15 2.5. ファイルシステムの生成 ....................................................................... 16 2.6. 変数 $LFS の設定 ............................................................................ 17 2.7. 新しいパーティションのマウント ............................................................... 17 3. パッケージとパッチ ................................................................................ 19 3.1. はじめに ..................................................................................... 19 3.2. 全パッケージ ................................................................................. 20 3.3. 必要なパッチ ................................................................................. 25 4. 準備作業の仕上げ .................................................................................. 27 4.1. はじめに ..................................................................................... 27 4.2. $LFS/tools ディレクトリの生成 ................................................................ 27 4.3. LFS ユーザーの追加 .......................................................................... 27 4.4. 環境設定 ..................................................................................... 28 4.5. SBU 値について .............................................................................. 29 4.6. テストスイートについて ....................................................................... 29 5. 一時的環境の構築 .................................................................................. 31 5.1. はじめに ..................................................................................... 31 5.2. ツールチェーンの技術的情報 ................................................................... 31 5.3. 全般的なコンパイル手順 ....................................................................... 32 5.4. Binutils-2.27 - 1回め ....................................................................... 34 5.5. GCC-6.2.0 - 1回め ........................................................................... 36 5.6. Linux-4.7.2 API ヘッダー .................................................................... 39 5.7. Glibc-2.24 ................................................................................... 40 5.8. Libstdc++-6.2.0 .............................................................................. 42 5.9. Binutils-2.27 - 2回め ....................................................................... 43 5.10. GCC-6.2.0 - 2回め .......................................................................... 44 5.11. Tcl-core-8.6.6 .............................................................................. 47 5.12. Expect-5.45 ................................................................................. 48 5.13. DejaGNU-1.6 ................................................................................. 49 5.14. Check-0.10.0 ................................................................................ 50 5.15. Ncurses-6.0 ................................................................................. 51 5.16. Bash-4.3.30 ................................................................................. 52 5.17. Bzip2-1.0.6 ................................................................................. 53 5.18. Coreutils-8.25 .............................................................................. 54 iii Linux From Scratch - Version 7.10-systemd 5.19. Diffutils-3.5 ............................................................................... 55 5.20. File-5.28 ................................................................................... 56 5.21. Findutils-4.6.0 ............................................................................. 57 5.22. Gawk-4.1.3 .................................................................................. 58 5.23. Gettext-0.19.8.1 ............................................................................ 59 5.24. Grep-2.25 ................................................................................... 60 5.25. Gzip-1.8 .................................................................................... 61 5.26. M4-1.4.17 ................................................................................... 62 5.27. Make-4.2.1 .................................................................................. 63 5.28. Patch-2.7.5 ................................................................................. 64 5.29. Perl-5.24.0 ................................................................................. 65 5.30. Sed-4.2.2 ................................................................................... 66 5.31. Tar-1.29 .................................................................................... 67 5.32. Texinfo-6.1 ................................................................................. 68 5.33. Util-linux-2.28.1 ........................................................................... 69 5.34. Xz-5.2.2 .................................................................................... 70 5.35. ストリップ .................................................................................. 71 5.36. 所有者の変更 ................................................................................ 71 III. LFSシステムの構築 ................................................................................... 72 6. 基本的なソフトウェアのインストール ................................................................ 73 6.1. はじめに ..................................................................................... 73 6.2. 仮想カーネルファイルシステムの準備 ........................................................... 73 6.3. パッケージ管理 ............................................................................... 74 6.4. Chroot 環境への移行 ......................................................................... 77 6.5. ディレクトリの生成 ........................................................................... 78 6.6. 基本的なファイルとリンクの生成 ............................................................... 79 6.7. Linux-4.7.2 API ヘッダー .................................................................... 82 6.8. Man-pages-4.07 ............................................................................... 83 6.9. Glibc-2.24 ................................................................................... 84 6.10. ツールチェーンの調整 ........................................................................ 90 6.11. Zlib-1.2.8 .................................................................................. 92 6.12. File-5.28 ................................................................................... 93 6.13. Binutils-2.27 ............................................................................... 94 6.14. GMP-6.1.1 ..................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    257 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us