From 1118b1757d67c5e7deb4c9e4b864b00f9d8a8b0c Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 24 May 2016 21:24:59 +0000 Subject: Create branches/merge in svn repo fo rtesting of merged LFS books git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/fstab.xml | 29 ++++++++++++-------------- chapter08/grub.xml | 12 +++++------ chapter08/kernel.xml | 57 +++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 64 insertions(+), 34 deletions(-) (limited to 'chapter08') diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index d1be334ee..91ad2dfe0 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -19,7 +19,7 @@ which must be checked (for integrity errors) prior to mounting. Create a new file systems table like this: -cat > /etc/fstab << "EOF" +cat > /etc/fstab << "EOF" # Begin /etc/fstab # file system mount-point type options dump fsck @@ -33,6 +33,18 @@ devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /run tmpfs defaults 0 0 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 +# End /etc/fstab +EOF + +cat > /etc/fstab << "EOF" +# Begin /etc/fstab + +# file system mount-point type options dump fsck +# order + +/dev/<xxx> / <fff> defaults 1 1 +/dev/<yyy> swap swap pri=1 0 0 + # End /etc/fstab EOF @@ -44,19 +56,6 @@ EOF class="filesystem">ext4. For details on the six fields in this file, see man 5 fstab. - - Filesystems with MS-DOS or Windows origin (i.e.: vfat, ntfs, smbfs, cifs, iso9660, udf) need the iocharset mount option in order for non-ASCII characters in file names to be interpreted properly. The value @@ -96,8 +95,6 @@ EOF Default iocharset for FAT (). There is no way to specify these settings for the ntfs filesystem at kernel compilation time. - It is possible to make the ext3 filesystem reliable across power failures for some hard disk types. To do this, add the diff --git a/chapter08/grub.xml b/chapter08/grub.xml index c0bc1d983..a8e484bd8 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -39,13 +39,13 @@ grub-mkrescue --output=grub-img.iso xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso Most newer systems now come with system firmware that is in - UEFI ((Unified Extensible Firmware Interface) mode by default. To boot LFS + UEFI (Unified Extensible Firmware Interface) mode by default. To boot LFS on these systems using the instructions here, the UEFI Mode and Secure Boot - capabilities need to be turned off. There are ways to boot with these - capabilities still enabled, but are not covered here. For details, see - the - lfs-uefi.txt hint at + capabilities need to be turned off. There are ways to boot with these + capabilities still enabled, but then are not covered here. For details, + see + the lfs-uefi.txt hint at http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt. diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index d487327b4..d955625d7 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -65,24 +65,57 @@ information about configuring and building the kernel can be found at - A good starting place for setting up the kernel configuration - is to run make defconfig. This will set the base - configuration to a good state that takes your current system architecture - into account. + + + A good starting place for setting up the kernel configuration is to + run make defconfig. This will set the base + configuration to a good state that takes your current system architecture + into account. - Be sure to configure the following features as shown: + Be sure to enable or disable following features or the system might + not work correctly or boot at all: - + Device Drivers ---> Generic Driver Options ---> [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] - [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] + [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] + + + [*] open by fhandle syscalls [CONFIG_FHANDLE] + [ ] Auditing support [CONFIG_AUDIT] + [*] Control Group support [CONFIG_CGROUPS] +Processor type and features ---> + [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] +Networking support ---> + Networking options ---> + <*> The IPv6 protocol [CONFIG_IPV6] +Device Drivers ---> + Generic Driver Options ---> + [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] + [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] + [ ] Fallback user-helper invocation for firmware loading [CONFIG_FW_LOADER_USER_HELPER] +Firmware Drivers ---> + [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] +File systems ---> + [*] Inotify support for userspace [CONFIG_INOTIFY_USER] + <*> Kernel automounter version 4 support (also supports v3) [CONFIG_AUTOFS4_FS] + Pseudo filesystems ---> + [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL] + [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR] + + + + + While "The IPv6 Protocol" is not strictly + required, it is highly recommended by the systemd developers. + - There are several other options that may be desired depending - on the requirements for the system. For a list of options needed - for BLFS packages, see the BLFS - Index of Kernel Settings + There are several other options that may be desired + depending on the requirements for the system. For a list of options needed + for BLFS packages, see the BLFS + Index of Kernel Settings (&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index). -- cgit v1.2.3-54-g00ecf