| friedhelm | Hmm... added dh-runit to the control-file. Added a <packet>.runit and a run file to the debian dir. It gets installed, but not executed. Can't see dh_runit in the build file. I'm using pbuilder/cobuilder. What am I missing? | 12:49 |
|---|---|---|
| rrq | doesn't in need to be used in the d/rules file as well? | 13:51 |
| friedhelm | I tried to put dh $@ --with dh_runit into the control file, but then it aborts with "dh: error: unable to load addon dh-runit: Can't locate Debian/Debhelper/Sequence/dh_runit.pm in @INC". | 13:56 |
| friedhelm | I even tried with installing dh-runit into the build envirenment. Dosn't work either. | 13:58 |
| friedhelm | If I go by the manpage, then it should be picked up by debhelper without doing anything additional. | 14:00 |
| friedhelm | Is there a perl module, that needs to be installed? | 14:01 |
| rrq | I know to little about debhelper, but I'd agree that it should get invoked automagically.; it's not shown from "dh binary --no-act" ? | 14:13 |
| friedhelm | Thank you for trying! All I wanted to do is add a runit script to a package. No urgend problem! I'll find out someday. ;-) | 14:18 |
| friedhelm | Ah... Finaly found the problem. 1. you have to install the addon not only into the chroot but also onto your build system! | 16:48 |
| friedhelm | 2. the dh-runit packet puts a file called "runit.pm" into "usr/share/perl5/Debian/Debheper/Sequence". According to the Debhelper Documentation it's supposed to be named dh_runit.pm. | 16:50 |
| friedhelm | So you have to put "dh $@ --with runit" into your rules file. NOT "dh $@ --with dh_runit". | 16:52 |
| friedhelm | Took me about six hours to find this out. :-( | 16:53 |
| friedhelm | At least this may help others having the same problem. Thanks for your help! | 16:54 |
| bgstack15 | friedhelm: I like to use https://codesearch.debian.net/ to help me search for examples of syntax in debian/ directories. Chances are you're not the first to want to use this "--with runit" and maybe a regex search could help you find it, for next time. | 17:14 |
| friedhelm | Did't know about codesearch. Thank you. Good tip! | 17:43 |
| friedhelm | b.t.w. the dh-runit packet does exactly what I was looking for! Glad I got it to work. | 17:45 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!