59b435ddcc
now resides at installation tree root and named as altinst. If altinst is directory, then just mound --bind used. This can be used in nfsroot env.
58 lines
1.5 KiB
C
58 lines
1.5 KiB
C
/*
|
|
* Guillaume Cottenceau (gc@mandrakesoft.com)
|
|
*
|
|
* Copyright 2000 MandrakeSoft
|
|
*
|
|
* This software may be freely redistributed under the terms of the GNU
|
|
* public license.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef _CONFIG_STAGE1_H_
|
|
#define _CONFIG_STAGE1_H_
|
|
|
|
#define _GNU_SOURCE 1
|
|
#include "version.h"
|
|
|
|
/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
|
|
#define MEM_LIMIT_RAMDISK 150
|
|
|
|
/* If we have more than that amount of memory (in Mbytes), we assume we can load the rescue as a ramdisk */
|
|
#define MEM_LIMIT_RESCUE 56
|
|
|
|
// #define DISTRIB_NAME "ALT Linux Junior 2.2"
|
|
|
|
#define RAMDISK_COMPRESSION_RATIO 1.95
|
|
|
|
#define VERSION_FILE "/.VERSION"
|
|
#define RAMDISK_LOCATION "/"
|
|
#define IMAGE_LOCATION "/image"
|
|
#define STAGE2_LOCATION "/root"
|
|
#define LIVE_DEVICE "/dev/cloop"
|
|
#define STAGE2FS "romfs"
|
|
#define LIVEFS "ext2"
|
|
#ifndef STAGE2_BINNAME
|
|
#define STAGE2_BINNAME "/sbin/init"
|
|
#endif
|
|
#define insmod_compressed() { my_insmod("zlib_inflate", ANY_DRIVER_TYPE, NULL); my_insmod("cloop", ANY_DRIVER_TYPE, NULL); }
|
|
|
|
|
|
/* user-definable (in Makefile): DISABLE_NETWORK, DISABLE_DISK, DISABLE_CDROM, DISABLE_PCMCIA */
|
|
|
|
|
|
/* some factorizing for disabling more features */
|
|
|
|
#ifdef DISABLE_DISK
|
|
#ifdef DISABLE_CDROM
|
|
#ifdef DISABLE_LIVE
|
|
#define DISABLE_MEDIAS
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|