36b688d17a
Now I don't have to unpack (or loop mount) ISO to boot via HTTP. Also I can boot directly from any ALT mirror, like this: automatic=method:http,network:dhcp,server:mirror.yandex.ru,directory=/altlinux/images/p9/simply/aarch64/slinux-live-9.1.1-aarch64.iso Closes: #40710
48 lines
1.1 KiB
C
48 lines
1.1 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"
|
|
|
|
#define VERSION_FILE "/.VERSION"
|
|
#define RAMDISK_LOCATION "/"
|
|
#define IMAGE_LOCATION "/image"
|
|
#define STAGE2_LOCATION "/root"
|
|
#define LIVE_DEVICE "/dev/loop0"
|
|
#define LOMOUNT_DEVICE "/dev/loop3"
|
|
#define STAGE2FS "squashfs"
|
|
#define LIVEFS "squashfs"
|
|
#ifndef STAGE2_BINNAME
|
|
#define STAGE2_BINNAME "/sbin/init"
|
|
#endif
|
|
#define PROCSPLASH "/proc/splash"
|
|
|
|
/* 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
|