LTSP 5 and fedora 8

Since my involvement with Bijra High school project and working with ltsp , I am simply loving this thing . So i started playing with it . This is my first post .. more to come gradually .

Installation .

Ltsp 5 has still not being integrated to fedora. I downloaded the tarball of LTSP 5 from here .{http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-5.0/ltsp_ubuntu_6.10_i386-2.tar.bz2}

This made primarily for ubuntu 6.10 but it works with fedora.

In order to install

1) TFTP, DHCP, NFS and SSH server are needed

2) ltsp-update -kernels package is needed . it is found here .{http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-5.0/ltsp-update-kernels-2.tar.bz2}
This will copy the kernels from the ltsp tree to a place where your TFTP server can get them.

3) ltsp-update-sshkeys package is needed . It is found here
{ http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-5.0/ltsp-update-sshkeys-2.tar.bz2}

This simply sets up the ssh_known_hosts file to know about the server.

4) The compresses archive is needed to be unpacked in directory (/opt here ) .

5) unpack the other two packages and run the scripts.

6) NFS and DHCP are configured .

7) Things to take care of :-

a) making sure of /etc/exports file containing an entry for /opt/ltsp .
b) making sure to have the right filename and root-path entries to point to the right kernel and ltsp tree in /etc/dhcpd.conf

Advertisements

want entertaiment ??

Here is link where there is a complete list of top 21 blockbuster games for linux . Of which some are really really cool … see here

At last

At last after discussion with straw developers in #straw at irc.freenode.net , i am able to fix the problem .

I added a line so that constants.py which take care of installation dir. does not points to buildroot as it was doing before.

Found ‘/ c27950’ in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.19618 (%install)

This is because constants.py was pointing to
libdir = os.path.normpath('/var/tmp/straw-0.27-4-c27950/usr/lib/python2.5/site-packages/straw')
The line i added is

sed -i -e s@${RPM_BUILD_ROOT}@@ ${RPM_BUILD_ROOT}%{python_sitelib}/%{name}/constants.py

Now the constants.py points to
libdir = os.path.normpath('/usr/lib/python2.5/site-packages/straw')

Instead of previous var/tmp/straw-0.27-4-........................... as mentioned above.

Spec file along with SRPM and RPM are available here

Koji build status for straw 0.27 -1.

After number of failure koji build straw succesfully . Just modified the spec file in the %build section.The output is as follows :-

[subhodip@localhost SPECS]$ koji build –scratch dist-f8 /usr/src/redhat/SRPMS/straw-0.27-1.src.rpm
Uploading srpm: /usr/src/redhat/SRPMS/straw-0.27-1.src.rpm
[====================================] 100% 00:00:56 313.46 Kb 5.56 Kb/sec
Created task: 151310
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=151310
Watching tasks (this may be safely interrupted)…
151310 build (dist-f8, straw-0.27-1.src.rpm): open (xenbuilder4.fedora.phx.redhat.com)
151311 buildArch (straw-0.27-1.src.rpm, noarch): open (ppc4.fedora.phx.redhat.com)
151311 buildArch (straw-0.27-1.src.rpm, noarch): open (ppc4.fedora.phx.redhat.com) -> closed
0 free 1 open 1 done 0 failed
151310 build (dist-f8, straw-0.27-1.src.rpm): open (xenbuilder4.fedora.phx.redhat.com) -> closed
0 free 0 open 2 done 0 failed

151310 build (dist-f8, straw-0.27-1.src.rpm) completed successfully

See here for koji build log of straw 0.27 -1.

Straw 0.27-1 packaging for fedora.

Straw has been orphaned in fedora packaging . So did a rpm packaging of straw 0.27-1 , Please check here for files.

The “rpmlint -i filename” didn’t gave any error on noarch.rpm and a warning regarding indentation on src.rpm.

Hope it will be correct. Feedback welcomed.

Bugzilla bug number #276961