broder | tumbleweed: do we have a helper function in ubuntutools yet for "what version of $foo is current across all pockets in $release"? | 00:29 |
---|---|---|
broder | ooh, there is. sweet | 00:31 |
tumbleweed | :) | 00:31 |
pdtpatrick | Question - would someone please explain/help me with .deb packaging. I'm using deb helper and i've gone through the PackagingGuide.pdf -- and i still cannot understand how you move files around. For instance, if i want the .deb file when installed to have files in /etc/ and then /home/user/.filename .. where/how do i do that ? would this be the dh_installdeb helper script ? | 00:50 |
soren | pdtpatrick: You can't generally ship files in /home. | 00:50 |
soren | pdtpatrick: ...because you don't know at the time you build the package what the users on the system are called. | 00:51 |
pdtpatrick | soren: okay let's say i make a package and i want to dump them around for instance, in /etc or maybe /data | 00:51 |
soren | pdtpatrick: I'm supposing you'll elaborate? | 00:53 |
soren | pdtpatrick: Otherwise, my answer will be equally (un-)specific: Use the mv command. | 00:54 |
pdtpatrick | Let's assume i've created a shell script that allows admins to type "sstat" and it displays something like: http://cl.ly/1U0Z0a0R2e341z1f0c03 | 00:55 |
pdtpatrick | soren: and i'd like that script deployed in /usr/local/sbin when the package is installed | 00:55 |
soren | pdtpatrick: Why? | 00:56 |
pdtpatrick | I'm just trying to learn how to do - it has also confused me on how to accomplish that | 00:56 |
pdtpatrick | soren: for instance, i'll install an asterisk package and it creates /etc with all the configs and such. I'd like to know how to do something like that | 00:56 |
soren | pdtpatrick: Then ask about that :) | 00:57 |
pdtpatrick | soren: sorry- would u please help with that :) | 00:57 |
soren | pdtpatrick: Don't ask how to put stuff in /usr/local/bin if you really want to put things in /etc. | 00:57 |
soren | Packaging tools will likely (and should) shout and scream if you try to put things in /usr/local. | 00:57 |
pdtpatrick | fair enough. Is this something u could explain/help with ? | 00:57 |
soren | Not with this little detail. Most things we package install things in etc themselves and the packaging magic just leaves it there. | 00:58 |
soren | So to figure out why that doesn't work for you... We need more detail. | 00:58 |
tumbleweed | if you don't have any kind of build system for the upstream package, it's fairly easy to install things with dh_install (see its manpage) | 00:59 |
pdtpatrick | for instance, i was learning by following the guide | 00:59 |
pdtpatrick | http://cl.ly/27142Z260M3w1F1y3q12 | 00:59 |
pdtpatrick | but now i'd like for testing purposes to have it put something /etc/<dirname>/filename | 01:00 |
pdtpatrick | i don't know how to accomplish that | 01:01 |
soren | pdtpatrick: Yeah, what tumbleweed said ^ | 01:01 |
pdtpatrick | tumbleweed: is there an example you can share please | 01:02 |
tumbleweed | pdtpatrick: "foo.cfg /etc" in debian/install | 01:03 |
pdtpatrick | and foo.cfg would be in debian/ right ? | 01:04 |
tumbleweed | no | 01:04 |
tumbleweed | I quote from the manpage: The name of the files (or directories) to install should be given relative to the current directory | 01:05 |
pdtpatrick | was just reading that. Thanks | 01:05 |
=== ara is now known as Guest66847 | ||
Laney | Packaging branch status: CURRENT | 01:26 |
Laney | is there anything sweeter? | 01:26 |
tumbleweed | debdiffs? :) | 01:27 |
Laney | i might agree with you, depending on how well bzr handles this merge | 01:27 |
Laney | (emacs23) :( | 01:28 |
Laney | although trying to bzr branch on crappy airport wifi … | 01:29 |
* Laney should get barry to do it as TIL :P | 01:31 | |
broder | committer: Evan Broder <evan@caron.(null)> > uuuugh | 01:32 |
broder | i hate having to re-do this for every vcs | 01:32 |
broder | can i...do some sort of rebase to fix that? | 01:33 |
broder | tumbleweed: around to do a u-d-t review? (will timeout in a minute or so and open a mp) | 01:35 |
* Laney NFI | 01:35 | |
tumbleweed | broder: in the bar | 01:35 |
* broder heads that way | 01:35 | |
Laney | I assume you have an .$SHELLrc; you might want to make that set BZR_EMAIL | 01:36 |
broder | Laney: equally easy to run bzr whoami 'Evan Broder <evan@ebroder.net>' | 01:36 |
broder | there would be no difference if i actually had a sane dotfile management system | 01:37 |
Laney | equally easy to forget you mean? ;) | 01:37 |
Laney | I assume one dotfile you don't forget is that one | 01:37 |
broder | i don't really have any dotfile htat's on all my machines | 01:37 |
Laney | fair | 01:38 |
* Laney makes a mental note to digest http://vcs-home.branchable.com/ at some point | 01:38 | |
Laney | 100mb to branch emacs23 so far ... | 01:41 |
* Laney reflects that this would have taken 33⅓ hours on his first internet connection | 01:43 | |
pdtpatrick | Question - i've got a setup like this: http://pastie.org/private/y6dsewj2lnbeamylrzg | 05:12 |
pdtpatrick | i would like the helloworld.py to get copied to /tmp on the filesystem when the .deb is installed | 05:12 |
pdtpatrick | however i seem to be doing it wrong | 05:12 |
pdtpatrick | I keep getting the following error after running "pbuilder create " | 05:16 |
pdtpatrick | http://pastie.org/pastes | 05:17 |
cody-somerville | pdtpatrick, You need to link to the specific paste. | 05:18 |
pdtpatrick | cody-somerville: http://pastie.org/3898537 | 05:19 |
pdtpatrick | cody-somerville: here's a structure of my source | 05:20 |
pdtpatrick | http://pastie.org/private/y6dsewj2lnbeamylrzg | 05:20 |
cody-somerville | pdtpatrick, I need the full log including the command you executed. | 05:20 |
pdtpatrick | ok | 05:20 |
pdtpatrick | cody-somerville: http://pastie.org/private/hzuppi2mblgihjm27codfa | 05:22 |
pdtpatrick | cody-somerville: I'm using the default rules file. | 05:28 |
pdtpatrick | http://pastie.org/3898563 | 05:28 |
=== ripps_ is now known as ripps | ||
pdtpatrick | well after some battles - finally figured it out by reading: | 06:15 |
pdtpatrick | http://static.debian-handbook.info/browse/stable/sect.becoming-package-maintainer.html#idp12507752 | 06:15 |
=== pi-rho is now known as pi-rho|away | ||
=== yofel_ is now known as yofel | ||
=== Zic is now known as Guest33267 | ||
=== Guest33267 is now known as Zic | ||
PaoloRotolo | Hi all! | 16:14 |
=== fabo_ is now known as fabo | ||
=== pi-rho|away is now known as pi-rho | ||
=== wylde_ is now known as wylde | ||
=== almaisan-away is now known as al-maisan | ||
=== al-maisan is now known as almaisan-away | ||
=== almaisan-away is now known as al-maisan | ||
=== al-maisan is now known as almaisan-away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!