Commit Graph

16 Commits

Author SHA1 Message Date
Xi Ruoyao
ff1799e0e4
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2025-06-05 12:38:54 +08:00
Xi Ruoyao
6c311ec76f
changingowner: Exclude symlinks from chown
Make this consistent with addinguser.

Applying chown to a symlink actually affects its target, and here the
targets are in $LFS/usr and already covered.
2025-05-31 19:26:40 +08:00
Xi Ruoyao
6a86cb1052
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2025-02-18 20:56:06 +08:00
Pierre Labastie
6528f75720 Use <userinput> as elements for lfs user and group
The preceding commit uses <systemitem> elements to mark the lfs
user and group in commands. Unfortunately, this change the
rendering in html, because now lfs appears in an italic font.
Using <userinput remap='group'> or <userinput remap='user'> allows
parsing the XML for jhalfs, but does not change the html rendering.
2025-01-02 09:12:52 +01:00
Xi Ruoyao
8e8be5f129 Use lfs-user entity in commands
I still think it's cleaner for jhalfs to just use a different user name
(for example "lfs1") if the user lfs already exists.  This will allow
jhalfs to easily use a different user name.
2025-01-02 09:12:52 +01:00
Xi Ruoyao
f6548ac6b9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-05-09 01:36:31 +08:00
Xi Ruoyao
6e179a9025
changingowner: Add --from lfs for chown root:root commands
So if the user has not set $LFS properly, chown will do nothing instead
of wreak havoc in the host distro.

--from <user> has been available for Coreutils chown since 2000 so we
don't need to raise the host system requirement.
2024-04-27 12:30:10 +08:00
Xi Ruoyao
9f894d5ab9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-20 02:08:26 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
4d8854a5e3
arm64: don't create /lib64
The path to dynamic linker is /lib/ld-linux-aarch64.so.1, no hardcoded
/lib64.  It's much better than x86_64 or MIPS64 IMO.

[As a LoongArch contributor & reviewer: we really should have removed
this stupid "64" in the early development stage of LoongArch ELF ABI.]
2022-08-26 20:31:32 +08:00
Xi Ruoyao
9174a66f34 minor rewords in the beginning of chap 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11966 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-20 07:26:14 +00:00
Thomas Trepl
70f0882d4c No /lib64 on i686
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11941 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-14 21:03:26 +00:00
Bruce Dubbs
387a32af4b Update initial Chapter 7 pages for cross2 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-11 03:13:43 +00:00
Bruce Dubbs
5061bc643a Move changingowner from Chapter 6 to Chapter 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-08 19:44:56 +00:00
Pierre Labastie
f309ac1058 Remove unneeded files in chapter 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11902 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-08 08:17:16 +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