[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [lessdisks] Re: Some notes on the next generation LTSP (getting LTSP into Debian/main)

> >>If you have identified some specific areas where we could share code, that
> >>would be a good start.
> > 
> > 
> > main area is in the chroot installation (server/ltsp-build-client).
> > 
> > biggest problem is that everything is hard-coded.  petter proposed a
> > patch to change some of the values using commandline options, i think.
> > 
> > specificly, all of these should be configurable: ROOT, DIST, MIRROR, the
> > mirror components, the packages, kernel-img.conf options, what
> > additional scripts to run (ltsp-update-kernels, ltsp-update-sshkeys)
> > 
> > the lessdisks-install script from lessdisks has many comparable values,
> > and they are also configurable:
> > 
> > http://cvs.freegeek.org/cgi-bin/viewcvs.cgi/lessdisks/install/usr-sbin/lessdisks-install?rev=HEAD
> > 
> > lessdisks-install has considerably more complexity than
> > ltsp-build-client (for better and worse- the cold is old and crusty),
> > and i would like to consider writing a more generic chroot installation
> > tool.  it seems like it would be easier to adapt (or re-write)
> > lessdisks-install to be able to install ltsp than the other way around.

i changed two lines in lessdisks-install and added an example wrapper
script(largely a simplified ltsp-build-client with several pieces
removed) and configuration file to support installing the ltsp ubuntu
packages.  i am unable to test them as i do not have an ubuntu machine
to test on.

to try it out on an ubuntu machine (or at least a machine with a
debootstrap that supports breezy):

add to /etc/apt/sources.list:

# lessdisks cvs autobuilds
deb http://fg.lessdisks.net/ autobuild/

apt-get install lessdisks

cd /usr/share/doc/lessdisks/examples

./ltsp-install ./ltsp-install.conf

this should produce something similar to what ltsp-build-client creates
with the fanciness of an progress bar, support for debconf pre-seeding,
and a number of other features.

if we built debian packages that don't have dependencies outside of
debian, it would be even easier to make a wrapper script and custom
configuration file that would also work more easily on debian machines.
maybe i will work on that more, too.

> > and since lessdisks-install is in need of a re-write, i figure it might
> > be worth writing a generic chroot installation tool that can meet both
> > ltsp and lessdisks needs, and hopefully other chroot installations as
> > well.

i could try and split out the installation part of the scripts into a
separate package(or even source package), if it seems useful.

> > a big difference between the two scripts is that lessdisks-install
> > actually runs a significant portion of the install chrooted, to make it
> > less dependent on what exact version of lessdisks is installed on the
> > server and in the chroot.  

some of the functionality taken from ltsp-build-client in the
above-mentioned ltsp-install script is also similar to what the chrooted
lessdisks-terminal-install script handles, so there could be even more
room for sharing code if ltsp decided to go that route.
> Please move discussion to debian-custom instead. This topic does not
> sound that very specific to education...


live well, 

Attachment: signature.asc
Description: Digital signature

Reply to: