1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
# -*- Mode: Perl -*-
#
# $Id: Config.pl.in,v 1.1.1.1 1998/02/21 11:40:03 fawcett Exp $
# CONFIG.PL - Configuration options for Yard.
#
# Tailor these for your system.
# These variables have to be in Perl syntax, which is simply:
#
# $var = value;
# or
# @array = (value1, value2, ..., valueN);
#
#
##############################################################################
package CFG;
# $verbosity: 1 or 0
#
# This controls only what is printed to the screen.
# 0 --> only the important messages.
# 1 --> all messages.
# All messages will be written to the log file regardless of the setting.
#
$verbosity = 0;
# $floppy: string (device name)
# $floppy_capacity: integer (kilobytes)
#
# The floppy device where the rescue disk will be written and its
# capacity. Make sure the two agree. If $floppy is a non-standard
# size (eg, 1722K), make sure to use the complete name (eg, /dev/fd0H1722).
#
$floppy = "/dev/fd0";
$floppy_capacity = 1440; # KB
# $disk_set: string (one of "single", "double" or "base+extra")
#
# single: Both the kernel and entire compressed root filesystem will
# be put on one disk.
#
# double: The kernel will be put on the first disk and the compressed
# root fs will be put on the second.
#
# base+extra: THIS OPTION NOT YET IMPLEMENTED. The first disk will
# contain the kernel plus a base set of files (enough to boot and run
# tar). The second disk will contain the remaining files.
#
$disk_set = "double";
# $mount_point: string (directory name)
#
# A directory to be used as a mount point. This is where the root
# filesystem will be mounted during creation and where the floppy
# will be mounted when the rescue disk is being written.
# This directory must exist when the Yard scripts are run.
#
$mount_point = "/media/floppy";
# $device: string (device name)
#
# The device for building the filesystem. This can be /dev/ram0 or a
# spare partition. You can turn off swapping temporarily and use the
# swap partition on your hard disk. You can use a loopback device if
# your kernel supports them -- see the section "Using a Loopback
# Device" in the Yard documentation for instructions.
# It should not be a symbolic link.
#
# MSS don't use the default of 0 because that is what the kernel uses when it boots with a Yard bootdisk.
# If you put ram0 here, boot with Yard, and run make_root_fs, you overwrite your root filesystem.
#$device = "/dev/ram0";
$device = "/dev/ram9";
# $fs_size: integer (kilobytes)
#
# The size limit of $device, in Kbytes. For most devices, Yard can
# check this value against the available space.
#
$fs_size = 8192; # KB
# $kernel: string (filename)
#
# The absolute filename of the compressed kernel to be put on the
# rescue disk. This should be the COMPRESSED kernel. This is
# usually something like /vmlinuz, /zImage or /boot/zImage. If
# you've just remade your kernel (via "make zImage") the kernel file
# will reside in /usr/src/linux/arch/i386/boot/zImage
#
$kernel = "/vmlinuz";
# $kernel_version: string (version string)
#
# make_root_fs will examine $kernel and try to determine its version.
# If Yard guesses incorrectly, or you want to force it anyway, set
# $kernel_version here. The value should be a version string such as
# that returned by "uname -r".
#
#$kernel_version = "2.2.15";
# $contents_file: string (filename)
#
# The file specifying the bootdisk contents specification file.
#
$contents_file = "@config_dest@/Bootdisk_Contents";
# $rootfsz: string (filename)
# The file that will temporarily hold the compressed root filesystem
#
$rootfsz = "/tmp/root.gz";
# $oldroot: absolute directory name
#
# Where the old (hard disk) root filesystem will be mounted on the
# ramdisk filesystem. create_fstab uses this to adapt your
# /etc/fstab for use on the rescue disk so you'll be able to mount
# hard disk partitions more easily. You shouldn't need to change
# this, but run create_fstab.pl again if you do.
#
$oldroot = "/OLDROOT";
# $strip_objfiles: 0 or 1
#
# If set to 1, binary executables and libraries will be stripped
# of their debugging symbols (using objcopy) as they're copied to the
# root filesystem. This may reduce their size somewhat. If you don't
# understand what this means, leave it at 1. If you're sure you
# don't have objcopy, or for some reason you want debugging symbols,
# set it to 0.
#
$strip_objfiles = 1;
# $yard_temp: string (directory name)
#
# If non-null, specifies directory where .log and .ls files will be
# written. If null, log files will be written to current working
# directory.
#
$yard_temp = "/var/log/yard";
# $use_lilo: 1 or 0
#
# Whether to use Lilo for transferring the kernel to the boot disk.
# 1 => Yard will use Lilo to boot the kernel. The configuration file is
# created when you invoke "make", and ends up
# in /etc/yard/Replacements/etc/lilo.conf. This option
# allows you to use Lilo's APPEND clause and various other Lilo
# options.
#
# 0 => Yard will copy the kernel directly to the rescue disk.
#
$use_lilo = 1;
# @additional_dirs: array of directory names
#
# Any additional directories (besides those in $PATH) to be searched
# for rescue disk files. Directories inside the list must be
# separated by commas. You don't need a trailing slash on these
# directory names. NB. Any directories you list here will be
# searched BEFORE those in $PATH.
#
@additional_dirs = ( "/etc/fs",
"/etc/rc.d"
);
1;###################### End of Config.pl, put nothing below this line.
|