boot2.c need change or not.

From: Victor M. Blood <freebsd_at_masm.elcom.ru>
Date: Sun, 8 Feb 2009 00:01:32 +0300
Hi, All.

for my configuration with ntld realy need change of boot2.c file, may
be we can add option `BOOT_CONFIG_LINE' to kernel build instead of use
/boot.config ?

    /* Process configuration file */

    autoboot = 1;
#if (defined(BOOT_CONFIG_LINE))
        memcpy(cmd, BOOT_CONFIG_LINE, sizeof(BOOT_CONFIG_LINE));
#else
    if ((ino = lookup(PATH_CONFIG)))
        fsread(ino, cmd, sizeof(cmd));
#endif

-- 
With all regards, Victor M. Blood.     mailto: freebsd_at_masm.elcom.ru
FTN: 2:5024/1.95_at_Fidonet.org, ICQ#3567656
Received on Sat Feb 07 2009 - 20:09:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC