The miracles of testing, had to change the conditional because

Mandrake installs both getty and mingetty.
This commit is contained in:
freesource
2003-02-13 07:37:49 +00:00
parent b4c152d3c6
commit 9c9e229c1d
4 changed files with 42 additions and 42 deletions
+5 -5
View File
@@ -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
#
# Creates a minimalistic S runlevel root filesystem with not much more than
@@ -72,10 +72,7 @@
# ---------
#
# \
# if ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# elsif ( mingetty )
# if ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
# /sbin/mingetty
# /etc/gettydefs
@@ -83,6 +80,9 @@
# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
# /sbin/agetty
# /etc/gettydefs
# elsif ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# \
#
# Example 2
+16 -18
View File
@@ -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
#
# Creates a minimalistic multi-user runlevel root filesystem with
@@ -82,10 +82,7 @@
# ---------
#
# \
# if ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# elsif ( mingetty )
# if ( mingetty )
# /etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
# /sbin/mingetty
# /etc/gettydefs
@@ -93,6 +90,9 @@
# /etc/inittab <= Replacements/etc/inittab.example.agetty-slack
# /sbin/agetty
# /etc/gettydefs
# elsif ( getty )
# /etc/inittab <= Replacements/etc/inittab.example-deb
# /sbin/getty
# \
#
# Example 2
@@ -212,27 +212,16 @@ telinit
#
# Choose the *-nodevfs version if you don't want to use the device fs
# (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:
elsif ( mingetty )
\
if ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs
/sbin/mingetty
/etc/gettydefs
#
#===== SLACKWARE uses agetty:
@@ -242,6 +231,15 @@ elsif ( agetty )
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs
/sbin/agetty
/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
+16 -14
View File
@@ -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
#
#############################################################################
@@ -98,32 +98,34 @@ telinit
#
# Choose the *-nodevfs version if you don't want to use the device fs
# (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:
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
/etc/gettydefs
#
#===== SLACKWARE uses 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
/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
\