[yocto] do pkg_postinst() scripts need to start with "#!/bin/sh -e"?
    Robert P. J. Day 
    rpjday at crashcourse.ca
       
    Fri Jan  9 05:38:00 PST 2015
    
    
  
  more manual pedantry -- dev manual, section 5.3.16, suggests:
 A post-installation function has the following structure:
     pkg_postinst_PACKAGENAME() {
     #!/bin/sh -e
     # Commands to carry out
     }
except that every example of a pkg_postinst() script i've ever seen
does not contain that initial hash-bang line, so the manual should at
least be reworded to be consistent with the code base.
rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
    
    
More information about the yocto
mailing list