From owner-freebsd-stable Thu Oct 26 23:20:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-176-145.dsl.snfc21.pacbell.net [63.202.176.145]) by hub.freebsd.org (Postfix) with ESMTP id 5526E37B479 for ; Thu, 26 Oct 2000 23:20:21 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.0/8.11.1) with ESMTP id e9R6OQF00811; Thu, 26 Oct 2000 23:24:29 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200010270624.e9R6OQF00811@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Matt Dillon Cc: freebsd-stable@freebsd.org Subject: Re: Proposed small change to /usr/src/sys/boot/i386/loader/Makefile In-reply-to: Your message of "Thu, 26 Oct 2000 22:59:54 PDT." <200010270559.e9R5xsZ85008@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Oct 2000 23:24:26 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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