Commit Graph

269 Commits

Author SHA1 Message Date
Thomas Trepl
acbe862dc5 Automatic merge of trunk into multilib 2023-08-30 00:30:09 +02:00
Xi Ruoyao
4b1b79442c
hostreqs: Raise texinfo minimal version to 5.0
Binutils-2.41 FTBFS with texinfo-4.x.  I've tested 5.0 and it works.

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=30703
2023-08-30 00:32:30 +08:00
Thomas Trepl
48ac979ab4 Automatic merge of trunk into multilib 2023-06-06 00:30:09 +02:00
Xi Ruoyao
0f18f2b121
housekeeping after min-kernel bump
Update the rationale for min-kernel in hostreqs.  Add a note in
general.ent about the EOL of current min-kernel.  Realign the
backslashes in glibc instructions.
2023-06-05 23:20:48 +08:00
Thomas Trepl
fef648d8d4 Automatic merge of trunk into multilib 2023-03-22 00:30:13 +01:00
Douglas R. Reno
12a86f36b1 Typo fix for convenience partitions
Thanks goes to Rainer Fiebig on lfs-dev.
2023-03-21 14:20:13 -05:00
Thomas Trepl
db84777ce9 Automatic merge of trunk into multilib 2023-03-11 00:30:10 +01:00
Bruce Dubbs
25cd02b9db Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-03-09 19:51:42 -06:00
Bruce Dubbs
6e4dfa7528 Tweak kernel version in host requirements 2023-03-09 19:51:31 -06:00
Thomas Trepl
ce49ad6473 Automatic merge of trunk into multilib 2023-03-08 18:17:41 +01:00
Xi Ruoyao
835e40ce16
Adjustments for /dev/pts
1. Declare UNIX98 PTY requirement in host system requirements and check
   it in the script.  All desktop or server distros should have it now,
   but let's stop anyone from building on a embedded distro w/o UNIX98
   PTY early...
2. Use Expect test suite as a guard against mishandled $LFS/dev/pts.
3. No need to test the basic function of Expect in Binutils anymore
   because if ($LFS)/dev/pts is not good, the Expect test suite would
   have failed.
2023-03-08 11:25:48 +08:00
Thomas Trepl
d09e490fb2 Automatic merge of trunk into multilib 2023-03-05 11:16:29 +01:00
Thomas Trepl
4e897cf409 Fix conflicts 2023-03-05 11:14:49 +01:00
Xi Ruoyao
271c856538
hostreqs: Use &min-kernel; for kernel version 2023-03-05 15:26:44 +08:00
Xi Ruoyao
e39d2aa9df
hostreqs: Remove commented out line 2023-03-05 15:22:24 +08:00
Xi Ruoyao
b789d88195
hostreq: Minor script adjustment
- Remove an extra whitespace breaking shebang (though our instruction
  does not use the shebang).
- Adjust the regex to allow several letters after the version number,
  and match grep version to the text.
- Raise Coreutils to 7.0 (for the host requirement script itself).  It
  was released in 2008 so I don't think it's a problem.
- Add a colon after the text "Compiler check" to match "Aliases:".
- Use grep -o instead of sed to make kernel version check simpler.
2023-03-05 10:01:40 +08:00
Bruce Dubbs
140e9a445d q 2023-03-04 16:26:31 -06:00
Thomas Trepl
23c21ef00a Automatic merge of trunk into multilib 2023-02-28 18:15:51 +01:00
Xi Ruoyao
9547b2e7f8
hostreqs: Remove "required by udev" for kernel
We don't run the newly built udev daemon before rebooting to LFS kernel.
2023-02-28 14:59:19 +08:00
Thomas Trepl
b6c69478d1 Automatic merge of trunk into multilib 2023-02-27 19:01:16 +01:00
Bruce Dubbs
0ba2ee5a1f Bump minimum gcc requirement to 5.1 2023-02-27 09:46:44 -06:00
Thomas Trepl
7ab3f9f102 Resolve merge confict 2023-02-13 18:53:20 +01:00
Bruce Dubbs
7c92d6dd82 Update build times an sizes.
This update changes the default number of cores used to build
packages to 4.  A section is also added to host requirements
to recommend a minumum number of cores and memory size.
2023-02-12 13:43:45 -06:00
Thomas Trepl (Moody)
353b104e35 Automatic merge of trunk into multilib 2022-10-18 00:30:11 +02:00
David Bryant
294ea05cd1 Clarified verbiage here and there. Used the present perfect tense instead
of the simple present to make the order of events clearer.
2022-10-17 16:12:16 -05:00
David Bryant
86f386863e Websters spells it up-to-date. Added one word for clarity. 2022-10-17 15:46:25 -05:00
Thomas Trepl (Moody)
c093e6b9d5 Automatic merge of trunk into multilib 2022-10-02 00:30:12 +02:00
David Bryant
2646c571d7 Clarify "mounting a partition" (chapter 2.7). 2022-09-27 12:21:38 -05: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
David Bryant
50e70dbc1f Clarify verbiage in chapter 2.6 (Setting the $LFS Variable). 2022-09-23 14:08:34 -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
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
Thomas Trepl (Moody)
b2cbe93960 Automatic merge of trunk into multilib 2022-09-06 00:30:10 +02:00
Xi Ruoyao
fb66c4c583
some http -> https changes 2022-09-05 09:52:05 +08:00
Thomas Trepl (Moody)
69e41eae26 Automatic merge of trunk into multilib 2022-08-29 00:30:10 +02:00
Xi Ruoyao
cfaf7273f8
parition: mention EFI system partition
Text only change.  Simply refer to BLFS.
2022-08-28 20:06:00 +08:00
Thomas Trepl (Moody)
65ac2fdf48 Automatic merge of trunk into multilib 2022-04-22 05:45:10 +02:00
Xi Ruoyao
e286d8db14
decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Thomas Trepl (Moody)
3b70f926ce Automatic merge of trunk into multilib 2022-02-19 05:45:14 +01:00
Xi Ruoyao
d6006ef769
relax host system requirements
A requirement on Glibc is not needed at all.  It's enough once
$LFS_TGT-* is runnable.  A test on Alpine (using musl as libc) has
practically proved this.

We'd raised binutils and GCC requirements mostly for Glibc.  But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter.  In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).

Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!

So the most strict limitation comes from GCC.  GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed.  And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.

And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs.  They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
Thomas Trepl (Moody)
716db1f765 Merge upstream 2021-09-20 09:37:34 +02:00
Pierre Labastie
408fb7828b Forgotten eol space in chapter02 2021-09-07 23:03:22 +02:00