[Pkg-ltsp-devel] New proposed design

Gustavo Franco gustavorfranco at gmail.com
Wed May 17 13:49:23 UTC 2006


On 5/17/06, Otavio Salvador <otavio at debian.org> wrote:
> Hello folks,
>
> As you're probably informated, Vagrant and I started to rewrote the
> hole LTSP stuff and we began from ltsp-build-client. It's far from
> perfect but works most of time.
>
> I puted a branch in:
> http://pkg-ltsp.alioth.debian.org/bzr/refactoring/

Hi,

I've started testing your changes. Btw, the design is really good and
almost the same that i thought and described to ogra as 'profiles' and
not 'plugins', but plugins seems to be a better name.

I think we could split each subdirectory in 'plugins/' in a deb
binary. That's what you thought too? I've some more stuff in mind, see
below:

ltsp-ubuntu provides, replaces and conflicts with ltsp-profile
ltsp-debian provides, replaces and conflicts with ltsp-profile

Debian:
ltsp-server depends on ltsp-common, ltsp-debian

Ubuntu:
ltsp-server depends on ltsp-common, ltsp-ubuntu

CDD:
ltsp-server depends on ltsp-common, ltsp-profile (or ltsp-projectname)

This is the same idea as for 'mail-transport-agent' (e.g: postfix,
exim), but needs cleanup i just did a braindump. I would like to point
out that 'distribution name' is a different plugin that we could call
'profiles'. The others plugins (e.g: ltsp-localapps) should be the
same for each profile and the specifics changes needed handled by the
profile itself. I dunno about the plugin loading order 'common,
plugins and after that debian|ubuntu', or what ?

Closing, i've found a minor bug:

$ sh ltsp-build-client
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
run-parts: failed to open directory /usr/share/ltsp/plugins/common: No
such file or directory
info: LTSP client installation completed successfully

I think we should check the run-parts return code in load_modules, no?

Good stuff, i wish i was there.

regards,
-- stratus



More information about the Pkg-ltsp-devel mailing list