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}"


Hope that helps,

John P. New
London, Ontario, Canada


On Thu, 2006-10-19 at 21:06 -0500, Todd Shoemaker wrote:
> Jim-
> 
> When I built a custom kernel and provided my own custom label in the 
> kernel config (e.g. -ts-amd64-smp), the build_initramfs did not add this 
> information to the modules directory, so it would fail to build the 
> initramfs.  I fixed it by adding the following line around line 166 and 
> editing the KERNEL_VER variable:
> 
> eval `grep "^CONFIG_LOCALVERSION" ${KERNEL_SRC}/.config`
> 
> KERNEL_VER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}${CONFIG_LOCALVERSION}
> 
> This made it work.  I don't know if this is the same problem that Jens 
> is having, but it could help others.  I think the local version is a 
> newer variable that is kept in .config, whereas the other extraversion 
> used to be in another file, IIRC.
> 
> -Todd



-------------------------------------------------------------------------
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