Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 23:24:26 -0700
From:      Mike Smith <msmith@mass.osd.bsdi.com>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Proposed small change to /usr/src/sys/boot/i386/loader/Makefile 
Message-ID:  <200010270624.e9R6OQF00811@mass.osd.bsdi.com>
In-Reply-To: Your message of "Thu, 26 Oct 2000 22:59:54 PDT." <200010270559.e9R5xsZ85008@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

No argument here.  There are "better" solutions, but they're all more 
work.

> I'd like to change this:
> 
> # Enable PXE TFTP or NFS support, not both.
> #CFLAGS+=        -DLOADER_TFTP_SUPPORT
> CFLAGS+=        -DLOADER_NFS_SUPPORT
> 
> To this:
> 
> # Enable PXE TFTP or NFS support, not both.
> .if defined(LOADER_TFTP_SUPPORT)
> CFLAGS+=        -DLOADER_TFTP_SUPPORT
> .else
> CFLAGS+=        -DLOADER_NFS_SUPPORT
> .endif
> 
> 
> This way I can force pxeboot to use TFTP rather then NFS simply by
> setting LOADER_TFTP_SUPPORT=YES in my /etc/make.conf.  The problem I
> am facing with the default pxeboot is that I can't seem to get it
> to work with a BOOTP kernel whos image is located somewhere other
> then the NFS root.  That is, it tries to load NFSROOT:/kernel (which
> is the server's kernel, not the diskless client's kernel) when
> I really want it to load /tftpboot/kernel and then mount NFSROOT:/.
> 
> The default is still to compile up the NFS version of pxeboot.  This
> mod simply allows one to add a make.conf variable to get buildworld
> to compile the other version of pxeboot.
> 
> Any objections to committing this for the 4.x release?
> 
> 					-Matt
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270624.e9R6OQF00811>