pkgsrc-wip/lilo/patches/patch-ab
Jeremy C. Reed 85dba889e8 LILO is the Linux boot loader. It includes combined boot sector,
generic chain loader, map installer, and a simple boot partition setter.
LILO allows booting from multiple disks, and can have menus for choosing
different boot images. LILO is also able to pass command-line options
to the Linux kernel.

LILO does not depend on a specific file system, can boot Linux kernel
images from floppy disks and from hard disks, and can even act as a
"boot manager" for other operating systems.

(I have been using this in pkgsrc since November, 2002.)
2003-10-01 02:35:00 +00:00

15 lines
800 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2003/10/01 02:35:00 jeremy-c-reed Exp $
--- config.h.orig Sun Jun 9 19:17:32 2002
+++ config.h Fri Nov 1 20:38:35 2002
@@ -27,8 +27,8 @@
#define DFL_CHAIN LILO_DIR "/chain.b" /* default chain loader */
#define DFL_MBR LILO_DIR "/mbr.b" /* default MBR */
#else
-#define CFG_DIR "/etc" /* location of configuration files */
-#define BOOT_DIR "/boot" /* location of boot files */
+#define CFG_DIR "@@PKG_SYSCONFDIR@@" /* location of configuration files */
+#define BOOT_DIR "@@PREFIX@@/boot" /* location of boot files */
#define BACKUP_DIR BOOT_DIR /* boot sector and partition table backups */
#define DFL_CONFIG CFG_DIR "/lilo.conf"/* default configuration file */
#define DFL_DISKTAB CFG_DIR "/disktab" /* LILO's disk parameter table */