Changeset 16cd0963
- Timestamp:
- 09/20/2022 05:20:58 PM (18 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ab29298
- Parents:
- cc8e57d
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
rcc8e57d r16cd0963 1 2022-09-30 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 * Mount /dev/shm as a tmpfs. 3 1 4 2022-07-23 Thomas Trepl <thomas@linuxfromscratch.org> 2 5 * Mark an raid array clean when root (/) has been remounted -
bootscripts/lfs/init.d/mountvirtfs
rcc8e57d r16cd0963 39 39 fi 40 40 41 mkdir -p /run/lock /run/shm42 chmod 1777 /run/ shm /run/lock41 mkdir -p /run/lock 42 chmod 1777 /run/lock 43 43 44 44 log_info_msg "Mounting virtual file systems: ${INFO}/run" … … 59 59 fi 60 60 61 ln -sfn /run/shm /dev/shm 61 mkdir -p /dev/shm 62 log_info_msg2 " ${INFO}/dev/shm" 63 mount -o nosuid,nodev /dev/shm || failed=1 62 64 63 65 (exit ${failed}) -
chapter01/changelog.xml
rcc8e57d r16cd0963 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 43 <listitem> 44 <para>2022-09-20</para> 45 <itemizedlist> 46 <listitem> 47 <para>[bdubbs] - Adappt instructions depending on 48 host setup of /dev/shm when creating virtual filesystems 49 for chroot.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 42 53 43 54 <listitem> -
chapter07/cleanup.xml
rcc8e57d r16cd0963 96 96 <para>Before making a backup, unmount the virtual file systems:</para> 97 97 98 <screen role="nodump"><userinput>umount $LFS/dev/pts 98 <screen role="nodump"><userinput>[ mountpoint -q $LFS/dev/shm ] && umount $LFS/dev/shm 99 umount $LFS/dev/pts 99 100 umount $LFS/{sys,proc,run,dev}</userinput></screen> 100 101 -
chapter07/kernfs.xml
rcc8e57d r16cd0963 90 90 directory needs to be created.</para> 91 91 92 <para>In other cases <filename>/dev/shm</filename> is a mountpoint 93 for a tmpfs. In that case the mount of /dev above will only create 94 /dev/shm in the chroot environment as a directory. In this situation 95 we explicitly mount a tmpfs,</para> 96 92 97 <screen><userinput>if [ -h $LFS/dev/shm ]; then 93 98 mkdir -pv $LFS/$(readlink $LFS/dev/shm) 99 else 100 mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 94 101 fi</userinput></screen> 95 102 -
chapter10/fstab.xml
rcc8e57d r16cd0963 33 33 tmpfs /run tmpfs defaults 0 0 34 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 35 36 36 37 # End /etc/fstab</literal> -
chapter11/afterlfs.xml
rcc8e57d r16cd0963 130 130 mounttype sys sysfs sysfs 131 131 mounttype run tmpfs run 132 mkdir $LFS/run/shm 132 if [ -h $LFS/dev/shm ]; then 133 mkdir -pv $LFS/$(readlink $LFS/dev/shm) 134 else 135 mounttype dev/shm tmpfs tmpfs -o nosuid,nodev 136 fi 137 133 138 #mountbind usr/src 134 139 #mountbind boot -
packages.ent
rcc8e57d r16cd0963 383 383 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 384 384 385 <!ENTITY lfs-bootscripts-version "20220 723"> <!-- Scripts depend on this format -->385 <!ENTITY lfs-bootscripts-version "20220920"> <!-- Scripts depend on this format --> 386 386 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 387 387 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
Note:
See TracChangeset
for help on using the changeset viewer.