Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Edubuntu Development (http://www.linux-archive.org/edubuntu-development/)
-   -   Could someone outline the steps to recompile ltspfs with patch? (http://www.linux-archive.org/edubuntu-development/479009-could-someone-outline-steps-recompile-ltspfs-patch.html)

john 01-20-2011 03:56 PM

Could someone outline the steps to recompile ltspfs with patch?
 
Hi all,

I am running the AMD64 bit version of Ubuntu 10.04 LTS. There is a
known bug in ltspfs that prevents users from mounting
their USB thumb drives on their desktops
https://bugs.launchpad.net/ltsp/+bug/415952
The current work around seems to have 64 bit clients use 32 bit
images, although a patch has been submitted for review.

I am not a programmer, but I am interested in learning more about the
care and feeding of my systems.
I'd like to apply the patch from the bug report but I am not clear on
how I should go about doing that (for ex: Is the patch applied inside
the chroot or outside?)

I was hoping someone might briefly outline the steps I should take (or
point me to a howto) to recompile ltspfs with the patch submitted on
this bug report and try it out.

Thanks!

John

--
edubuntu-devel mailing list
edubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel

Scott Howard 01-20-2011 06:23 PM

Could someone outline the steps to recompile ltspfs with patch?
 
On Thu, Jan 20, 2011 at 11:56 AM, john <lists.john@gmail.com> wrote:
> I was hoping someone might briefly outline the steps I should take (or
> point me to a howto) to recompile ltspfs with the patch submitted on
> this bug report and try it out.


For complete instructions see:
https://wiki.ubuntu.com/PackagingGuide/Complete
https://wiki.ubuntu.com/PackagingGuide/PatchSystems

Quick general instructions for simply applying a patch you find on launchapd:

1) make a new directory
2) in that directory download the source files (e.g. "apt-get source
{package_name}" no sudo is needed)
3) unpack the source code (e.g. "dpkg-source -x foo_1.0-1.dsc")
4) cd into the new directory
5) apply the patch (use "man patch" to get help, most likely it will
be something like "patch -p1 {path_to_your_patch}")
6) build the package (e.g."debuild")
7) install the new binary package (cd to wherever it was built, most
likely it will be "cd .." and then run "dpkg -i {packagename}.deb
{packagename2}.deb ...")

done!

For "real-time" help, hop onto #ubuntu-dev on freenode IRC.

As an alternative to 2, you can grab the bzr branch (command: "bzr
branch lp:ubuntu/natty/{packagename}"), but that might be more
complicated if you're not familiar with bzr. A similar process is used
to generate a patch too, but instead of "patch" you use the command
"diff"

Regards,
Scott

--
edubuntu-devel mailing list
edubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel


All times are GMT. The time now is 06:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.