Commit Graph

8493 Commits

Author SHA1 Message Date
David Bryant
2646c571d7 Clarify "mounting a partition" (chapter 2.7). 2022-09-27 12:21:38 -05:00
David Bryant
97f4747aaf Tweak introduction as Pierre Labastie suggested (chapter 4.2). 2022-09-27 12:11:23 -05:00
Xi Ruoyao
471a32e836
whatsnew: add a paragraph about PIE+SSP change 2022-09-27 10:47:11 +08:00
Xi Ruoyao
111194c5b7
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-25 16:57:46 +08:00
Xi Ruoyao
8f641ee861
arm64: grub cfg: add quote to avoid "escaping" Windoge-style loader path 2022-09-25 16:57:15 +08:00
Xi Ruoyao
c0a0f2536c
arm64: grub cfg: some improvements
- Ensure /boot/efi is created before mounting ESP.
- Delete already existing "LFS" boot entry in efivar.
- Umount /sys/firmware/efi/efivars after running efibootmgr (or it
  causing troubles in "umount /sys").
- Mention "-e 3" which is needed for some UEFI implementation.
2022-09-25 15:30:30 +08:00
Xi Ruoyao
f427ba2336
kernel: adjust the instruction for mounting /boot
LFS and the host may use different /boot configuration, so do not assume
they'll share a /boot partition (two different /boot partition or only one
with separate /boot are possible).
2022-09-25 15:16:23 +08:00
Xi Ruoyao
ef6e958f10
arm64: remove reference to GRUB Bios Partition 2022-09-25 13:52:49 +08:00
Xi Ruoyao
4d04dc743f
init.d/swap: you can't mount a swap partition 2022-09-25 13:36:11 +08:00
Xi Ruoyao
8880478685
arm64: libffi: document known test failures 2022-09-25 13:21:41 +08:00
Xi Ruoyao
5a50f61663
arm64: elfutils: adapt a test failure note
The same test fails on arm64 too.
2022-09-25 13:19:05 +08:00
Xi Ruoyao
7344a7fc19
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-25 13:18:16 +08:00
Xi Ruoyao
f4066122e0
libelf: add a x86 specific test failure
It's caused by a minor GAS issue, which should be fixed in
binutils-2.40.

See https://sourceware.org/bugzilla/show_bug.cgi?id=29450 and
https://sourceware.org/bugzilla/show_bug.cgi?id=29451.
2022-09-25 12:56:08 +08:00
Xi Ruoyao
ad9fbd14ae
mounting: create &fstab; conventional entity and use it 2022-09-24 18:56:45 +08:00
Xi Ruoyao
f001ece905
creatingfilesystem: Refine the condition where a FS is needed
For example, a swap partition does not contain any FS.  And, if you want
to clone a partition, you can use

    dd if=/dev/<old-partition> of=/dev/<new-partition>

