/srv/irclogs.ubuntu.com/2009/05/13/#ubuntu-classroom.txt

=== nhandler_ is now known as nhandler
=== santiago-pgsql is now known as santiago-ve
=== foursixnine is now known as santiago-ve
jdbrownemaxb: yes, finally the steps are simple, "svn co svn://my-script" then "cd my-script", then "dpkg-buildpackage -r" to get a package. And the debian/rules is super short. I used dh_install and I wrote a debian/my-script.install file. Less than ten lines of code to generate a package.09:24
maxbYou don't need -r09:24
jdbrowneok, then I do not need dh_testroot either in the build. I am trying to understand whether I need dh_testdir, dh_testroot. The manpage explains what these command do while I do not know whether I should do it or not. Finally my debian/rules seems to work fine with only dh_clean in the clean target and only dh_{prep,install,gencontrol,builddeb} in the binary-indep target09:46
jdbrowneI thought the -r was mandatory for making root the owner of the files in the package. I wonder why the -r exists if dpkg-buildpackage can make the file own by root without the -r option. Maybe the -r is just to make it possible to change the default command to gain root.09:53
maxbjdbrowne: No, you should keep dh_testroot10:13
maxbYou don't need -r because dpkg-buildpackage uses fakeroot by default10:13
jdbrowneI have read the man of dh_testroot ("dh_testroot - ensure that a package is built as root") and the footnotes of the debian policy mentionning fakeroot (http://www.debian.org/doc/debian-policy/footnotes.html#f23) without understanding why it is important to use dh_testroot. Do you know the reason why I should use it?10:19
maxbYou should use it to verify that the package you're about to build will have proper owner/group/mode info set10:21
maxbIt's there as a safeguard to prevent an accidentally wrong invocation silently building a package with wrong permissions10:21
jdbrownesorry for insisting, which command or situation could lead to an accidental invocation building incorrectly the package? another tool than dpkg-buildpackage?10:36
DecepticonDuring the session, Kirkland invited participants to ssh into an Amazon EC2 instance with a shared screen session which he used to illustrate various screen-profiles capabilities11:17
Decepticoncan we do this, i want to see what this looks like11:17
oldman_ah13:00
oldman_was wondering why the lesson wasn't starting13:00
oldman_14th May, not 13th13:00
oldman_:/13:00
jdbrowneAre there solutions to install packages from a repository into the user's home bin? without modifying the system's dpkg database, just the user dpkg database.14:38
Mamarokjdbrowne: you should ask in @ubuntu, this is not a support channel14:58
jdbrowneok,14:59
Kuzmich79Привет всем16:53
=== e-jat is now known as b
=== b is now known as e-jat
=== mimir|on is now known as mimir|zZz
=== AntORG__ is now known as AntORG

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!