add $BASE to 035-update-kernels plugin

Bug #417127 reported by Wim Muskee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LTSP5
Fix Released
Low
Unassigned

Bug Description

When you install a client in a different base using ltsp-build-client, you have to run ltsp-update-kernels manually after the install with the --basedir argument. Better to call /usr/sbin/ltsp-update-kernels --basedir ${BASE} directly in the plugin.

This affects the plugin of multiple linux distributions.

Revision history for this message
Vagrant Cascadian (vagrantc) wrote :

i don't understand why this is necessary, as the BASE variable is exported by the ltsp-build-client script itself (not in the plugins) and ltsp-update-kernels appears to respect if BASE is set... if that's broken, i'd rather fix that than work around it.

Revision history for this message
Wim Muskee (wimmuskee) wrote :

You're right, using the --basedir option is not necessary. However in case of a TFTPDIR other than the defaults, you still have to perform ltsp-update-kernels manually as TFTPDIR is not an option for ltsp-build-client.

Revision history for this message
Stéphane Graber (stgraber) wrote :

So if I understand you well, that bug is about getting tftpdir as a parameter to ltsp-build-client so it passes it to ltsp-update-kernels, right ?

Changed in ltsp:
status: New → Fix Released
status: Fix Released → Triaged
importance: Undecided → Low
Revision history for this message
Wim Muskee (wimmuskee) wrote :

Yes, adding a patch to accomplish this. I can add it myself if that's ok, perhaps with some of the other ltsp-update-kernels parameters as well (copytftp and tftpbootdir).

Revision history for this message
Wim Muskee (wimmuskee) wrote :
Revision history for this message
Stéphane Graber (stgraber) wrote :

Fix has been commited to trunk.

Changed in ltsp:
status: Triaged → Fix Committed
Wim Muskee (wimmuskee)
Changed in ltsp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.