2004-01-20 21:32:43 +03:00
/*
* 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 0213 9 , USA .
*
*/
# ifndef _CONFIG_STAGE1_H_
# define _CONFIG_STAGE1_H_
# define _GNU_SOURCE 1
2004-04-13 00:49:45 +04:00
# include "version.h"
2004-01-20 21:32:43 +03:00
/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
2005-03-02 23:12:09 +03:00
# define MEM_LIMIT_RAMDISK 124
2004-01-20 21:32:43 +03:00
/* 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
2004-11-22 16:47:29 +03:00
# define VERSION_FILE " / .VERSION"
2005-02-02 22:26:15 +03:00
# define RAMDISK_LOCATION " / "
2004-12-07 17:37:32 +03:00
# define IMAGE_LOCATION " / image"
2004-11-30 19:11:41 +03:00
# define STAGE2_LOCATION " / root"
2005-04-12 23:32:01 +04:00
# define LIVE_DEVICE " / dev / loop0"
# define STAGE2FS "squashfs"
# define LIVEFS "squashfs"
2005-01-19 16:31:08 +03:00
# ifndef STAGE2_BINNAME
2005-01-20 16:11:44 +03:00
# define STAGE2_BINNAME " / sbin / init"
2005-01-19 16:31:08 +03:00
# endif
2005-04-21 15:06:44 +04:00
# define PROCSPLASH " / proc / splash"
2004-01-20 21:32:43 +03:00
/* user-definable (in Makefile): DISABLE_NETWORK, DISABLE_DISK, DISABLE_CDROM, DISABLE_PCMCIA */
/* some factorizing for disabling more features */
# ifdef DISABLE_DISK
# ifdef DISABLE_CDROM
2004-11-25 00:44:32 +03:00
# ifdef DISABLE_LIVE
2004-01-20 21:32:43 +03:00
# define DISABLE_MEDIAS
# endif
# endif
2004-11-25 00:44:32 +03:00
# endif
2004-01-20 21:32:43 +03:00
# endif