Browse Source

The miracles of testing, had to change the conditional because

Mandrake installs both getty and mingetty.
master
freesource 22 years ago
parent
commit
9c9e229c1d
  1. 10
      doc/html/index.html
  2. 10
      yard/templates/Example-Mini.yard
  3. 34
      yard/templates/Example.yard
  4. 30
      yard/templates/Helper.yard

10
doc/html/index.html

@ -3,7 +3,7 @@
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" <body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E"
alink="#FF0000"> alink="#FF0000">
<center>$Id: index.html,v 1.115 2003/02/11 07:50:08 freesource Exp $</center> <center>$Id: index.html,v 1.116 2003/02/12 00:33:42 freesource Exp $</center>
<p> <p>
@ -1749,10 +1749,7 @@ Usage: gbootroot [OPTION]...
--------- ---------
\ \
if ( getty ) if ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example-deb
/sbin/getty
elsif ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
/sbin/mingetty /sbin/mingetty
/etc/gettydefs /etc/gettydefs
@ -1760,6 +1757,9 @@ Usage: gbootroot [OPTION]...
/etc/inittab <= Replacements/etc/inittab.example.agetty-slack /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
/sbin/agetty /sbin/agetty
/etc/gettydefs /etc/gettydefs
elsif ( getty )
/etc/inittab <= Replacements/etc/inittab.example-deb
/sbin/getty
\ \
Example 2 Example 2

10
yard/templates/Example-Mini.yard

@ -1,4 +1,4 @@
# $Id: Example-Mini.yard,v 1.4 2003/02/07 19:07:08 freesource Exp $ # $Id: Example-Mini.yard,v 1.5 2003/02/07 19:12:30 freesource Exp $
# Example-Mini.yard # Example-Mini.yard
# #
# Creates a minimalistic S runlevel root filesystem with not much more than # Creates a minimalistic S runlevel root filesystem with not much more than
@ -72,10 +72,7 @@
# --------- # ---------
# #
# \ # \
# if ( getty ) # if ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# elsif ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm # /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
# /sbin/mingetty # /sbin/mingetty
# /etc/gettydefs # /etc/gettydefs
@ -83,6 +80,9 @@
# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack # /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
# /sbin/agetty # /sbin/agetty
# /etc/gettydefs # /etc/gettydefs
# elsif ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# \ # \
# #
# Example 2 # Example 2

34
yard/templates/Example.yard

@ -1,4 +1,4 @@
# $Id: Example.yard,v 1.23 2003/02/11 03:17:29 freesource Exp $ # $Id: Example.yard,v 1.24 2003/02/11 18:33:31 freesource Exp $
# Example.yard # Example.yard
# #
# Creates a minimalistic multi-user runlevel root filesystem with # Creates a minimalistic multi-user runlevel root filesystem with
@ -82,10 +82,7 @@
# --------- # ---------
# #
# \ # \
# if ( getty ) # if ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# elsif ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm # /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
# /sbin/mingetty # /sbin/mingetty
# /etc/gettydefs # /etc/gettydefs
@ -93,6 +90,9 @@
# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack # /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
# /sbin/agetty # /sbin/agetty
# /etc/gettydefs # /etc/gettydefs
# elsif ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# \ # \
# #
# Example 2 # Example 2
@ -212,27 +212,16 @@ telinit
# #
# Choose the *-nodevfs version if you don't want to use the device fs # Choose the *-nodevfs version if you don't want to use the device fs
# (devfs=nomount) # (devfs=nomount)
#
#===== DEBIAN uses a program called "getty" which is actually agetty in
#===== disguise:
\
if ( getty )
/etc/inittab <= Replacements/etc/inittab.example-deb
#/etc/inittab <= Replacements/etc/inittab.example-deb-nodevfs
/sbin/getty
# #
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: #===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
elsif ( mingetty ) \
if ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs #/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs
/sbin/mingetty /sbin/mingetty
/etc/gettydefs /etc/gettydefs
# #
#===== SLACKWARE uses agetty: #===== SLACKWARE uses agetty:
@ -242,6 +231,15 @@ elsif ( agetty )
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs #/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs
/sbin/agetty /sbin/agetty
/etc/gettydefs /etc/gettydefs
#
#===== DEBIAN uses a program called "getty" which is actually agetty in
#===== disguise:
elsif ( getty )
/etc/inittab <= Replacements/etc/inittab.example-deb
#/etc/inittab <= Replacements/etc/inittab.example-deb-nodevfs
/sbin/getty
\ \
# Devices - If devfs isn't desired use the kernel option devfs=nomount # Devices - If devfs isn't desired use the kernel option devfs=nomount

30
yard/templates/Helper.yard

@ -1,4 +1,4 @@
# $Id: Helper.yard,v 1.4 2003/02/11 03:17:28 freesource Exp $ # $Id: Helper.yard,v 1.5 2003/02/11 18:33:30 freesource Exp $
# Helper.yard # Helper.yard
# #
############################################################################# #############################################################################
@ -98,32 +98,34 @@ telinit
# #
# Choose the *-nodevfs version if you don't want to use the device fs # Choose the *-nodevfs version if you don't want to use the device fs
# (devfs=nomount) # (devfs=nomount)
#
#===== DEBIAN uses a program called "getty" which is actually agetty in
#===== disguise:
\
if ( getty )
/etc/inittab <= Replacements/etc/inittab.example-helper
/sbin/getty
# #
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty: #===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
elsif ( mingetty ) \
if ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example-mingetty-helper /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs
/sbin/mingetty /sbin/mingetty
/etc/gettydefs /etc/gettydefs
# #
#===== SLACKWARE uses agetty: #===== SLACKWARE uses agetty:
elsif ( agetty ) elsif ( agetty )
/etc/inittab <= Replacements/etc/inittab.example-agetty-helper /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs
/sbin/agetty /sbin/agetty
/etc/gettydefs /etc/gettydefs
#
#===== DEBIAN uses a program called "getty" which is actually agetty in
#===== disguise:
elsif ( getty )
/etc/inittab <= Replacements/etc/inittab.example-deb
#/etc/inittab <= Replacements/etc/inittab.example-deb-nodevfs
/sbin/getty
\ \

Loading…
Cancel
Save