[Pkg-ltsp-devel] more ltsp-update-kernels fun

Vagrant Cascadian vagrant at freegeek.org
Thu Aug 17 19:07:41 UTC 2006


hey y'all, i've put a bunch of work into ltsp-update-kernels, much of
which is merged into the pkg-ltsp main branch(which will hopefully get
uploaded to debian today :). now, whenever a client installs a new
kernel, the client-side part of update-kernels is run.

with all this work on ltsp-update-kernels, i realized that we could
greatly simplify the code, putting almost all of it client-side (which
i've done some already), requiring almost no modifications
server-side(except possibly for yaboot), simply by symlinking
/var/lib/tftpboot/ltsp to /opt/ltsp, and configuring things (PXE,
kernel, etc.) to look in /var/lib/tftpboot/ltsp/ARCH/boot/

i've tested this with atftpd, and it seems to work(i think ubuntu uses
tftpd-hpa). i know some tftp servers or configurations don't allow
symlinking outside of the tftp dir, maybe bind mounting would work in
those cases. yaboot(for powerpc) needs to be in the top-level of the
tftp directory for some reason, so we'd have to handle that server-side,
though it's usually a one-time configuration.

doing it this way means that any time a chroot installs a new kernel,
the changes are automatically available, rather than having to run the
server-side ltsp-update-kernels script to propegate the changes to the
tftp directory.

thoughts?

live well,
  vagrant



More information about the Pkg-ltsp-devel mailing list