Browse Source

Some additions and cleanup of text.

master
freesource 23 years ago
parent
commit
8157736887
  1. 91
      yard/templates/Example.yard

91
yard/templates/Example.yard

@ -5,11 +5,13 @@
# Tested on Debian unstable/testing, but should work on other distributions # Tested on Debian unstable/testing, but should work on other distributions
# (Mandrake, RedHat, etc.) by using the proper inittab (edit) and getty. # (Mandrake, RedHat, etc.) by using the proper inittab (edit) and getty.
# #
# Create either as a normal user or root. When using genext2fs it's necessary to specify a # Create either as a normal user or root. [ When using genext2fs it's
# root filesystem slightly larger than the actual size shown in Space Left because genext2fs # necessary to specify a root filesystem slightly larger than the actual
# uses different accounting information than mke2fs. # size shown in Space Left because genext2fs uses different accounting
# information than mke2fs. ] ?
# #
# Works both with and without devfs, i.e devfs=nomount. # Works both with and without devfs, i.e devfs=nomount, assuming the correct
# replacements are used.
############################################################################# #############################################################################
# #
@ -22,9 +24,9 @@
# links on the root fs. For example, if you want sh linked to ash # links on the root fs. For example, if you want sh linked to ash
# in the root fs you could specify: "/bin/sh -> /bin/ash". # in the root fs you could specify: "/bin/sh -> /bin/ash".
# The literal output from the last column found when using `ls -s` # The literal output from the last column found when using `ls -s`
# may be used, or fictional links may be created, for instance, ashsa -> bash # may be used, or fictional links may be created, for instance,
# (In this case if /bin/bash exists on the system the link would be # ashsa -> bash (In this case if /bin/bash exists on the system the link
# /bin/ashsa -> /bin/bash, otherwise /asha -> /bash) # would be /bin/ashsa -> /bin/bash, otherwise /asha -> /bash)
# (There is no way to specify hardlinks, though hard linked files # (There is no way to specify hardlinks, though hard linked files
# that exist on the hard disk will be hard linked.) # that exist on the hard disk will be hard linked.)
# #
@ -37,38 +39,43 @@
# Replacements may be specified in their absolute or relative paths # Replacements may be specified in their absolute or relative paths
# (found using $PATH). # (found using $PATH).
# #
# - User defined paths may be specified in the Path Box (Edit->Settings->Path). These paths # - User defined paths may be specified in the Path Box
# may be used to search for the relative paths for Replacements, links and files. # (Edit->Settings->Path). These paths may be used to search for the
# relative paths for Replacements, links and files.
# #
# - Glob designations (?, * and []) are generally allowed, eg /dev/hd[ab]* # - Glob designations (?, * and []) are generally allowed, eg /dev/hd[ab]*
# Wildcards are not allowed in link specs or replacement specs. # Wildcards are not allowed in link specs or replacement specs.
# #
# - The $RELEASE variable which may be used to locate the modules directory can come from # - The $RELEASE variable which may be used to locate the modules directory
# one of three sources, the kernel version returned from a selected kernel in the main section, # can come from one of three sources, the kernel version returned from a
# a user defined kernel version in the ABS, or the value of `uname -r` returned automatically # selected kernel in the main section,
# when the other two sources aren't specified. # a user defined kernel version in the ABS, or the value of `uname -r`
# returned automatically when the other two sources aren't specified.
# #
# You don't need to specify shared libraries or loaders because # You don't need to specify shared libraries or loaders because
# necessary libraries are detected automatically. # necessary libraries are detected automatically.
# You may choose between two behaviors for the treatment of NSS and PAM # You may choose between two behaviors for the treatment of NSS and PAM
# libraries. The old Yard behavior assumes that only the user knows which # libraries. The old Yard behavior assumes that only the user knows which
# service modules they want to include in the file set, and tests (see Tests menu) # service modules they want to include in the file set, and tests
# may be run on the configuration files to show what isn't provided, # (see Tests menu) may be run on the configuration files to show what isn't
# so that the user can include the missing modules manually by editing the template, # provided, so that the user can include the missing modules manually by
# but the user still needs to figure out any dependencies since the modules are dynamically # editing the template, but the user still needs to figure out any
# loaded. # dependencies since the modules are dynamically loaded.
# #
# The new Yard behavior (default) assumes that the user does know what they want # The new Yard behavior (default) assumes that the user does know what they
# based on what the user puts in the NSS (nsswitch.conf) and PAM (pam.conf or pam.d/*) # want based on what the user puts in the NSS (nsswitch.conf) and PAM
# configuration files. The configuration files are then parsed and the corresponding # (pam.conf or pam.d/*) configuration files. The configuration files are
# service modules are included in the file set if they exist on the host system, tests # then parsed and the corresponding service modules are included in the
# (see Tests menu) can be run to find out which ones don't exist. The service modules are # file set if they exist on the host system, tests (see Tests menu) can be
# checked for library dependencies. What this means is that the users only needs # run to find out which ones don't exist. The service modules are checked
# to specify the configuration files in the template, and don't need to concern themselves # for library dependencies. What this means is that the user only needs
# with the service modules or libraries involved. The new behavior is recommended, # to specify the configuration files in the template, and doesn't need to
# but if the old behavior is desired switch off Edit->Settings->"NSS Conf" and # be concerned with the service modules or libraries involved. The new
# Edit->Settings->"PAM Conf". # behavior is recommended, and won't effect the file set even if the
# requirements are already included in the template. If desired, the old
# behavior may be regained by switching off Edit->Settings->"NSS Conf"
# and Edit->Settings->"PAM Conf".
# #
# You don't need to explicitly specify intermediate directories unless you # You don't need to explicitly specify intermediate directories unless you
# just want to make sure they exist. # just want to make sure they exist.
@ -76,17 +83,18 @@
############################################################################## ##############################################################################
# init - parent of all processes # init - parent of all processes
## Consider being creative with init, for instance use ash, sash, or busybox as an init replacement. ## Consider being creative with init, for instance use ash, sash, or busybox
## as an init replacement.
# Choose an inittab to compliment the traditional init in the page below. # Choose an inittab to compliment the traditional init in the page below.
/sbin/init /sbin/init
/sbin/telinit telinit
/sbin/shutdown /sbin/shutdown
/sbin/halt /sbin/halt
/etc/init.d/halt # make this into a replacement /etc/init.d/halt # make this into a replacement
/sbin/swapon /sbin/swapon
/sbin/reboot /sbin/reboot
/etc/init.d/reboot # make this into a replacement /etc/init.d/reboot # make this into a replacement
/etc/rc <= Replacements/etc/rc.debian-min # need two of these and put them in init.d /etc/rc <= Replacements/etc/rc.debian-min
/etc/init.d/rcS <= Replacements/etc/rcS.example /etc/init.d/rcS <= Replacements/etc/rcS.example
# Login stuff .. password not used. # Login stuff .. password not used.
@ -145,7 +153,8 @@
# /etc/pam.conf # /etc/pam.conf
# PROVISIONS FOR NSS # PROVISIONS FOR NSS
# If you use the old libc5, or uClibc you don't need this. Comment out this line. # If you use the old libc5, or uClibc you don't need this.
# Comment out this line.
# #
/etc/nsswitch.conf <= ./Replacements/etc/nsswitch.conf.sample /etc/nsswitch.conf <= ./Replacements/etc/nsswitch.conf.sample
@ -185,8 +194,8 @@
# the executable you're using. Yard can't check this and *getty* will # the executable you're using. Yard can't check this and *getty* will
# hang if the arguments are wrong. # hang if the arguments are wrong.
# Devices - for devfs=nomount the bare minimum required is an inital console, otherwise # Devices - for devfs=nomount the bare minimum required is an inital console,
# nothing is required. # otherwise nothing is required.
/dev/console /dev/console
/dev/ram* /dev/ram*
/dev/mem /dev/mem
@ -213,16 +222,18 @@
##### utmp and wtmp. ##### utmp and wtmp.
# Made by rcS if they don't exist. # Made by rcS if they don't exist.
w
last
##### terminfo entries for programs which need terminal capabilities like vi and nano. ##### terminfo entries for programs which need terminal capabilities like
##### vi and nano.
/usr/share/terminfo/v/vt100 /usr/share/terminfo/v/vt100
/usr/share/terminfo/l/linux /usr/share/terminfo/l/linux
# The old way # The old way
#/etc/termcap <= Replacements/etc/termcap #/etc/termcap <= Replacements/etc/termcap
reset reset
# If you want to load a special keytable, add the filename here: # loadkeys ?
#/usr/lib/kbd/keytables/defkeymap.map
##### Empty directories ##### Empty directories
/proc /proc
@ -243,7 +254,7 @@ modprobe
/etc/modules.conf /etc/modules.conf
# #
# The actual modules. You probably want to be more selective than this. # The actual modules. You probably want to be more selective than this.
# Do an "lsmod" and include the modules you use. # Do a "lsmod" and include the modules you use.
#/lib/modules/$RELEASE/*/*.o #/lib/modules/$RELEASE/*/*.o
##### ESSENTIAL SYSTEM UTILITIES ##### ESSENTIAL SYSTEM UTILITIES
@ -276,8 +287,6 @@ touch
whoami whoami
diff diff
wc wc
w
last
date date
# Editors # Editors

Loading…
Cancel
Save