
######################################################
#
# BYLD: Build Your Linux Disk
# License: GPL2 (see LICENSE)
#
# (C) 1999-2000, Erich Roncarolo <erich@roncarolo.eu.org>
#

###################################################
#
# Environment: Configuration file used by scripts
#

#
# Each option in this file can be overwritten from command line simply
# specifing it as command parameter.
# Examples:
#  # ./BuildRoot DEBUG=2
#  # ./MakeImage ROOT_TEST=true
#  # ./WriteDisk CHECK_LILO=true FD_FORMAT=false
#

BYLDVER="BYLD 1.0.3 "


###################################################
#
# Define here the necessary files and directories
#

RD_KERNEL=./vmlinuz		# Kernel image

RD_LINUX=./linux		# Linux src dir

RD_MODULES=$RD_LINUX/modules	# Kernel modules

RD_ROOT=./root			# Root of distribution

RD_SOURCE=$RD_ROOT/*		# Distribution

RD_IMAGE=./Image.gz		# Root image (aka initrd image)


#
# Use absolute path in following variables
#

MNTDIR=/tmp/byld.mnt		# Where should the temporary fs be mounted ?

LOOPDEV=/dev/loop1		# Loop device which should be used

TMPFILE=/tmp/byld.tmp		# Tmpfile which should be used by scripts

TMPDIR=/tmp/byld.dir		# Tmpdir which should be used by scripts



#################################
#
# Define vars used by BuildRoot
#

CLEAN_BEFORE_BUILD=true		# If true clean RD_ROOT before build it

CONF_DIR=./conf			# Configuarion dir

PACK_DIR=./packages		# Packages dir

LOGFILE=./logfile		# The log file :-)

RM_LOG=true			# If true remove LOGFILE before build root



#################################
#
# Define vars used by MakeImage
#

RD_SIZE=4096			# Define here the size of the ramdisk (in kB)
				# Note: 100k of the rd should be left unused,
				#       so that you can use vi and other prgs
				#       which need space in /tmp

#CHK_BB=true			# If true check for the presence of BusyBox
				# in root distribution

ZIP=gzip			# You can use 'gzip' or 'bzip2', but you
				# should check suffix in RD_IMAGE
				# CURRENTLY ONLY GZIP WORKS!

ROOT_TEST=false			# Should be executed a test before make image?
				# Test consists in a "chrooted" tour in
				# BYLD ./root/


#################################
#
# Define vars used by WriteDisk
#

DEST_IMG=./byld.img		# This file is the image of a 1.44 floppy
				# that you can put on a real floppy dev with
				# dd or cat.

FD_FORMAT=true			# Does WriteDisk execute a low level 
				# floppy disk formatting?
				# If unsure, set "true".

FORMAT_UTIL=fdformat		# Maybe you want set this variable
				# to "superformat" because your distribution
				# use it.

# See also DISK_GEOMETRY_xxxx below to know which
# values you can use to set following variables.

DEST_DEV=/dev/fd0u1722		# Destination device to use. Comment if you
				# don't want write image on a device.
				# If you want, you can specify the format,
				# for example: /dev/fd0u1680
				# Set also MAXSIZE to the right value.

MAXSIZE=1722			# Max floppy image size (1k blocks)
				# If you want change this var, remember to
				# set also DEST_DEV to the right value.



#################################
#
# Define vars used by LILO
#

#
# Floppy disk geometry: BIOS Cylinders Sectors Heads
#
DISK_GEOMETRY_1440="BIOS=0x200 CYLINDERS=80 SECTORS=18 HEADS=2"
DISK_GEOMETRY_1600="BIOS=0x200 CYLINDERS=80 SECTORS=20 HEADS=2" # Works slow
DISK_GEOMETRY_1680="BIOS=0x200 CYLINDERS=80 SECTORS=21 HEADS=2"
DISK_GEOMETRY_1722="BIOS=0x200 CYLINDERS=82 SECTORS=21 HEADS=2"
DISK_GEOMETRY_1743="BIOS=0x200 CYLINDERS=83 SECTORS=21 HEADS=2"
DISK_GEOMETRY_1760="BIOS=0x200 CYLINDERS=80 SECTORS=22 HEADS=2" # Not tested
DISK_GEOMETRY_1840="BIOS=0x200 CYLINDERS=80 SECTORS=23 HEADS=2"	# Not tested
DISK_GEOMETRY_1920="BIOS=0x200 CYLINDERS=80 SECTORS=24 HEADS=2" # Not tested
DISK_GEOMETRY_2880="BIOS=0x200 CYLINDERS=80 SECTORS=36 HEADS=2" # Not tested
DISK_GEOMETRY_3200="BIOS=0x200 CYLINDERS=80 SECTORS=40 HEADS=2" # Not tested
DISK_GEOMETRY_3520="BIOS=0x200 CYLINDERS=80 SECTORS=44 HEADS=2" # Not tested
DISK_GEOMETRY_3840="BIOS=0x200 CYLINDERS=80 SECTORS=48 HEADS=2" # Not tested
DISK_GEOMETRY_2880="BIOS=0x200 CYLINDERS=80 SECTORS=36 HEADS=2" # Not tested

LILO_CONF=./lilo.conf		# LILO configuration file used to put LILO
				# on floppy

LILO_BOOT=/boot/boot.b		# LILO boot sector file used to put LILO
				# on floppy (set to your real boot.b)

LILO_MAP=map			# LILO map file (generated by LILO)

CHECK_LILO=false		# If true, then LILO_EDITOR is used to check
				# LILOCONF file

LILO_EDITOR=vi			# If CHECK_LILO is true, this editor is
				# called to check LILOCONF file.
				# Use your favorite editor.

