Changes between Version 3 and Version 4 of ConfigPackageDev


Ignore:
Timestamp:
03/21/13 12:52:44 (11 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigPackageDev

    v3 v4  
    22 
    33 
    4 A brief discussion of the debconf-hack feature: 
     4== NOTES == 
     5 
     6You're not support to divert Upstart scripts [http://upstart.ubuntu.com/cookbook/#symbolic-links-don-t-work-in-etc-init] because symlinks aren't supposed to work.  In reality, they do work, they just break inotify.   The end result is that depending on how the file is moved out of the way, upstart may notice and decide to disable the job.  In reality, so far it seems to work, but this snippet in the postinst (AFTER the #DEBHELPER# tag, so it runs after c-p-d) should DTRT: 
     7 
     8 
     9{{{ 
     10        if ! status lightdm >/dev/null 2>&1; then 
     11            # I hope this doesn't break the world. 
     12            initctl reload-configuration 
     13        fi 
     14}}} 
     15 
     16== A brief discussion of the debconf-hack feature == 
    517 
    618Primarily developed for zephyr-config to workaround the bug where you choose to use Hesiod (or have DEBIAN_FRONTEND=noninteractive), it pulls in an unconfigured Hesiod, tries to restart zhm, which can't contact any zephyr servers, and exits non-zero, so the postinst fails.