From c925fdc5cbd5bbf3aceaa26a699d500bb59cfaca Mon Sep 17 00:00:00 2001 From: emn <35371027+emn@users.noreply.github.com> Date: Sun, 10 Mar 2024 19:48:01 +0000 Subject: [PATCH] update LFSc stylesheet --- articles/style.css | 3 +- site/LFSc.html | 144 ++++++++++++++++++++++++++++++--------------- 2 files changed, 100 insertions(+), 47 deletions(-) diff --git a/articles/style.css b/articles/style.css index a4c8411..ab7386f 100644 --- a/articles/style.css +++ b/articles/style.css @@ -1,5 +1,5 @@ ::-moz-selection { - /*background: rgb(255, 247, 162); */ + /*background: rgb(255, 247, 162);*/ background: #F83; } ::selection { @@ -53,6 +53,7 @@ pre { font-size: 0.85rem; border: 1px solid #F2DFCE; width: fit-content; + font-family: 'Courier New', monospace; } pre.prettyprint { /*background-color: #f4f7f7;*/ diff --git a/site/LFSc.html b/site/LFSc.html index a67263a..22ad5de 100644 --- a/site/LFSc.html +++ b/site/LFSc.html @@ -3,47 +3,99 @@ LFS: a companion - - +

LFS: a companion

-

1. introduction

+

introduction

this article was written to be read alongside the LFS book.

@@ -165,7 +217,7 @@

LFS: a companion

-

2. stage0

+

stage0

{create-vm 2} @@ -222,7 +274,7 @@

LFS: a companion

-

3. stage1

+

stage1

we need to partition lfs.img, which has been attached to our system at /dev/sdb. we won't bother creating a swap partition as we have provided plenty of memory to our host. for now, we'll just create boot and root partitions. @@ -234,7 +286,7 @@

LFS: a companion

 parted /dev/sdb mklabel gpt
 
-

Added to in section 3

+

Used in section 1

@@ -252,7 +304,7 @@

LFS: a companion

parted /dev/sdb mkpart boot fat32 34s 1GiB parted /dev/sdb set 1 esp on -

Added to in section 3

+

Used in section 1

@@ -268,7 +320,7 @@

LFS: a companion

 parted /dev/sdb -- mkpart root ext4 1GiB -34s print
 
-

Added to in section 3

+

Used in section 1

@@ -354,7 +406,7 @@

LFS: a companion

-

4. stage2

+

stage2

we have finished preparing our disk, so it is time to start building our new linux system. https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html the FHS documents common practices at a given time and is updated as and when they change. @@ -438,7 +490,7 @@

LFS: a companion

-

5. stage3 cross-compiler

+

stage3 cross-compiler

{pass 1 binutils 5} @@ -601,7 +653,7 @@

LFS: a companion

Used in section 1

-

6. stage4 - cross compiling tools

+

stage4 - cross compiling tools

{m4 6} @@ -1006,7 +1058,7 @@

LFS: a companion

Used in section 1

-

7. stage4 chroot

+

stage4 chroot

we are now going to chroot into our newly built environment

@@ -1275,7 +1327,7 @@

LFS: a companion

-

8. stage5

+

stage5

{launch-vm 2} :=