diff --git a/doc/html/index.html b/doc/html/index.html index efd9993..b36dbb3 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@ -
$Id: index.html,v 1.120 2003/02/18 18:48:17 freesource Exp $
+
$Id: index.html,v 1.121 2003/02/18 19:47:45 freesource Exp $

@@ -1734,7 +1734,7 @@ Usage: gbootroot [OPTION]...

-

  • The if/elsif operator may be used to test for the existence of an +
  • The if/elsif statement may be used to test for the existence of an absolute or relative file condition. If the condition is true than the following statements will be parsed, otherwise additional conditions are examined. The statements can be specified by any @@ -1756,14 +1756,14 @@ Usage: gbootroot [OPTION]... --------- \ - if ( mingetty ) - /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm - /sbin/mingetty - /etc/gettydefs - elsif ( agetty ) - /etc/inittab <= Replacements/etc/inittab.example.agetty-slack + if ( agetty ) + /etc/inittab <= Replacements/etc/inittab.example.agetty-rpm /sbin/agetty /etc/gettydefs + elsif ( mingetty ) + /etc/inittab <= Replacements/etc/inittab.example.mingetty-slack + /sbin/mingetty + /etc/gettydefs elsif ( getty ) /etc/inittab <= Replacements/etc/inittab.example-deb /sbin/getty diff --git a/gbootroot_pkg b/gbootroot_pkg index ae17898..afeaf0a 100755 --- a/gbootroot_pkg +++ b/gbootroot_pkg @@ -178,7 +178,7 @@ chdir($gbootroot_cvs) or die "Couldn't change to $gbootroot_cvs: $!\n"; # Basically we are just concerned with the first part of cp and will # use home_builder to make sure the directory exists. -system "rm -rf $packaging_place"; +system "rm -rf $packaging_place" if $ARGV[0] ne "src"; system "install -d $packaging_place"; foreach (@make_lines) { diff --git a/yard/templates/Example-Mini.yard b/yard/templates/Example-Mini.yard index 88d9878..3db6e2b 100644 --- a/yard/templates/Example-Mini.yard +++ b/yard/templates/Example-Mini.yard @@ -1,4 +1,4 @@ -# $Id: Example-Mini.yard,v 1.5 2003/02/07 19:12:30 freesource Exp $ +# $Id: Example-Mini.yard,v 1.6 2003/02/13 07:37:49 freesource Exp $ # Example-Mini.yard # # Creates a minimalistic S runlevel root filesystem with not much more than @@ -55,7 +55,7 @@ # # Control Structures # ------------------ -# The if/elsif operator may be used to test for the existence of an +# The if/elsif statement may be used to test for the existence of an # absolute or relative file condition. If the condition is true # than the following statements will be parsed, otherwise additional # conditions are examined. The statements can be specified by any @@ -72,14 +72,14 @@ # --------- # # \ -# if ( mingetty ) -# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm -# /sbin/mingetty -# /etc/gettydefs -# elsif ( agetty ) -# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack +# if ( agetty ) +# /etc/inittab <= Replacements/etc/inittab.example.agetty-rpm # /sbin/agetty # /etc/gettydefs +# elsif ( mingetty ) +# /etc/inittab <= Replacements/etc/inittab.example.mingetty-slack +# /sbin/mingetty +# /etc/gettydefs # elsif ( getty ) # /etc/inittab <= Replacements/etc/inittab.example-deb # /sbin/getty diff --git a/yard/templates/Example.yard b/yard/templates/Example.yard index 844e69c..69d7596 100644 --- a/yard/templates/Example.yard +++ b/yard/templates/Example.yard @@ -1,4 +1,4 @@ -# $Id: Example.yard,v 1.24 2003/02/11 18:33:31 freesource Exp $ +# $Id: Example.yard,v 1.25 2003/02/13 07:37:48 freesource Exp $ # Example.yard # # Creates a minimalistic multi-user runlevel root filesystem with @@ -65,7 +65,7 @@ # Control Structures # ------------------ # -# The if/elsif operator may be used to test for the existence of an +# The if/elsif statement may be used to test for the existence of an # absolute or relative file condition. If the condition is true # than the following statements will be parsed, otherwise additional # conditions are examined. The statements can be specified by any @@ -82,14 +82,14 @@ # --------- # # \ -# if ( mingetty ) -# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm -# /sbin/mingetty -# /etc/gettydefs -# elsif ( agetty ) -# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack +# if ( agetty ) +# /etc/inittab <= Replacements/etc/inittab.example.agetty-rpm # /sbin/agetty # /etc/gettydefs +# elsif ( mingetty ) +# /etc/inittab <= Replacements/etc/inittab.example.mingetty-slack +# /sbin/mingetty +# /etc/gettydefs # elsif ( getty ) # /etc/inittab <= Replacements/etc/inittab.example-deb # /sbin/getty @@ -213,23 +213,22 @@ telinit # Choose the *-nodevfs version if you don't want to use the device fs # (devfs=nomount) # -#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: - +# +#===== SLACKWARE and SUSE use agetty: \ -if ( mingetty ) +if ( agetty ) - /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm - #/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs - /sbin/mingetty + /etc/inittab <= Replacements/etc/inittab.example-agetty-helper + /sbin/agetty /etc/gettydefs # -#===== SLACKWARE uses agetty: +#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: -elsif ( agetty ) +elsif ( mingetty ) - /etc/inittab <= Replacements/etc/inittab.example.agetty-slack - #/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs - /sbin/agetty + /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm + #/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs + /sbin/mingetty /etc/gettydefs # #===== DEBIAN uses a program called "getty" which is actually agetty in diff --git a/yard/templates/Helper.yard b/yard/templates/Helper.yard index 23130aa..058090e 100644 --- a/yard/templates/Helper.yard +++ b/yard/templates/Helper.yard @@ -1,4 +1,4 @@ -# $Id: Helper.yard,v 1.7 2003/02/14 05:45:36 freesource Exp $ +# $Id: Helper.yard,v 1.8 2003/02/15 02:10:07 freesource Exp $ # Helper.yard # ############################################################################# @@ -28,31 +28,31 @@ telinit ##/sbin/swapon # Login stuff -/bin/login -/sbin/sulogin # used by inittab.debian-min -/etc/securetty <= Replacements/etc/securetty.example -/root/.bashrc <= Replacements/root/.bashrc.debian -/root/.profile <= Replacements/root/.profile.debian -/home/user/.bashrc <= Replacements/home/user/.bashrc.debian -/home/user/.bash_profile <= Replacements/home/user/.bash_profile.debian -/etc/hostname <= Replacements/etc/hostname -/etc/motd <= Replacements/etc/motd +##/bin/login +##/sbin/sulogin # used by inittab.debian-min +##/etc/securetty <= Replacements/etc/securetty.example +##/root/.bashrc <= Replacements/root/.bashrc.debian +##/root/.profile <= Replacements/root/.profile.debian +##/home/user/.bashrc <= Replacements/home/user/.bashrc.debian +##/home/user/.bash_profile <= Replacements/home/user/.bash_profile.debian +##/etc/hostname <= Replacements/etc/hostname +##/etc/motd <= Replacements/etc/motd # login and mount stuff # /etc/fstab <= Replacements/etc/fstab.example # -/etc/issue # nice to have +##/etc/issue # nice to have # # No password for root or user. /etc/group <= Replacements/etc/group.example -/etc/passwd <= Replacements/etc/passwd.example +##/etc/passwd <= Replacements/etc/passwd.example # # Shadow password root=root user=user #/etc/group <= Replacements/etc/group.debian #/etc/passwd <= Replacements/etc/passwd.debian #/etc/shadow <= Replacements/etc/shadow.debian -/etc/login.defs +##/etc/login.defs # Specify these binaries absolutely because boot scripts need them to be here. /bin/echo # for inittab.debian.sample @@ -77,11 +77,11 @@ telinit /etc/shells # Make sure all included shells are listed. # PROVISIONS FOR PAM: -/etc/pam.d/other -/etc/pam.d/login -\ if ( /etc/pam.d/system-auth ) +##/etc/pam.d/other +##/etc/pam.d/login +##\ if ( /etc/pam.d/system-auth ) # RedHat uses this - /etc/pam.d/system-auth \ +## /etc/pam.d/system-auth \ # /etc/pam.conf # PROVISIONS FOR NSS @@ -96,31 +96,31 @@ telinit # still work. Check your /etc/inittab to confirm, or create a new inittab # replacement and edit as required. Some gettys require /etc/gettydefs. # -#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: - -\ -if ( mingetty ) +# +#===== SLACKWARE and SUSE use agetty: +##\ +##if ( agetty ) - /etc/inittab <= Replacements/etc/inittab.example-mingetty-helper - /sbin/mingetty - /etc/gettydefs +## /etc/inittab <= Replacements/etc/inittab.example-agetty-helper +## /sbin/agetty +## /etc/gettydefs # -#===== SLACKWARE uses agetty: +#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: -elsif ( agetty ) +##elsif ( mingetty ) - /etc/inittab <= Replacements/etc/inittab.example-agetty-helper - /sbin/agetty - /etc/gettydefs +## /etc/inittab <= Replacements/etc/inittab.example-mingetty-helper +## /sbin/mingetty +## /etc/gettydefs # #===== DEBIAN uses a program called "getty" which is actually agetty in #===== disguise: -elsif ( getty ) +##elsif ( getty ) - /etc/inittab <= Replacements/etc/inittab.example-helper - /sbin/getty -\ +## /etc/inittab <= Replacements/etc/inittab.example-helper +## /sbin/getty +##\ ##### utmp and wtmp. @@ -183,7 +183,7 @@ modprobe # ## There needs to be a helper root_fs for both 2.2 and 2.4! # -#/modules-2.2.tar <= Replacements/lib/modules/modules-2.2.tar +##/modules-2.2.tar <= Replacements/lib/modules/modules-2.2.tar ##/modules-2.4.tar <= Replacements/lib/modules/modules-2.4.tar ##### ESSENTIAL SYSTEM UTILITIES