/srv/irclogs.ubuntu.com/2011/05/24/#upstart.txt

djszapiI guess, if I us upstart, I do not need the /etc/init.d/cups any longer, just starting it from an upstart apps job, right ?08:49
toabctlhow can i source a file (from /etc/default) in a upstart "script" section?10:40
djszapiWhere can I find the debian/rules-like for ubuntu/cups ?14:42
djszapiI would like to check out how they solve this package with upstart stuff.14:42
=== marrusl_ is now known as marrusl
JanCdjszapi: do you have an ubuntu system?17:25
JanCon an Ubuntu system you can do "apt-get source cups"17:28
JanCif you don't have Ubuntu, the source package is available in http://archive.ubuntu.com/ubuntu/pool/main/c/cups/  (you probably want the original tarbal & the diff)17:30
djszapihi Keybuk 18:09
Keybukhey18:09
Keybukhow's it going?18:09
djszapiI have a small issue as usual :)18:10
djszapiabout upstart and deb packaging...18:10
djszapihow about you ?18:10
KeybukI'm good18:10
djszapiexcellent =)18:10
KeybukI'm only my first cup of coffee, and I already know why CrOS comes up with "Unaccelerated graphics" after my CL18:10
Keybuktoday is going to be a good day, I can tell18:10
djszapicool, Keybuk, I do not understand one thing about upstart18:12
Keybukwhat is that one thing?18:13
djszapiwe use subfolders inside the /etc/init/ directory on maemo18:14
djszapiand not just jobs inside /etc/init/ directly.18:14
Keybuksure18:14
djszapiand debian/ubuntu developers keep telling me that it is odd18:14
djszapino idea why18:14
Keybukthey're wrong18:15
djszapihave you ever used cdbs style for debian package creation ?18:16
Keybuknot purposefully18:17
KeybukI've had to patch packages that use it, and that was painful enough18:17
djszapimmh, my fresh debian-devel ml question is not online yet, but you can find it here: http://paste.kde.org/74185/18:19
Keybukright, debhelper18:26
Keybukdh_installinit isn't anything to do with cdbs, except that cdbs happens to use it18:26
Keybukit's certainly a valid debhelper patch to support installing to sub-directories of /etc/init18:26
Keybukyou might have to be creative18:26
Keybuke.g. dh_installinit --name=apps!foo18:26
Keybukand have debian/cups.app!foo.upstart18:27
djszapinope read again18:27
djszapiI tried to set the18:27
djszapi"--onlyscripts" option18:27
djszapiso it should not install any init script/job with that and i could make a workaround from the postinst script without changing the packaging style18:32
Keybukyou don't want that option18:33
Keybukthat still installs the scripts18:33
Keybukyou want to not run dh_installinit18:33
djszapi       -o, --onlyscripts18:41
djszapi           Only modify postinst/postrm/prerm scripts, do not actually install any init script, default files, or upstart job.  May be useful if the init script or upstart job is shipped and/or installed by upstream in a18:41
djszapi           way that doesn't make it easy to let dh_installinit find it.18:41
djszapiKeybuk ^18:41
djszapifrom man dh_installinit18:42
Keybukthe doc is wrong18:42
KeybukI think18:42
djszapican that happen ?18:44
Keybukcan documentation be wrong?18:44
Keybuksure18:44
djszapiwell, it is worth to report it as soon as possible then.18:45
KeybukDebian is --> that way ;-)18:46
djszapiwhat way ?18:46
Keybuk--> that way18:47
djszapi??18:47
KeybukI just mean that the appropriate place to file that report is with Debian, not here18:47
djszapioh yeah, sure.18:48
djszapiare you also at the meego summit in San Francisco ? :D:D18:48
KeybukI shouldn't imagine so18:48
KeybukI don't have any vacation time left this year18:48
djszapiwell, cdbs is buggy18:49
djszapiDEB_DH_INSTALLINIT_ARGS = --name=nonexistent -> I have just tried out this advice, but I still get the /etc/init.d/cups and I do not know why18:50
Keybukno idea18:50
djszapiseems there is no way to avoid the debhelper usage.18:51
=== Md_ is now known as Md
SpamapSdjszapi: there's some planned work happening in Debian to make that you're struggling with a little easier.22:14
SpamapSKeybuk is probably right.. you will have to manually put your upstart job and init.d script in place until dh_installinit is modified.22:15

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