Commit Graph

48 Commits

Author SHA1 Message Date
Xi Ruoyao
bfb0cbae18
os-release: Automatically update RELEASE_TYPE 2024-12-21 11:56:57 +08:00
Douglas R. Reno
86a50f243a /etc/os-release: Add in the RELEASE_TYPE field.
This field was introduced with systemd-257. For development books, we'll
use "development" here, but when we do the next release we should change
this to say "stable".
2024-12-20 15:15:07 -06:00
Xi Ruoyao
c87106896c
English grammar fixes
Suggested-by: †KJM† <biz@k-1.me>
2024-12-06 17:05:02 +08:00
Bruce Dubbs
e5338216f0 Remove unneeded PATH entries. 2024-11-19 22:28:24 -06:00
Xi Ruoyao
7436c28ae4
If we need to create the link target of /dev/shm, make its mode 1777
To match the behavior of a tmpfs mount.  Otherwise non-root user (for
e.g. the tester user) will get errors using Glibc shm functions.
2024-02-04 22:56:04 +08:00
Xi Ruoyao
8cf42d4c72
Fix and unify the commands creating the link target of /dev/shm
$(realpath /dev/shm) will return the absolute path of the target of
/dev/shm, thus the command will work for both absolute symlink and
relative symlink.
2024-02-04 03:42:36 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
d48812dca9
afterlfs: "Work remotely via SSH" does not strictly need wget 2023-09-24 20:07:32 +08:00
Xi Ruoyao
f510f26b2d
/etc/os-release: Add HOME_URL field
It's used by AppStream in BLFS for calculating the ID of the operating
system.
2023-09-19 03:56:33 +08:00
Pierre Labastie
e0a942748e Make /dev/shm mount and umount verbose
Almost all commands in lfs are verbose. Don't know why these ones
were not.
2023-09-12 19:02:18 +02:00
Bruce Dubbs
d280997ec6 Typo 2023-08-15 15:55:29 -05:00
Douglas R. Reno
e2df6431e9 reboot.xml: Minor typo fix
Thanks goes to rhubabpieguy on lfs-dev
2023-03-23 15:02:26 -05:00
Xi Ruoyao
23a6c4c492
reboot: Use &blfs-book; to simply the link to BLFS
By the way, use &root; for root user.
2023-03-15 14:01:24 +08:00
Bruce Dubbs
5fa9f630cd Add a pointer to troubleshooting boot problems 2023-03-12 00:26:41 -06:00
Xi Ruoyao
bde421e48d
reboot: fix /dev/shm unmounting command
/dev/shm may be a mount point, or a symlink.
2022-10-02 16:12:26 +08:00
Pierre Labastie
8e0c191b9b umount /dev/shm before rebooting
Now that /dev/shm is always a mountpoint, it needs to be umounted
otherwise dev cannot be umounted.
2022-10-02 09:52:59 +02: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
670f55f539 Typos 2022-09-19 15:38:35 -05: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
Bruce Dubbs
6d60bfc16f Chapter 11 text updates. 2022-09-18 16:57:53 -05:00
Xi Ruoyao
b6a6f6c791
afterlfs: use entity for root user 2022-09-18 00:17:12 +08:00
Xi Ruoyao
43e4861936
afterlfs: "links" -> "links or lynx"
Lynx has a slight advantage: no recommended dependencies.
2022-09-18 00:16:00 +08:00
Xi Ruoyao
9bbfbeabc9
afterlfs: tweak key combination description
Use DocBook <keycombo><keycap> to decorate the keys.  Change "Fn" to
"Fx" because some small keyboards have a "Fn" (function) key to
multiplex keys.
2022-09-18 00:13:14 +08:00
Xi Ruoyao
9f8335ee8d
afterlfs: several fixes
- Use <emphasis role="bold"> for bold, instead of <command>.
- Remove "X window" as some graphical environments are Wayland-based.
- "Full BLFS" -> "BLFS", and "partial BLFS" -> "basic LFS" (I guess some
  content is copied from Basic BLFS).
2022-09-17 21:06:14 +08:00
Pierre Labastie
226784a1cb afterlfs: Fix blfs "links" url 2022-09-17 14:57:01 +02:00
Pierre Labastie
afd19ad54a afterlfs: typo and add dependencies of make-ca 2022-09-17 14:52:38 +02:00
Xi Ruoyao
59350d1c7b
afterlfs: remove trailing spaces, and fix two obvious "- -" 2022-09-17 20:36:13 +08:00
Bruce Dubbs
ea94a21b79 Update Chapter 11
These changes provide additional information on how to install additional
packages from BLFS after LFS is complete.
2022-09-16 21:37:34 -05:00
Xi Ruoyao
696a7b4a83
whatnow: update online resources list for maintainance
Bugtraq is dead since 2021, use oss-sec instead.

For CERT, cert.org redirects to CMU and us-cert.gov redirects to US
CISA (https://www.cisa.gov/uscert/).  I'm not familiar with those so
left those for a US citizen to add :).
2022-09-05 10:04:33 +08:00
Xi Ruoyao
fb66c4c583
some http -> https changes 2022-09-05 09:52:05 +08:00
Xi Ruoyao
d84087141c
reboot: mention firmwares
Text only change.

I've forgotten this several times for AMDGPU...
2022-08-26 19:52:20 +08: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
Bruce Dubbs
56587fc43d Make umounting explicit 2021-11-01 12:05:41 -05:00
Pierre Labastie
d73560403d remove blfs-systemd-book entity in chapter 11 2021-09-22 23:19:17 +02:00
Pierre Labastie
784fdaed25 Remove all versiond entities 2021-09-22 23:17:28 +02:00
Pierre Labastie
c6f58f47bd Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-09-07 22:40:16 +02:00
Pierre Labastie
c8fb227d0d Remove spaces at end o lines - chapter11 2021-09-07 22:24:27 +02:00
Pierre Labastie
6711c42299 Fix a spurious space in reboot.xml 2021-09-01 18:24:19 +02:00
Pierre Labastie
3443abb60a Add revision attributes to ulink in chapter 11
The systemd book needs to point to blfs systemd. So change the ulinks
accordingly, and use a revision attribute. No need to use phrase tag.
2021-09-01 08:33:34 +02:00
Bruce Dubbs
78b97ceed4 Point Section 11,4 to right version of BLFS
When we point to BLFS, we need to point to the right version:
sysV or systemd.  That's done with <phrase> and some symlinks on
rivendell.
2021-08-31 23:05:37 -05:00
Xi Ruoyao
3089d454c0
mention wpa_supplicant in reboot page 2021-08-20 01:24:56 +08:00
Xi Ruoyao
ec3d6a23b4
no need to mention dhcpcd/dhclient in systemd revision
systemd-networkd supports DHCP.  If someone prefers dhcpcd/dhclient he
can use systemd-networkd as a temporary tool anyway.
2021-08-20 01:20:39 +08:00
Xi Ruoyao
af548cd4ae
mention make-ca in rebooting 2021-04-24 22:25:33 +08:00
Xi Ruoyao
1f0565af18 reboot: use umount -R to simplify the commands
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12146 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-27 04:45:36 +00:00
Xi Ruoyao
ce9b68d158 reboot: remove the reference to gptfdisk and parted, fdisk now could handle GPT
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12070 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-12-23 13:08:27 +00:00
Bruce Dubbs
37b5ac1293 Finish review/update to cross2 book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-12 22:03:30 +00:00
Bruce Dubbs
fcc027677d Initial commit of alternative cross LFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-07 20:16:00 +00:00