Changes between Version 5 and Version 6 of TraineesNotes


Ignore:
Timestamp:
01/31/13 17:48:54 (11 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TraineesNotes

    v5 v6  
    106106Also, the presence of some files (e.g. .install, .dirs) will trigger these operations or act as input for them.  TODO clarify this. 
    107107 
    108 stop at 36:00 
     108Example of debhelper utilities: 
     109- dh_ \[tab complete] 
     110- dh_install* 
     111- dh_install -- copy files into package -- cannot be renamed 
     112 -- .install files -- list directories without prefix (TODO: check that we need to and/or still should) 
     113 -- not difference for multiple binary packages 
     114- dh_installcron (cron.d, cron.hourly, etc) 
     115- dh_installinit (possible aside on init scripts, etc) 
     116 -- also calls update-rc.d to "install" init script, by modifying your maintainer script 
     117- dh_link (while simple, symlink policies) -- e.g. pine->alpine via alpine-config 
     118- dh_fixperms 
     119 
     120things that sanity-check the build process: 
     121e.g. dh_testroot 
     122 
     123features: 
     124- dh_shlibdeps  
     125- different from dpkg-shlibdeps because it will find all binaries for you 
     126 
     127 
     128DEBHELPER token in maintainer scripts (Lintian will warn if you miss it) 
     129 
     130Show example of /var/lib/dpkg/info/(maintainer script) vs actual maintainer script in source to demo debhelper-added snippets 
     131 
     132 
     133 == CDBS == 
     134 
     135common debian build system 
     136 
     137debhelper.mk - runs all the dh_foo things for you 
     138 
     139 
     140classes vs rules 
     141e.g. class = autotools, python, makefiles, apache ant, etc. 
     142     rules = how to do things (config-package, quilt, debhelper.mk) 
     143 
     144autotools.mk knows how to run configure, make make install, etc., but also knows to pass --prefix, etc. 
     145makefile.mk knows how to run make, make install 
     146 
     147read the .mk files to know what overrides are available. 
     148 
     149 == debathena development == 
     150 
     151Use dasource, because it deals with autogoo 
     152