Русский перевод книги Linux From Scratch
Go to file
Poltern 77512d60a7 binutils: Add --enable-new-dtags
This option makes ld use DT_RUNPATH instead of DT_RPATH.  DT_RPATH is
generally considered bad because it takes precedence over
LD_LIBRARY_PATH.  For example, eog is linked with -rpath /usr/lib/eog,
and with DT_RPATH if an old eog is already installed we are basically
impossible to debug a new eog build w/o overwriting the system
installation first or explicitly using "ld.so --inhibit-rpath" to
invoke it.

This "new" actually means "new in 2000," it's 24 years ago and all other
distros has enabled it.  Thus I guess some unexplainable "test suite
uses installed library instead of the just built one" issues in BLFS are
actually caused by this difference: the package author just assumes
everyone is using DT_RUNPATH thus they just set LD_LIBRARY_PATH and
consider it enough to test with the just built libraries, but DT_RPATH
breaks this expectation.

Let's eliminate the difference as it seems not doing anything good and
doing so just takes one switch.
2024-08-06 21:07:39 +05:00
appendices dependencies: List rust-bindgen as Linux external dependency 2024-07-12 13:11:29 +05:00
bootscripts Update lfs-bootscripts to only output escape sequences to a terminal. 2024-08-06 21:05:46 +05:00
chapter01 Package and format updates. 2024-07-12 13:06:06 +05:00
chapter02 Sync book 2024-05-27 16:35:13 +05:00
chapter03 Package updates. 2024-06-21 14:03:25 +05:00
chapter04 Added missing tag 2024-02-07 13:10:52 +05:00
chapter05 binutils: Add --enable-new-dtags 2024-08-06 21:07:39 +05:00
chapter06 binutils: Add --enable-new-dtags 2024-08-06 21:07:39 +05:00
chapter07 Package and format updates. 2024-07-12 13:06:06 +05:00
chapter08 binutils: Add --enable-new-dtags 2024-08-06 21:07:39 +05:00
chapter09 Package and format updates. 2024-07-12 13:06:06 +05:00
chapter10 [systemd] Disable RT_GROUP_SCHED 2024-06-21 12:40:46 +05:00
chapter11 Typos fix 2024-04-06 21:07:47 +05:00
images Add images 2022-05-19 02:04:30 +05:00
part3intro Typos fix 2024-04-06 21:07:47 +05:00
pdf fixed #3; Automatic insertion of arrows for ru lang 2024-02-26 17:40:43 +05:00
prologue Small reword 2024-05-04 22:40:21 +05:00
stylesheets fix css nochunks v2 (optimize) 2024-03-04 13:42:35 +05:00
udev-lfs Update stats for systemd/dbus and update to udev-lfs-20230818 2023-08-18 22:54:41 +05:00
.gitignore build: Add "make dist" 2023-09-13 23:00:58 +03:00
ABOUT.md Release 12.1 2024-02-29 22:58:36 +05:00
aux-file-data.sh Fix file mode 2024-02-07 14:55:30 +05:00
gen-changelog.py gen-changelog: Handles holding tickets 2024-01-02 21:11:20 +05:00
general.ent Small fix 2024-04-01 16:09:20 +05:00
git-version.sh Change date format 2024-02-07 15:07:11 +05:00
index.xml Add lang='ru' 2023-09-24 23:04:19 +05:00
INSTALL.md Rename install to install.md 2023-08-13 12:12:31 +05:00
lfs-latest-git.php dependencies: List rust-bindgen as Linux external dependency 2024-07-12 13:11:29 +05:00
lfs-latest.php Removed stale lfs-latest.php and symlink lfs-latest-git.php to it 2023-09-05 00:38:23 +03:00
LICENSE Initial commit 2022-05-09 00:31:36 +05:00
make-aux-files.sh Fix file mode 2024-02-07 14:55:30 +05:00
Makefile Rendering: some utf-8 fixes 2024-02-01 22:22:41 +05:00
obfuscate.sh Fix file mode 2024-02-07 14:55:30 +05:00
packages.ent Package and format updates. 2024-07-12 13:06:06 +05:00
patches.ent Package updates. 2024-06-21 14:03:25 +05:00
pdf-fixups.sh Fix file mode 2024-02-07 14:55:30 +05:00
process-scripts.sh Fix file mode 2024-02-07 14:55:30 +05:00
README.md Added build script with "all" parameter 2023-09-05 11:58:54 +03:00
tidy.conf Generate utf-8 encoded html (needs to be tested) 2023-11-26 21:46:04 +05:00

LFS Book README

В этом документе содержится информация о том, как выполнить преобразование книги из XML формата в другой формат (например, HTML, PDF, PS и TXT). Для начала, если вы ещё этого не сделали, пожалуйста, откройте и прочитайте информацию, представленную в файле INSTALL, чтобы установить необходимое программное обеспечение. Если вы уже выполнили все шаги в файле INSTALL, ознакомьтесь с примерами того, как выполнить преобразование файлов в другие форматы.

Во всех примерах необходимо указание аргумента REV=systemd, если требуется сборка редакции systemd.

XML в XHTML:

make BASEDIR=/path/to/output/location

XML в одностраничный XHTML (nochunks):

make BASEDIR=/path/to/output/location nochunks

XML в TXT:

Следуйте инструкциям для nochunks и затем запустите: lynx -dump /path/to/nochunks > /path/to/output

XML в PDF:

make BASEDIR=/path/to/output/location pdf

Сделать сборку всех версий (TXT по умолчанию не создается):

make BASEDIR=/path/to/output/location all