LFS-BOOK.Pdf

LFS-BOOK.Pdf

Linux From Scratch Версия 7.3 Автор Gerard Beekmans Редакторы Matthew Burgess и Bruce Dubbs Перевод Иван Лабутин Linux From Scratch: Версия 7.3 by Автор Gerard Beekmans, Редакторы Matthew Burgess и Bruce Dubbs, Перевод Иван Лабутин Copyright © 1999-2013 Gerard Beekmans Copyright © 1999-2013, Gerard Beekmans Все права защищены. Эта книга выпущена под лицензией Creative Commons License. Команды для компьютера могут быть извлечены из книги под лицензией MIT License. Linux® зарегистрированная торговая марка Linus Torvalds. Linux From Scratch - Версия 7.3 Содержание Пролог ......................................................................................................................... viii i. Предисловие ........................................................................................................ viii ii. Кому адресована эта книга? ............................................................................... ix iii. Целевые архитектуры LFS .................................................................................. x iv. LFS и стандарты .................................................................................................. x v. Пояснения к выбранным пакетам ..................................................................... xii vi. Необходимые знания ....................................................................................... xvii vii. Требования к хост-системе ........................................................................... xviii viii. Соглашения, используемые в книге .............................................................. xxi ix. Структура .......................................................................................................... xxii x. Предупреждения об ошибках .......................................................................... xxii I. Начало ........................................................................................................................ 1 1. Введение ................................................................................................................ 2 1.1. Как собрать LFS-систему ............................................................................. 2 1.2. Нововведения в этом выпуске ..................................................................... 3 1.3. Список изменений ........................................................................................ 4 1.4. Ресурсы .......................................................................................................... 9 1.5. Помощь ........................................................................................................ 10 II. Подготовка к сборке .............................................................................................. 13 2. Подготовка нового раздела ............................................................................... 14 2.1. Вступление .................................................................................................. 14 2.2. Создание нового раздела ........................................................................... 14 2.3. Создание файловой системы на разделе .................................................. 16 2.4. Монтирование нового раздела .................................................................. 17 3. Пакеты и патчи .................................................................................................. 19 3.1. Вступление .................................................................................................. 19 3.2. Все пакеты .................................................................................................. 19 3.3. Необходимые патчи .................................................................................... 25 4. Последние приготовления ................................................................................. 27 4.1. О переменной $LFS .................................................................................... 27 4.2. Создание директории $LFS/tools ............................................................... 27 4.3. Добавление пользователя LFS ................................................................... 28 4.4. Установка рабочего окружения ................................................................ 29 4.5. О SBU .......................................................................................................... 30 4.6. О выполнении тестов ................................................................................. 31 5. Построение временной системы ....................................................................... 33 5.1. Вступление .................................................................................................. 33 5.2. Toolchain Technical Notes ........................................................................... 33 5.3. General Compilation Instructions ................................................................ 35 5.4. Binutils-2.23.1 - Шаг 1 ................................................................................ 37 5.5. GCC-4.7.2 - Шаг 1 ....................................................................................... 39 5.6. Linux-3.8.1 API Headers .............................................................................. 42 5.7. Glibc-2.17 ..................................................................................................... 43 5.8. Binutils-2.23.1 - Шаг 2 ................................................................................ 46 5.9. GCC-4.7.2 - Шаг 2 ....................................................................................... 48 5.10. Tcl-8.6.0 ...................................................................................................... 52 5.11. Expect-5.45 ................................................................................................. 54 5.12. DejaGNU-1.5 ............................................................................................... 56 iii Linux From Scratch - Версия 7.3 5.13. Check-0.9.9 ................................................................................................. 57 5.14. Ncurses-5.9 ................................................................................................ 58 5.15. Bash-4.2 ...................................................................................................... 59 5.16. Bzip2-1.0.6 .................................................................................................. 60 5.17. Coreutils-8.21 ............................................................................................. 61 5.18. Diffutils-3.2 ................................................................................................. 62 5.19. File-5.13 ...................................................................................................... 63 5.20. Findutils-4.4.2 ............................................................................................. 64 5.21. Gawk-4.0.2 .................................................................................................. 65 5.22. Gettext-0.18.2 ............................................................................................. 66 5.23. Grep-2.14 .................................................................................................... 67 5.24. Gzip-1.5 ...................................................................................................... 68 5.25. M4-1.4.16 ................................................................................................... 69 5.26. Make-3.82 ................................................................................................... 70 5.27. Patch-2.7.1 .................................................................................................. 71 5.28. Perl-5.16.2 .................................................................................................. 72 5.29. Sed-4.2.2 ..................................................................................................... 73 5.30. Tar-1.26 ...................................................................................................... 74 5.31. Texinfo-5.0 .................................................................................................. 75 5.32. Xz-5.0.4 ....................................................................................................... 76 5.33. Очистка ...................................................................................................... 77 5.34. Смена владельща ...................................................................................... 77 III. Сборка системы LFS ............................................................................................. 79 6. Установка базовых системных пакетов ............................................................ 80 6.1. Introduction .................................................................................................. 80 6.2. Preparing Virtual Kernel File Systems ......................................................... 80 6.3. Package Management .................................................................................. 81 6.4. Entering the Chroot Environment ............................................................... 85 6.5. Creating Directories ..................................................................................... 86 6.6. Creating Essential Files and Symlinks ........................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    367 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