1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-22 16:43:23 -05:00

Changed to agetty first in control structure, and changed Helper.yard

to be only a init=/bin/bash fs.
This commit is contained in:
freesource 2003-02-20 03:24:15 +00:00
parent f18efcaba7
commit caae1f01d5
5 changed files with 70 additions and 71 deletions

View File

@ -3,7 +3,7 @@
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E"
alink="#FF0000">
<center>$Id: index.html,v 1.120 2003/02/18 18:48:17 freesource Exp $</center>
<center>$Id: index.html,v 1.121 2003/02/18 19:47:45 freesource Exp $</center>
<p>
@ -1734,7 +1734,7 @@ Usage: gbootroot [OPTION]...
<p>
<li> The if/elsif operator may be used to test for the existence of an
<li> 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

View File

@ -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) {

View File

@ -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

View File

@ -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,25 +213,24 @@ telinit
# Choose the *-nodevfs version if you don't want to use the device fs
# (devfs=nomount)
#
#
#===== SLACKWARE and SUSE use agetty:
\
if ( agetty )
/etc/inittab <= Replacements/etc/inittab.example-agetty-helper
/sbin/agetty
/etc/gettydefs
#
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
\
if ( mingetty )
elsif ( 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:
elsif ( agetty )
/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:

View File

@ -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.
#
#
#===== SLACKWARE and SUSE use agetty:
##\
##if ( agetty )
## /etc/inittab <= Replacements/etc/inittab.example-agetty-helper
## /sbin/agetty
## /etc/gettydefs
#
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
\
if ( mingetty )
##elsif ( mingetty )
/etc/inittab <= Replacements/etc/inittab.example-mingetty-helper
/sbin/mingetty
/etc/gettydefs
#
#===== SLACKWARE uses agetty:
elsif ( agetty )
/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