James,

I'm not advocating changing the behaviour of the build_initramfs script.
The script itself allows you to copy the PXE kernel to any location you
want: it asks for the "Location of TFTP directory". And the script
faithfully copies the PXE kernel to the location you specify (or
defaults to /tftpboot/lts).

However, regardless of where the PXE kernel is copied, the script
_output_ always says "Copying the PXE kernel to /tftpboot/lts". At best,
it is confusing; at worst, it won't alert the user that the PXE kernel
is being copied incorrectly.

My change just makes the script report what it's actually doing. I'm
changing an echo statement, not any script logic.

John



On Sat, 2006-10-21 at 08:57 +0800, [EMAIL PROTECTED] wrote:
> On Saturday 21 October 2006 03:04, [EMAIL PROTECTED] 
> wrote:
> > While we're on the subject of the build_initramfs script, I'd like to
> > suggest a small change.
> >
> > Part of the output of the script says:
> >
> > Copying the PXE kernel to /tftpboot/lts
> >
> > which really confused me as I had directed the kernel to be placed
> > somewhere else. Then I noticed that the location is hard-coded at line
> > 364:
> >
> > echo "Copying the PXE kernel to /tftpboot/lts"
> >
> > So, I would suggest changing that line to:
> >
> > echo "Copying the PXE kernel to ${TFTP_DIR}"
> >
> Some distros will not allow you to change it. EG RedHat last time I looked. 
> The -s flag notwithstanding. (tftp won't work unless right flags and right 
> place)
> I see no reason to change it and GOOD reason to not change it.
> What is your argument?
> James



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to