ltsp-update-kernels dies if you already have a PPC chroot tree installed

Bug #101927 reported by Jim McQuillan
2
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you run ltsp-update-kernels on a server that already has a PPC chroot installed (Like from the ltsp-5 tarballs from ltsp.org), the ltsp-udpate-kernels script fails, because it tries to create a symlink for the yaboot file. Well, it turns out you don't even need the symlinks. Chuck Liebow and I proved that you can boot PPC thin clients just fine without the yaboot symlinks.

If ltsp-update-kernels was running as a port of ltsp-build-client, the failure causes ltsp-build-client to also fail.

Here's the output:

Setting up linux-image-386 (2.6.20.13.10) ...
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/i386.sv
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/i386
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/ubuntu_6.10_i386
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/ubuntu_feisty_i386
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/ubuntu_6.10_ppc
ln: creating symbolic link `/var/lib/tftpboot/yaboot' to `/var/lib/tftpboot/ltsp//opt/ltsp/ubuntu_6.10_ppc/boot/yaboot': File exists
error: LTSP client installation ended abnormally

Revision history for this message
Jim McQuillan (jam-mcquil) wrote :

I've included a patch to remove the lines that try to create the yaboot symlinks.

The only thing this patch does is remove 11 lines of code. There's no new code being added.

Revision history for this message
Oliver Grawert (ogra) wrote :

ltsp (5.0.6) feisty; urgency=low
 .
...
   * fix yaboot linking in ltsp-update-kernels (closes LP #101927)

Changed in ltsp:
status: Unconfirmed → 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.