then it's unnecessary to create a FS on new-partition before operation.
This is sometimes faster than creating a new FS, mounting both
partition, then "cp -av" if the old-partition contains many small files.
2022-09-24 18:48:50 +08:00
Xi Ruoyao
54eb9b78da
arm64: gcc: document test failures with PIE/SSP 2022-09-24 15:38:53 +08:00
David Bryant
2ed0e93787 Refine verbiage in chapter 4.2 (Creating a limited directory layout). 2022-09-23 15:52:30 -05:00
David Bryant
1cb4a25b36 Tweak English idiom in chapter 4.1 (Introduction) 2022-09-23 15:16:02 -05:00
David Bryant
81793c6efc Minor changes to verbiage in chapter 3.2 (All Packages) 2022-09-23 14:57:48 -05:00
David Bryant
50e70dbc1f Clarify verbiage in chapter 2.6 (Setting the $LFS Variable). 2022-09-23 14:08:34 -05:00
Xi Ruoyao
44784c1b8a
arm64: remove some x86_64 specific gas tests 2022-09-24 00:12:00 +08:00
Xi Ruoyao
f4facc457f
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-24 00:06:19 +08:00
Xi Ruoyao
10d7c7a820
binutils: document a test failure
It happens on both x86_64 and aarch64.
2022-09-23 23:48:46 +08:00
David Bryant
b6a67d37b5 Clean up English idiom / grammar in chapter 3.1 (Introduction).
(Note that "errata" are plural; "erratum" is the singular nun.)
2022-09-22 17:08:43 -05:00
David Bryant
9011f2d242 Clean up grammar / idiom in chapter 2.7 (Mounting the New Partition) 2022-09-22 16:17:48 -05:00
David Bryant
4ca7966259 Corrected grammar / idiom / punctuation.
Also added an introduction explaining what a file system does.
2022-09-22 15:24:38 -05:00
David Bryant
58f92b0647 Correcting idiom / syntax again, based on feedback from Bruce & Doug. 2022-09-22 14:31:32 -05:00
Xi Ruoyao
b00063f2a5
partition: update the description for /tmp with tmpfs 2022-09-23 02:03:38 +08:00
Xi Ruoyao
fc472c83d9
partition: update examples for /opt
We don't use /opt for GNOME, so use Texlive as another example.
2022-09-23 01:40:51 +08:00
Xi Ruoyao
67756f3ec2
fix a typo 2022-09-23 01:31:26 +08:00
Bruce Dubbs
47a8542090 Update to expat-2.4.9 (Security Update). 2022-09-22 11:29:00 -05:00
Bruce Dubbs
01ecba7b30 Fix unmounting instruction in 7.13.2. Backup 2022-09-22 10:44:47 -05:00
Xi Ruoyao
dbab2a4519
kernel: add CONFIG_FRAMEBUFFER_CONSOLE, and mention CONFIG_DRM_FBDEV_EMULATION
Is there anyone using a blind system with serial console now? :)
2022-09-22 12:34:27 +08:00
David Bryant
6612f5441b Corrected English idiom and punctuation in chapter 2.4 (new partition). 2022-09-21 16:16:00 -05:00
David Bryant
925414842a Corrected English idiom, fixed some typos in chapter 2.3 (Stages) 2022-09-21 15:53:38 -05:00
David Bryant
17a807a99f Fix minor typo in chapter 2 "Host System Requirements". 2022-09-21 15:41:34 -05:00
David Bryant
1184a7e91b Fixed typos in chapter 1 "How to Build an LFS System". 2022-09-21 15:17:56 -05:00
Bruce Dubbs
81163bfc47 Remove debugging line 2022-09-21 10:02:10 -05:00
Xi Ruoyao
ab2929857e
fix a typo in changelog 2022-09-21 17:49:35 +08:00
Bruce Dubbs
16cd09633e Adjust instructions for /dev/shm when creating virtual filesystems.
Some host create /dev/shm as a tmpfs.  Some have is as
a symlink to a location in another directory.  This
change handles both cases.

The change to the sysV bootscripts now creates /dev/shm
as a separate tmpfs from /run.  This makes LFS sysV and
systemd versions treat /dev/shm the same.
2022-09-20 12:20:58 -05:00
Bruce Dubbs
cc8e57dc7a Update currency for libffi 2022-09-20 11:16:15 -05:00
Bruce Dubbs
670f55f539 Typos 2022-09-19 15:38:35 -05:00
Xi Ruoyao
3d65730e22
cleanup: rephrase description for .la removal
Don't emphasis "static library" at all, to prevent anyone from thinking
"I need to use static libraries so I'll keep these .la files".  And warn
that .la files are known to break BLFS packages.
2022-09-19 14:12:17 +08:00
Xi Ruoyao
4e381f952e
fix a typo 2022-09-19 12:10:26 +08:00
Xi Ruoyao
5f85f38260
reboot: add a comment for editors about why we don't provide reboot command 2022-09-19 11:03:29 +08:00
Xi Ruoyao
5de4fea42c
cleanup: use a stronger tone for removing la files 2022-09-19 11:00:21 +08:00
Bruce Dubbs
6d60bfc16f Chapter 11 text updates. 2022-09-18 16:57:53 -05:00
Pierre Labastie
cdc605303b Makefile: reinstate the dump-commands target 2022-09-18 08:29:18 +02:00
Pierre Labastie
99260fe3c9 Makefile: remove unneeded tabs 2022-09-18 08:27:58 +02:00
Xi Ruoyao
6cfe855a16
dependencies: remove patch runtime dependency on itself
Reported-by: Rahul Chandra <rahulshaku2@gmail.com>
2022-09-18 12:27:44 +08:00